'Prometheus Query for 24 hour snapshots
is there a way to query prometheus and return 24hour snapshots of a metric over the course of a week?
Details about the metric:
- Name: foo
- Type: Gauge
- Value: 1
The metric is scraped every minute and the value will vary like so
I want to turn this into something that looks like
Which is taking a rollup of all the values within a 24hour period and creating a single sum'd value for each day.
Is this possible?
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


