Very new to Grafana. I am correctly pulling systemd stats using Node_Exporter. I am trying to create a simple graph/panel which shows green if service state of active=1 and red if anything else. It appears there are multiple states: activating, active, deactivating, failed, inactive and each of this will either have a value of 1 or 0.
I believe I can use the single stat graph but no clue where to begin with the query logic and how is use the built in thresholds since they same to expect a range versus a simple 1 or 0.
Thank you for everyone’s time.