Here's an example (I'm using 60 second scrape interval)

up{instance="localhost:9090"}[5m]
=>
1 @1641284315.945 1 @1641284375.945 1 @1641284435.945 1 @1641284495.945 1 
@1641284555.945

up{instance="localhost:9090"}[5m:1m]
=>
1 @1641284340 1 @1641284400 1 @1641284460 1 @1641284520 1 @1641284580

Note also how the subquery sampling points are rounded to the interval, 
i.e. here they are at exact multiples of 60 seconds, and don't change until 
you move into the next 1m.

-- 
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/f08d6576-041b-4e70-977c-f30908469c74n%40googlegroups.com.

Reply via email to