-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/metrics endpoint always exposed regardless -expose-metrics=f #760
Comments
I cannot reproduce this. If I run |
Set That's why my suggestion to activate automatically Thanks for looking into it ! |
I cannot reproduce this. I run |
To reproduce, script to start
|
Ok, now I see what you mean with exposing the metrics endpoint. Thanks for clarifying. You are referring to it being displayed in the greeting. That wasn't clear to me until now. However, I am still struggling to see what the underlying issue is here. If So what is your concern here? That we should not display a URL in the greeting which is not available? |
Im sorry that I wasn't clear enough with description!
I think if options set to not expose metrics should mean exactly this - do not expose, but endpoint
The issue is that I think the best would be to stop show greetings on |
I just added a patch, which removes the metrics information from the greeting, if |
/metrics
endpoint always exposed regardless-expose-metrics=f
Even adding custom metrics path via
-metrics-path
still expose/metrics
URLExpected behavior
flag
-expose-metrics=false
should disable metrics endpoint completelySetup details
/metrics
Suggestion
if option
-expose-metrics=f
is in use then option-show-greeting=f
must be activated too to prevent disabled endpoint/metrics
to reply with greetings where also disclosed hidden metrics path in messageThe text was updated successfully, but these errors were encountered: