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

WIP: Metrics: Re-enable metrics removed in prometheus/client_golang 1.12.2 #2822

Closed
wants to merge 1 commit into from

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Aug 24, 2022

What this PR does

~80 runtime metrics were removed in prometheus/client_golang 1.12.2. This PR re-adds them, as suggested by @dannykopping and discussed in Slack.

NB: It's still being discussed whether these metrics should be re-enabled or not.

Which issue(s) this PR fixes or relates to

Checklist

  • [na] Tests updated
  • [na] Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@aknuds1 aknuds1 requested a review from pstibrany August 24, 2022 08:03
@aknuds1 aknuds1 added the enhancement New feature or request label Aug 24, 2022
@aknuds1 aknuds1 changed the title Metrics: Re-enable metrics removed in prometheus/client_golang 1.12.2 WIP: Metrics: Re-enable metrics removed in prometheus/client_golang 1.12.2 Aug 24, 2022
@bboreham
Copy link
Contributor

I'm a "no thanks" on this pending some specific justification why we need them.
The metrics were only added to Mimir via #1715, 4 months ago, and were removed upstream due to the high cardinality.

I could see adding a mechanism so they can be turned on when required. But again, someone has to actually need them.

@pracucci
Copy link
Collaborator

I agree with Bryan. We should re-enable such metrics only if (when) we have a real use case.

@pracucci
Copy link
Collaborator

pracucci commented Oct 7, 2022

The CHANGELOG has just been cut to prepare for the next Mimir release. Please rebase main and eventually move the CHANGELOG entry added / updated in this PR to the top of the CHANGELOG document. Thanks!

@aknuds1 aknuds1 closed this Oct 25, 2022
@aknuds1 aknuds1 deleted the chore/re-enable-metrics branch October 25, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants