Traffic light when there is no data in data source

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

  • What are you trying to achieve?
    I am having a traffic light panel and my data source is azure data explorer.
    Based on the data , I am querying and displaying traffic lights(green for Healthy, red for unhealthy).
    Suppose when there is no data available in data source, I wanted to show yellow color.
    How can I achieve this ??

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?