[prometheus-users] monitor only a set of pods with a specific label in Prometheus

2022-02-11 Thread Amit Roy
Hi team Want to monitor only a set of pods in a namespace. I can label the pods for identification. Is there a way to configure Prometheus to auto-discover and monitor only the specific pods with the labels? Auto-discovery is important. I don't want to add target and update Prometheus configu

[prometheus-users] how to get correct value after resolved alert

2022-02-11 Thread zhao cruise
I use the alertmanager to fire the alert, but I encounter problem that after the alert was resolved, the notification alert include value which display the value is still above the value which was setting to alert. -- You received this message because you are subscribed to the Google Groups "

[prometheus-users] Best way to return data from a webappliacation servlet

2022-02-11 Thread De Clamps
Im trying to create a metrics endpoint as part of my web application using the Java_client project https://github.com/prometheus/client_java as a proof of concept. I have the hibernatestatisticscollector created and been used in other sessions. I want an endpoint that I can query these metrics

[prometheus-users] Alertmanager issue while start

2022-02-11 Thread Faraz Ahmed
Hello, I am having issues installing and starting alert manager and I am new on it, Can anyone guide me steps by steps with alertmanager.yml configuration too send email alert for server down and instance down. ./alertmanager --config.file=alertmanager.yml level=info ts=2022-02-09T21:11:51.3

[prometheus-users] Python client status Enum reporting both states simultaneously?

2022-02-11 Thread JF C
I have a measurement device that I can query over telnet with prometheus_client in python. I can report the value so Prometheus can see it, but when I try to report the status (connected/not connected) I somehow see both states at the same time? The python script is attached, and what I see

[prometheus-users] Inhibit rules

2022-02-11 Thread Raslen Ben Hadj Salah
Hi, Using Prometheus v2.27.1 with Alertmanager v0.22.2 deployed by the kube-prometheus-stack Helm chart (adjusted by Rancher) on a K8s-cluster we want to achieve, that all alerts are automatically muted when a certain alert is firing. In our case, all alerts should be muted when the availabi

Re: [prometheus-users] Prometheus High RAM Investigation

2022-02-11 Thread Brian Candler
> installed_software{package_name="GConf2.x86_64",version="3.2.6-8.el7"} > (our custom metric) that has high cardinality Cardinality refers to the labels, and those labels are not necessarily high cardinality, as long as they come from a relatively small set and don't keep changing dynamically.

Re: [prometheus-users] Prometheus High RAM Investigation

2022-02-11 Thread Shubham Shrivastav
Hi guys, Current pprof stats: https://pastebin.com/0UnhvWpH @Brian: I do have a metric called node_systemd_unit_state (systemd metric) and installed_software{package_name="GConf2.x86_64",version="3.2.6-8.el7"} (our custom metric) that has high cardinality Full TSDB Status here: https://pastebi