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

Correctly handle KafkaMetric metrics #45

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

mimaison
Copy link
Contributor

As described in #44 the collector was incorrectly caching the metric value, meaning that each collection reported the same initial value.

This also fixes a HTTP server leak in PrometheusMetricsReporterConfigTest which caused intermittent test flakiness. To find it I used slf4j-simple to get tracing output from the tests. Since it proved useful, I propose adding it as a test dependency.

@scholzj scholzj added this to the 0.1.0 milestone Sep 12, 2024
@mimaison mimaison merged commit 89c966e into strimzi:main Sep 12, 2024
7 checks passed
@mimaison mimaison deleted the issue-44 branch September 12, 2024 15:48
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