Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upQuery data for max-min decimation plotting #2534
Comments
This comment has been minimized.
This comment has been minimized.
|
Usage questions are best asked at https://groups.google.com/forum/#!forum/prometheus-users Look at the *_over_time functions. |
brian-brazil
closed this
Mar 28, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
moof2k commentedMar 27, 2017
•
edited
Pulling timeseries in a max-min decimated form is useful for plotting waveforms or other data where the min and max values are important. This is a common use case in audio wave editors and plotting data captured from analog sources. Here's a nice explanation: Link
From my brief testing it appears Prometheus only supports [down/sub]sampling.
For example, say I want to plot node_cpu first at 1s intervals and later at 30s intervals (zoomed out). If the data is recorded at 5s intervals, I would expect the 1s plot to show all the datapoints and the 30s plot to decimate the data to show me the min and max over each 30s sampling interval.
It's not clear to me how to accomplish this. Am I correct Prometheus doesn't support this use case? If so, please consider this a feature request. :)