PromQL group by

30 views
Skip to first unread message

Masnu

unread,
Aug 28, 2020, 9:33:46 AM8/28/20
to Prometheus Users
Hello,

We have labeled all our nodes with the "tier" they belong to. I have the following query:

(100 * node_memory_MemAvailable_bytes{node=~".*"} / node_memory_MemTotal_bytes{node=~".*"} < 10) * on (node) group_left(label_tier) kube_node_labels

And would like label_tier added to the query so we can handle the alert differently depending on the node tier. I keep getting found duplicate series for the match group error. What am I doing wrong? 
Reply all
Reply to author
Forward
0 new messages