How to visualize resource (server, machine, etc) status

Hello Grafana community,
I am trying to visualize the state of the resource. I would like to do it as a rectangle with a background colour (based on status i.e. downtime - red, running - green) and a text block inside to visualize the name of the status.
Note, the resource can be simultaneously in multiple statues i.e. red and green at the same time.
I use JSON API data source and receive the data in the format where both the colour and name of the status exist:
“status”: {
“code”: “Production”,
“color”: “#258039”,
},
“status”: {
“code”: “Downtime”,
“color”: “#F5BE41”,
},

How would you recommend to realize this idea?
Thanks in advance!
Dan

got this resolved using HTML Graphics plugin!

1 Like