Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query data for max-min decimation plotting #2534

Closed
moof2k opened this Issue Mar 27, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@moof2k
Copy link

moof2k commented Mar 27, 2017

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. :)

image

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 28, 2017

Usage questions are best asked at https://groups.google.com/forum/#!forum/prometheus-users

Look at the *_over_time functions.

@lock

This comment has been minimized.

Copy link

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 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.
You can’t perform that action at this time.