Skip to content
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

Disable serving prometheus metrics by default #1930

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

sebgl
Copy link
Contributor

@sebgl sebgl commented Oct 8, 2019

We recently fixed how the metrics flag passed with "0" disables prometheus metrics.
But kept the default value of 8080, which means metrics are enabled by
default.
I think this should be opt-in. The port is not set in the operator pod
resource anyway.

We recently fixed how a port passed as "0" disables prometheus metrics.
But kept the default value of 8080, which means metrics are enabled by
default.
I think this should be opt-in. The port is not set in the operator pod
resource anyway.
@sebgl sebgl added >enhancement Enhancement of existing functionality v1.0.0-beta1 labels Oct 8, 2019
@anyasabo
Copy link
Contributor

anyasabo commented Oct 8, 2019

LGTM. docs/operator-config.asciidoc will need to be updated as well but that is true of a bunch of things in this release I think

@sebgl sebgl merged commit 3ea08d2 into elastic:master Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants