[prometheus-users] Monitor specific application process in Linux

2020-05-19 Thread Juan Rosero
Hello, I've been reading a lot on different sites and this User Group as well, but have not come up with a clear answer. I need to monitor a specific application process in Linux and verify if it's running and I've been reading about *--collector.processes* and enabling it on Node Exporter.

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

2020-05-19 Thread Juan Rosero
Thanks everyone! I'll exporte the options suggested and see what works best. Thanks again and have a great day/evening! -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send

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

2020-05-19 Thread Juan Rosero
Thanks everyone! I'll explore the options suggested and see what works best. Thanks again and have a great day/evening! -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send

[prometheus-users] Adding extra labels to metrics

2020-05-21 Thread Juan Rosero
Hello, I'm trying to add location labels to my Apache Exporter metrics and other exporters that don't expose them when Prometheus scrapes them from the server nodes. Here is my Prometheus job and the labels (ad, dom, reg) that I'm looking to add depending on the server location. Please let me

[prometheus-users] Re: Adding extra labels to metrics

2020-05-25 Thread Juan Rosero
: '(.*);(.*);(.*);(.*)' target_label: '__address__' replacement: '$1:9117' On Thursday, May 21, 2020 at 2:00:35 PM UTC-7, Juan Rosero wrote: > > Hello, > > I'm trying to add location labels to my Apache Exporter metrics and other > exporters that don't expose them when Pro

[prometheus-users] Re: Adding extra labels to metrics

2020-05-26 Thread Juan Rosero
I see what you mean so I added it back into the mix. Thanks for the tip. Really appreciated. - targets: - server1;ad-1;domain-1;emea-1 - server2;ad-2;domain-2;emea-1 relabel_configs: - source_labels: ['__address__'] regex: '(.*);(.*);(.*);(.*)' target_label:

[prometheus-users] Monitoring Tomcat and Alerting

2020-06-02 Thread Juan Rosero
Hello, I need to monitor a Tomcat application and deployed the jmx_exporter with the tomcat.yml sample file. I'm able to monitor the memory used and also would like to monitor the garbage collection, threads

Re: [prometheus-users] Adding extra labels to metrics

2020-05-24 Thread Juan Rosero
Thanks, Brian. I'm spinning my wheels here and getting all sorts of errors in Prometheus with different relabeling configurations. I've been reading on the topic but relabeling is still a bit obscure to me. - targets: - server1:9117;ad-1;domain-1;emea-1 -

Re: [prometheus-users] Adding extra labels to metrics

2020-05-22 Thread Juan Rosero
Thanks, Julien. I'm wondering if there is way to do this with relabeling. Thank you. On Thursday, May 21, 2020 at 2:04:57 PM UTC-7, Julien Pivotto wrote: > > Hi, > > On 21 May 14:00, Juan Rosero wrote: > > Hello, > > > > I'm trying to add location labels