-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Graph(old): It no longer renders thresholds in 8.1+ #38596
Comments
Is this related to what you're working on @dprokop, I mean with thresholds? |
Nope - my work is related to enabling threshold controls in the graph ng based visualizations, and in the alerting views to start with. We have not decided yet whether or not we want to bring this functionality to the time series panel. |
@torkelo I noticed there is a message that says: Visual thresholds options disabled, it seems intentional |
Nevermind, I tested in another dashboard and indeed there are no thresholds, I will take a look :) |
Update: I noticed in the graph plugin we have this line that is checking if ng-alert feature toggle is enabled or not, based on that it will draw the thresholds. On play.grafana.org we have that feature toggle enabled, and this is the reason we can't see thresholds.
Locally I tested removing the feature toggle and the thresholds were shown correctly, I asked the alerting team about this topic, to gather more context. |
@axelavargas ah! please remove that if statement, we should always add the threshold manager |
@domasx2 not sure I understand the logic for now showing graph thresholds, this display option should be available to users always. |
The intention was to only disable dashboard alert thresholds if |
@domasx2 but even with ngalert enabled, do not understand the reasons to disable a graph visualization feature |
Did not intend to disable graph visualizatiom feature entirely, this was a mistake. Just to not render old existing dashboard alert threshold if ngalert is emabled |
I think didnt realize at the time that threshold manager was not for alerts only, my bad |
@hugohaggmark @torkelo need some input on how to best proceed with fixing this, problem descirbed in draft PR: #38918 🙇 |
Noticed on play site that the old graph is no longer showing any thresholds.
The text was updated successfully, but these errors were encountered: