I have a variable in my dashboard that is populated by an API call, with the following response format:
[
{ “id”: 1, “name”: “Compressor”, “value”: 100 },
{ “id”: 2, “name”: “HVAC”, “value”: 80 }
]
I want to hide a panel completely if the above API response does not include an entry with the name "Compressor"
. The variable is not used anywhere else and is not displayed on the dashboard. I only want to hide the panel based on whether or not the API response includes the name "Compressor"
.
How can I achieve this in Grafana?