Change color of panel based on label in Grafana

I would like to change the color of my panel based on the panel title. I have a simple visualization of the tally of healthy and unhealthy.

The word "healthy" in the panel title is a dynamic value determined by a variable name $status.

I made it dynamic by

However, I want to change the color of the background if the value of $status is unhealthy.

Something, like this

enter image description here

I tried to do it by value mapping but nothing is happening. Is this possible to do?



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept