bschofield opened a new issue #6789:
URL: https://github.com/apache/pulsar/issues/6789


   I am running a Pulsar deployment with TLS and Authentication on enabled on 
the proxy only, and neither TLS nor Authentication enabled inside the private 
cluster.
   
   When Prometheus attempts to scrape metrics from the proxy component, the 
following errors are produced in the log:
   
   ```
   15:21:54.630 [pulsar-external-web-4-8] INFO  
org.eclipse.jetty.server.RequestLog - 10.244.39.210 - - [20/Apr/2020:15:21:54 
+0000] "GET /metrics HTTP/1.1" 302 0 "-" "Prometheus/1.6.3" 27
   15:21:54.641 [pulsar-external-web-4-2] WARN  
org.apache.pulsar.broker.web.AuthenticationFilter - [10.244.39.210] Failed to 
authenticate HTTP request: Authentication required
   15:21:54.642 [pulsar-external-web-4-2] INFO  
org.eclipse.jetty.server.RequestLog - 10.244.39.210 - - [20/Apr/2020:15:21:54 
+0000] "GET /metrics/ HTTP/1.1" 401 353 "http://10.244.40.37:8080/metrics"; 
"Prometheus/1.6.3" 20
   ```
   
   Is there a way to allow Prometheus to gather proxy metrics in my 
configuration?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to