Thresholds for Dynamic Variable Threshold

  • What Grafana version and what operating system are you using?

  • Grafana cloud

  • What are you trying to achieve?

  • I have a dynamic variable set to be my threshold. Instead of using that variable directly, I want to create a buffer of 100 on either side of the variable to be the threshold.

  • How are you trying to achieve it?

  • I used Transformation to make one of my queries the threshold, but can’t figure out how to create that buffer. I’ve made another panel and used transformations to create an upper and lower bound, but I still can’t wrap my head around how to combine it all together.


*

I was able to find a work around and posting here in case someone else has a similar problem. I used a transformation to create a 100 buffer around the variable I wanted as the base of my threshold. I used Overrides to get rid of those variables from the legend and filled between the buffer ranges so create that threshold. Hope this helps!

1 Like