Those are different I guess. I am trying to figure out the offsets that I would pass in the metric query when setting an alert in the alertmanager.
On Saturday, 16 May 2020 06:46:08 UTC+2, Sally Lehman wrote: > > It looks like Cloudwatch specifies that they send new metrics over at 5m > or 1m intervals. > https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html > > > The doc you linked mentions that the exporter checks every 10m by default. > It looks like that is set here in > src/main/java/io/prometheus/cloudwatch/CloudWatchCollector.java > 148: int defaultRange = 600; > 152: int defaultDelay = 600; > > On Thursday, May 14, 2020 at 4:12:42 AM UTC-7, snedi wrote: >> >> In the Readme it is mentioned about the Timestamps: >> >> >> In practice this means that if you evaluate an instant vector at the >> current time, you will not see data from CloudWatch. An expression such as >> aws_elb_request_count_sum offset 10m will allow you to access the data, and >> should be used in recording rules and alerts. >> >> >> https://github.com/prometheus/cloudwatch_exporter#timestamps >> >> >> It is not clear if it is enough to choose any offset that just allows to >> fetch the values and see them in the query response or this offset should >> somehow be calculated based on some other parameters or data from >> CloudWatch? >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/02ca9fa8-105c-4700-bcb1-f4266ce6cda9%40googlegroups.com.

