Hi,
I’m working with an API response that returns data in a JSON format containing three arrays. Here’s an example of the JSON response:
{
“array1”: [
{“id”: 1, “name”: “Item 1”, “value”: 10},
{“id”: 2, “name”: “Item 2”, “value”: 20}
],
“array2”: [
{“id”: 1, “metric”: “Metric A”, “score”: 100},
{“id”: 2, “metric”: “Metric B”, “score”: 200}
],
“array3”: [
{“id”: 1, “status”: “active”, “count”: 5},
{“id”: 2, “status”: “inactive”, “count”: 3}
]
}
I want to use Grafana with the Infinity plugin to call this API endpoint only once and then display the data from array1
, array2
, and array3
in separate panels.
How can I achieve this using the Infinity plugin? Specifically, how do I configure Grafana to split the arrays and load them into multiple panels from a single API call?
Thanks in advance for any help!