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

Increment cortex_compactor_runs_failed_total if compactor fails to compact a single tenant #4094

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

roystchiang
Copy link
Contributor

@roystchiang roystchiang commented Apr 21, 2021

Signed-off-by: Roy Chiang [email protected]

What this PR does:

In a previous change, the behavior of cortex_compactor_runs_failed_total was updated. Originally this metric is incremented when it a single tenant is failed to be compacted. The new behavior will only increment this metric if the compactor failed to discover users.

This change updates the behavior back to how it was originally.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@roystchiang roystchiang force-pushed the fix-compactor-metric branch 2 times, most recently from fe80343 to b112ede Compare April 21, 2021 02:11
@roystchiang roystchiang force-pushed the fix-compactor-metric branch from b112ede to d62d8c7 Compare April 21, 2021 02:43
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, it makes sense to me!

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@pracucci pracucci merged commit 6bd2d2d into cortexproject:master Apr 21, 2021
@roystchiang roystchiang deleted the fix-compactor-metric branch April 21, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants