Hiding vertical alerting markers on dashboard panels

Hi - I am in the process of setting up a few alerts in Grafana for a couple different dashboard panels. I noticed that it shows vertical markers for each “Alerting” status and each “OK” status. That’s great to be able to see when/where it triggered, however, it dirties up the panel-graph and makes it look more confusing such that I see a bunch of extra vertical lines when trying to look at the graph from afar.

Is there a way to suppress these markers?



Same problem here. How to disable it?

1 Like

Any update on this? Alerts using conditions like diff are coloring most of the graph without any useful addition…

1 Like

Yes, you can disable them now.

Go into the settings of the panel, choose “Panel” on the right, scroll down and open “Display” and disable “Alert thresholds”.

1 Like

This seems to affect the horizontal lines showing the thresholds at which alerts change state. What I and I think the OP want to know is how to remove the vertical lines that show when this has happened. Zoom out a little and they obscure the detail that sometimes we want to to show.

I haven’t found a way to remove these. I even deleted the alert but the vertical lines still stick around.

Those vertical lines are just annotations. You can find it in dashboard settings → Annotations: Annotations & Alerts (Built-in):

So if you want to delete them, then just edit this annotation definition and disable it.
IMHO better is to disable Hidden checkbox and then you can disable/enable them directly from the dashboard: