I am trying to make a view in Grafana that would return the result of node_memory_MemFree_bytes{job="node-exporter"}} < 1000000000 by nodes from Prometheus datasource (from Prometheus-operator within a k8s cluster), how can I get that extra label? I get the result only in IP:port and I want to filter out in alert later the master nodes and for the view as well. From what I understand I need to get the node names somehow within the job, but I don't understand where should I edit that.

https://kubernetes.slack.com/archives/CFFDS2Z7F/p1585077843020700 https://kubernetes.slack.com/archives/CD0T3TQUR/p1585130603000300 https://cloud-native.slack.com/archives/C167KFM6C/p1585130676000600

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.