Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some smart home electricity meters, for which data gets scraped by prometheus and pushed to O2.
The values are coming in as Watts, which is just fine for aggregating up to 1 hour slots using
avg
aggregate function, like this:...query:
However, I also want to create analysis for daily, monthly and yearly power consumption, which requires 2-step aggregation:
Is there a mechanism or special aggregate functions that can help with this?
This use case may be applicable for other metrics as well that relate to a time span (miles per hour, meters per second, ...).
Beta Was this translation helpful? Give feedback.
All reactions