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

2020-05-19 Thread Nidhi Sharma
20 at 2:09:51 PM UTC+5:30, Vu Tuan Dat wrote: > > 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 ch

[prometheus-users] Expose java metrics to prometheus

2020-05-18 Thread Nidhi Sharma
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 want output of this resource to be captured as a metric and pulled by Prometheus. Please help on how can I proceed. -- You rece

Re: [prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-05-03 Thread Nidhi Sharma
RESOLVED. after changing the version of pushgateway in dockerfile On Thursday, April 30, 2020 at 6:02:50 PM UTC+5:30, Nidhi Sharma wrote: > > Below is the ideal script when pod is working fine. If I try to include > any flag here, i get crashloop pod > > #!/bin/sh > /bin/pushg

Re: [prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-04-30 Thread Nidhi Sharma
Below is the ideal script when pod is working fine. If I try to include any flag here, i get crashloop pod #!/bin/sh /bin/pushgateway --log.level=$LOGLEVEL On Thursday, April 30, 2020 at 5:26:00 PM UTC+5:30, Nidhi Sharma wrote: > > I commited below script now but still pod is in cra

Re: [prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-04-30 Thread Nidhi Sharma
I commited below script now but still pod is in crashloop #!/bin/sh exec /bin/pushgateway --web.enable-lifecycle --web.enable-admin-api On Thursday, April 30, 2020 at 3:04:05 PM UTC+5:30, Brian Candler wrote: > > On Thursday, 30 April 2020 09:23:24 UTC+1, Nidhi Sharma wrote: >> >&

Re: [prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-04-30 Thread Nidhi Sharma
ril 29, 2020 at 6:00:54 PM UTC+5:30, Stuart Clark wrote: > > On 2020-04-29 08:20, Nidhi Sharma wrote: > > Thanks for replying Stuart. Even if I use service DNS, i can't access > > any API inside the pushgateway container. Below is the command. I get > > 404.

Re: [prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-04-29 Thread Nidhi Sharma
hen you are running an application inside a container "localhost" refers > to the container, not the underlying host. You will need to use a different > method to reference other pods, such as a service DNS name. > > On 29 April 2020 07:09:56 BST, Nidhi Sharma > wrote: >&

[prometheus-users] Unable to access localhost from pushgateway pod on openshift

2020-04-28 Thread Nidhi Sharma
Hi, Do i need to make any config changes so that I can access localhost? Please help -- 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 an email to prometheus-users+unsubs