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/f1a1e15e-4b19-429e-a811-814c0d1e9b9e%40googlegroups.com.

Reply via email to