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
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
I'm plotting data from KairosDB related to host status (cpu, memory, etc.)
I'm trying to generate sums, for example sum all CPU usage for all hosts of a particular subset, so that we can have a nice line that says how much load is there for real. I do not want an average.
This is the query I build:
The plot shows something that is not a sum, more like an average. If I look at the request in the browser I see this:
There is my sum aggregator, but there is also an avg aggregator with an interval of 15 seconds that I have never defined.
The downsampling is also set to (NONE)
Any hint?
The text was updated successfully, but these errors were encountered:
For some reason it is ignoring the downsampling setting. When I force it to (NONE) via the javascript debugger, it starts working.
Also I think downsampling should be added as the last aggregation, not the first.
I managed to solve it. Would be happy to make a PR but the code that you get when you install the plugin through grafana does not match what's on git, so my diff would be quite large and not sure what's the latest.
A non code workaround is to set the downsampling to what you want in the dropdown, remove the metric (it's added by default, remove it) and then add it back. The value is taken correctly, but only when the metric i created
Grafana 3.1.1-1470047149 (ubuntu trusty)
I'm plotting data from KairosDB related to host status (cpu, memory, etc.)
I'm trying to generate sums, for example sum all CPU usage for all hosts of a particular subset, so that we can have a nice line that says how much load is there for real. I do not want an average.
This is the query I build:
The plot shows something that is not a sum, more like an average. If I look at the request in the browser I see this:
There is my sum aggregator, but there is also an avg aggregator with an interval of 15 seconds that I have never defined.
The downsampling is also set to (NONE)
Any hint?
The text was updated successfully, but these errors were encountered: