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

[Feature Request] Option to only show non-zero points in graph #8309

Closed
eighteen14k opened this issue May 6, 2017 · 5 comments
Closed

[Feature Request] Option to only show non-zero points in graph #8309

eighteen14k opened this issue May 6, 2017 · 5 comments
Labels

Comments

@eighteen14k
Copy link

eighteen14k commented May 6, 2017

When plotting graphs, it is possible to choose to hide serieses (in the legend) that are all zeroes.

This is great...

And I'd like to take this one step further - to not show zeros.

So that when you've got (say) 10 serieses being shown on the one graph that are zero most of the time, rather than have a stack of 10 points all on top of each other on the bottom of the graph, be able to not show them at all.

Of course this does not work for all graph types - it's a bit silly for "line graphs". The bar graph already behaves like this (kind of)

@RichiH
Copy link
Member

RichiH commented Jul 11, 2017

FYI, this works with Prometheus by simply attaching > 0 to your queries.

@ojle
Copy link

ojle commented Sep 27, 2018

FYI, this works with Prometheus by simply attaching > 0 to your queries.

If you do this, and have alert rule on that graph, you'll have bad calculations, eg. avg()
So option just to hide 0 values in graph would be nice

@RichiH
Copy link
Member

RichiH commented Sep 27, 2018 via email

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue with no recent activity label Jan 19, 2024
Copy link
Contributor

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants