[prometheus-users] Re: Expose java metrics to prometheus

2020-05-19 Thread Vu Tuan Dat
ion but I dont know how to capture the > output in Prometheus time series format. For ex : > Product_version{product="SomeProduct",version="2.9.1"} > > > On Tuesday, May 19, 2020 at 2:09:51 PM UTC+5:30, Vu Tuan Dat wrote: >> >> this can help https://gi

[prometheus-users] Re: Expose java metrics to prometheus

2020-05-19 Thread Vu Tuan Dat
this can help https://github.com/prometheus/client_java On Tuesday, May 19, 2020 at 1:32:10 PM UTC+7, Nidhi Sharma wrote: > > Hi, I have a web app running on tomcat. There is a hello resource (REST > API) to check the health of the app. Output if this resource gives the > version of the app. I

[prometheus-users] Re: Monitor specific application process in Linux

2020-05-19 Thread Vu Tuan Dat
Ideally, write a exporter for your specific process, it's not that hard. Or instrument directly into your app. On Tuesday, May 19, 2020 at 2:11:47 PM UTC+7, Juan Rosero wrote: > > Hello, > > I've been reading a lot on different sites and this User Group as well, > but have not come up with a

[prometheus-users] Re: derive alert severity from other labels

2020-05-19 Thread Vu Tuan Dat
you can try: severity: '{{ if eq $labels.environment "qa" }} warn {{ else }} page {{ end }}' On Tuesday, May 19, 2020 at 3:25:01 PM UTC+7, Roland Mieslinger wrote: > > Hi, > > we are using the same set of alert rules for both, our production and qa > environment, with the severity label set to

[prometheus-users] Alerts in Alertmanger cannot be cleared

2020-05-19 Thread Vu Tuan Dat
Hello, I got an issue with Alertmanager and Prometheus synchronization. My system has a cluster of two Alertmanager nodes for multiple Prometheus clusters. Yesterday, I updated Prometheus config (targets) using `/-/reload` endpoints then I got several unresolved alerts which were NOT (for