You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we are using the current stable Gnocchi Grafana Datasource plugin in to query the metrics of an OpenStack cluster. At the moment, I am trying to use the dynamic aggregates query type to fill a Single Stats panel. However, the return value of the query is an array of items instead of a single value. What am I doing wrong?
The expected output of the query is the sum of the mean number of vcpus of all instances for a given search string in the given time period (I know I can do that via the resource search (aggregated measurements) but would like to apply some math to the result).
The operation I have defined is: (aggregate sum (metric vcpus mean))
and the response I can see in the Query Inspector looks like this:
Hello,
we are using the current stable Gnocchi Grafana Datasource plugin in to query the metrics of an OpenStack cluster. At the moment, I am trying to use the dynamic aggregates query type to fill a Single Stats panel. However, the return value of the query is an array of items instead of a single value. What am I doing wrong?
The expected output of the query is the sum of the mean number of vcpus of all instances for a given search string in the given time period (I know I can do that via the resource search (aggregated measurements) but would like to apply some math to the result).
The operation I have defined is:
(aggregate sum (metric vcpus mean))
and the response I can see in the Query Inspector looks like this:
How do I aggregate the response array into a single value?
The text was updated successfully, but these errors were encountered: