Skip to content

Split compactor cleaner metrics #6827

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

Merged
merged 6 commits into from
Jun 23, 2025

Conversation

danielblando
Copy link
Contributor

@danielblando danielblando commented Jun 17, 2025

What this PR does:
When cleanUpUser takes long it might delay compaction cleaner metrics leaving the user blind to what is happening. This approach separate metrics in another go routine which will run independently if the cleanUser is impaired

Checklist

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

@danielblando danielblando requested a review from yeya24 June 17, 2025 18:53
@danielblando danielblando force-pushed the compactor-metrics branch 2 times, most recently from 7145c40 to d2b59a6 Compare June 18, 2025 00:15
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks

Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
@alexqyle
Copy link
Contributor

LGTM

@danielblando danielblando merged commit f9fc11c into cortexproject:master Jun 23, 2025
17 checks passed
@danielblando danielblando deleted the compactor-metrics branch June 23, 2025 17:53
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