I have a dashboard parameter named items
.
I have a datasource HTTP request (using Infinity
and / or HTTP JSON API
) that sends a request containing an itemId
in the query parameter. Now, since I don't know the number of items
in my Grafana dashboard parameter, I cannot set up X number of HTTP queries. Is there a way to repeat the datasource query for each value in the items
parameter?
e.g If my items
parameter had 2 values: "Test1" and "Test2", I would have two series in the Grafana panel (time series) and behind the scenes, to build the panel, Grafana would send two HTTP requests, one for each of the values.
Please note, I do not want to make multiple instances of the same panel based on the values. I want the same panel to have different series based on the values.
So far I tried looking into the documentation of Infinity and JSON API, but I found nothing that would suggest the ability to do this. Is this even possible or are there alternatives that support this?