grafana / grafana-polystat-panel

D3-Based hexagon layout multi-stat panel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composite not working

BryanHunt opened this issue · comments

I just picked up 2.0.5 and I'm still having problems getting composite to work. The data is from node-exporter and I'm trying to composite the overall cpu usage with memory used per instance (host). The two queries are (these came from the node exporter dashboard on grafana.com):

(sum by(instance) (irate(node_cpu_seconds_total{mode!="idle"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total[$__rate_interval])))) * 100

100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)

These two queries correctly display the individual values for CPU and memory per node, but when I try to add a metric in the composite, the only selection available is a single "Value" option. Selecting "Value" did not work.

I tried naming the queries and using those name, but that didn't work either. Maybe it's just my lack of understanding that I haven't been able to figure out what to put into the Metric/RegEx box based on the documentation available.

let me look into this - should be able to reproduce it with what you specified above