Re: [prometheus-users] Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
everything with the corresponding team label. The *official* recommendation would be to create aggregation rules in the "team" prometheus, and federate that from the "company" prometheus, right? On Wednesday, 1 April 2020 21:42:20 UTC+2, Brian Brazil wrote: > > On Wed,

[prometheus-users] Re: Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
For the records, it looks like there's a third option: - honor_timestamps -> false (fake ilusion of real time metric) On Wednesday, 1 April 2020 21:11:29 UTC+2, Albert Serrallé wrote: > > Hello, > > I'm trying to figure out how to federate my cloudwatch_exporter

[prometheus-users] Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
Hello, I'm trying to figure out how to federate my cloudwatch_exporter metrics. The default metrics are 10m old, I understand that this is needed because cloudwatch consolidate metrics over time. My prometheus is scraping the exporter and saving the values with the original timestamp. Federati

Re: [prometheus-users] cloudwatch_exporter - Minimum calls per unit of time and resource

2020-03-06 Thread Albert Serrallé Ríos
ri, 6 Mar 2020 at 08:30, Albert Serrallé Ríos > wrote: > >> To make things easier, I've just removed everything except for one metric: >> >> region: us-east-1metrics: >> - aws_namespace: AWS/CloudFront >> aws_metric_name: Requests >> aws_statis

Re: [prometheus-users] cloudwatch_exporter - Minimum calls per unit of time and resource

2020-03-06 Thread Albert Serrallé Ríos
distributions* in that environment. Thanks for helping out on this, Brian. On Friday, March 6, 2020 at 1:52:02 AM UTC+1, Brian Brazil wrote: > > On Thu, 5 Mar 2020 at 19:37, Albert Serrallé Ríos > wrote: > >> I have 11 metrics configured, and my metrics show 100/105 ListMe

Re: [prometheus-users] cloudwatch_exporter - Minimum calls per unit of time and resource

2020-03-05 Thread Albert Serrallé Ríos
is is reduced by 1/3 aprox) but in a way that is not obvious to me. Also, the number of ListMetrics calls seems unecessarily high... On Thursday, March 5, 2020 at 8:21:44 PM UTC+1, Brian Brazil wrote: > > On Thu, 5 Mar 2020 at 19:10, Albert Serrallé Ríos > wrote: > >> Hello, &

[prometheus-users] cloudwatch_exporter - Minimum calls per unit of time and resource

2020-03-05 Thread Albert Serrallé Ríos
Hello, I've raised the scrape_interval to 30m and I've noticed that there's a minimum amount of calls that, no matter the value for scrape_interval, will be executed. Is there any theoretical minimum of GetMetricStatistics and ListMetrics calls? Could that be configured or is it "hardcoded"