Skip to content

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
bogdan-st pushed a commit to bogdan-st/cortex that referenced this pull request Jun 30, 2025
* Split compactor cleaner metrics

Signed-off-by: Daniel Deluiggi <[email protected]>

* CHANGELOG

Signed-off-by: Daniel Deluiggi <[email protected]>

* fix lint

Signed-off-by: Daniel Deluiggi <[email protected]>

* update doc

Signed-off-by: Daniel Deluiggi <[email protected]>

* Address comments

Signed-off-by: Daniel Deluiggi <[email protected]>

* update doc

Signed-off-by: Daniel Deluiggi <[email protected]>

---------

Signed-off-by: Daniel Deluiggi <[email protected]>
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