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

Failing tests related to metric "process.files.open" in the metrics guide #1489

Open
enicolaescu opened this issue Oct 2, 2024 · 0 comments

Comments

@enicolaescu
Copy link

Java version: 17
Micronaut version: 4.6.2
Guide I am following: https://guides.micronaut.io/latest/micronaut-metrics-maven-java.html

I downloaded the zip file in the guide and ran it as is. The application starts however the process.files.open metric is missing from the endpoint localhost:8080/metrics

When running the tests there are 2 failures at
example.micronaut.MetricsTest.testExpectedMeters(MetricsTest.java:68)
example.micronaut.MetricsTest.testMetricsEndpoint(MetricsTest.java:147)

Both lines have the same assertion: assertTrue(names.contains("process.files.open")); that specific metric is missing from the endpoint and the assertion fails

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

No branches or pull requests

1 participant