Skip to content

Conversation

@DomGarguilo
Copy link
Member

@DomGarguilo DomGarguilo commented Jul 1, 2024

Fixes #4641

The changes in this PR will

@DomGarguilo DomGarguilo self-assigned this Jul 1, 2024
Copy link
Contributor

@dlmarion dlmarion left a comment

Choose a reason for hiding this comment

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

#4078 also had a change to MetricsIT.

@DomGarguilo
Copy link
Member Author

So far I have backported the changes as they exist in elasticity and tried to get the test working. Right now I can see the metric for the compactor and scan server in the test but am not seeing it for the tserver yet (no metric at all) and am not sure why.

@DomGarguilo
Copy link
Member Author

but am not seeing it for the tserver yet (no metric at all) and am not sure why.

Looked into this a bit and it seems like micrometer only reports the metric after it changes and since the tserver never became idle, the value for this metric was never emitted.

@DomGarguilo DomGarguilo changed the title WIP - backport server idle metric to 2.1 backport server idle metric to 2.1 Jul 5, 2024
@DomGarguilo
Copy link
Member Author

removing the WIP label as I think this is ready for review now. The only thing I need to fix is the CompactorTest which is failing in the builds. I am not sure whats going on there, maybe something wrong with the mocking in that test now.

Copy link
Contributor

@dlmarion dlmarion left a comment

Choose a reason for hiding this comment

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

Looks good. Just a minor comment regarding the property description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate if both METRICS_COMPACTOR_BUSY and METRICS_SERVER_IDLE are needed in elasticity branch

3 participants