-
Notifications
You must be signed in to change notification settings - Fork 403
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
refactor: remove disablemetrics for enablemetrics #554
refactor: remove disablemetrics for enablemetrics #554
Conversation
Signed-off-by: nerdeveloper <[email protected]>
Signed-off-by: nerdeveloper <[email protected]>
BTW , what issue the PR points to ? |
Just a note, we’ll also want to reflect this change in the helm chart and the docs after it’s released. @nerdeveloper let us know if you are up for that! Also we’ll want to wait for |
Sure, I am definitely up for that! I can see on the docs: https://chartmuseum.com/docs/#prometheus-metrics Also, I will refactor it and wait till |
Signed-off-by: nerdeveloper <[email protected]>
Agree with @cbuto's idea , and this issue should be related to the charts and doc PR . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this.
Can you also modify the README section to describe the new behavior?
https://github.com/helm/chartmuseum#prometheus-metrics
Maybe even mention the now deprecated old flag in versions v0.14.0
and prior
pkg/config/vars.go
Outdated
@@ -94,9 +94,19 @@ var configVars = map[string]configVar{ | |||
Default: false, | |||
CLIFlag: cli.BoolFlag{ | |||
Name: "disable-metrics", | |||
Usage: "disable Prometheus metrics", | |||
Usage: "(deprecated)disable Prometheus metrics", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a space between (deprecated)
and disable Prometheus metrics
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I will into this today.
Definitely |
Signed-off-by: nerdeveloper <[email protected]>
Signed-off-by: nerdeveloper <[email protected]>
I have update chart museum Helm Chart for the Prometheus config here: chartmuseum/charts#38 |
OMG! Yes, it has been merged! I am so happy. thank you, team. |
Signed-off-by: nerdeveloper [email protected]