Hi all,
I’m relatively new to Grafana but am getting the hang of it!
We’re utilising the JSON API plugin to pull in cpu/disk/memory metrics via a monitoring solution’s API. This is working nicely for most metrics apart from the individual core CPU usage history.
Unfortunately the JSON API doesn’t group data based on its parent object, so each CPU core’s utilisation samples’ timestamps and values are combined into a single table.
It’s ok! I’ll use one of the grouping options within grafana! -me. Using the Group by transformation on the time field, and then selecting All values for the sample data looks good! For each time stamp, each of the 32 cores individual samples are present. Perfect!
Unfortunately it won’t graph as the data is now in an array
Ah, how about the Group by option in the Experimental tab? Group by time, matric as samples! Unfortunately this doesn’t work either. The time fields are displayed in the dropdown box under the table view but are no longer seen as timestamps and the metric isn’t shown anywhere:
Switching off table view shows the Data does not have a time field error.
Is there any way to group by a timestamp and have the array data graphed? Any advice or recommendations would be greatly appreciated!
Cheers!