You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/08 17:22:58 UTC

[GitHub] [pulsar] addisonj opened a new issue #4920: `/metrics` endpoint in proxy is behind authentication

addisonj opened a new issue #4920: `/metrics` endpoint in proxy is behind authentication 
URL: https://github.com/apache/pulsar/issues/4920
 
 
   **Describe the bug**
   In 2.4.0, the `/metrics` endpoint in the proxy service requires authentication when the authentication is enabled. This is different from the broker, where `/metrics` can be fetched even if authentication is enabled.
   
   This isn't clear if this is intentional or not, with @sijie of the opinion that it likely wasn't intended.
   
   There may be some reasons to want to authenticate that endpoint, particularly if running pulsar over the open internet, but it would seem like it should be controlled via configuration with it optionally be unauthenticated like the broker is.
   
   **To Reproduce**
   1. Enable the proxy with token authentication
   2. `HTTP GET /metrics`
   3. See you get an unauthorized response
   
   **Expected behavior**
   I should be able to have no authentication or optionally disable authentication for the `/metrics` endpoint.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services