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

extend bridge coverage for internalmetrics #21099

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Oct 9, 2024

No description provided.

The cpu.core.user metrics can either be a float or a boolean. As `0.0 ==
False` is true do a identity comparison.
Previously we didn't fetch an additional sample so calculate_sample_rate
would only return `False` and not an actual value.
@jelly jelly requested a review from martinpitt October 9, 2024 10:39
@jelly jelly changed the title Internalmetrics rate unittest extend bridge coverage for internalmetrics Oct 9, 2024
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Thanks! (cough no-test! cough)

@jelly jelly merged commit bc74a14 into cockpit-project:main Oct 9, 2024
86 checks passed
@jelly jelly deleted the internalmetrics-rate-unittest branch October 9, 2024 12:05
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.

2 participants