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

Sampling on emitting misconfigured partition metrics #6650

Closed

Conversation

shijiesheng
Copy link
Member

What changed?

Add a sampling rate to reduce emitting metrics on misconfigured partition.

Why?

The metrics emitting fetches all pollers for the tasklist. This is an expensive call.

How did you test it?

Will test in staging to verify metrics emitting frequency

Potential risks

low to no risk since it's metrics only logic

Release notes

Documentation Changes

Copy link
Member

@fimanishi fimanishi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@abhishekj720 abhishekj720 left a comment

Choose a reason for hiding this comment

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

requires linting because of imports placements

@shijiesheng
Copy link
Member Author

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.

3 participants