[prometheus-users] Re: Probing Endpoints with different authentication strings.

2020-03-20 Thread Eswar Rao Bevara
Hi Brain, This worked like a charm and saved couple of hundred lines of code as I have 20 end points to monitor. One quick question, I have scraping metrics for some of my spring boot applications and there are around 30 applications that I am scrapping metrics from. is there a way to use file

[prometheus-users] scrape metrics for applications sitting behind a load balancer

2020-03-17 Thread Eswar Rao Bevara
Hi, I have a spring boot application running on two vms and sitting behind a load balancer. when I try to scrape using the application url/insights , each time the call goes to one of the two vms. I want to have the metrics scrapped from each vm separately and then would search for a solution o

[prometheus-users] Re: Probing Endpoints with different authentication strings.

2020-03-16 Thread Eswar Rao Bevara
in > prometheus.yml file. > > > > On Monday, March 16, 2020 at 8:10:25 PM UTC+5:30, Eswar Rao Bevara wrote: >> >> Hi, >> >> I am little behind you. I am trying to basic auth one end point though >> even I have more modules that should be monitored. Bu

[prometheus-users] Re: Probing Endpoints with different authentication strings.

2020-03-16 Thread Eswar Rao Bevara
Hi, I am little behind you. I am trying to basic auth one end point though even I have more modules that should be monitored. But I am unable to probe with Basic Auth. can you give me you example config of prom and blackbox on how you have done basic auth? Thanks Eswar On Monday, March 16, 20

[prometheus-users] unable to probe http endpoints with Basic Auth

2020-03-16 Thread Eswar Rao Bevara
Hi, I have an end point which sits behind Basic Auth. I have to probe the endpoint. I am unable to do so as it is throwing 401 error. Please find my prometheus and blackbox_exporter config.Any help is greatly appreciated. PROM config: global: external_labels: monitor: 'blackbox' sc