-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
/q/metrics is unavailable after Bump Micrometer to 1.13 #42801
Comments
/cc @brunobat (micrometer), @ebullient (metrics,micrometer), @jmartisk (metrics) |
CC @gsmet as I think Micrometer bump was also considered for backport |
@rsvoboda you need to change the following dependency: <dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency> to: <dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus-simpleclient</artifactId>
</dependency> |
PR created: quarkus-qe/beefy-scenarios#502 |
Updated the description of the bump PR to highlight this. |
Right.. I was going to ask why this is being specified directly (rather than relying on the dependency through the quarkus micrometer prometheus extension? This is incorrect:
It should be (as documented):
|
Just looking into the same, the scenario was added in January 2021, So probably early days of Micrometer integration on Quarkus side. |
But still strange that FYI, I will switch the app to quarkus-micrometer-registry-prometheus. |
There are quarkus integration tests that rely on the prometheus metrics endpoint being present. I'm not sure what the setup difference is between those and this. |
Or maybe a hint in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.16#micrometer about unavailable |
Was that the issue? |
Seems to be fixed in quarkus-qe/beefy-scenarios#503, requiring no changes if your project uses |
Can we close this one, @rsvoboda ? |
Yes, https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.14#micrometer mentions use-case with |
Describe the bug
/q/metrics
endpoint is unavailable after Bump Micrometer to 1.13 - #42661Noticed due to failure of daily https://github.com/quarkus-qe/beefy-scenarios/actions with the build over night, tests in 015-quarkus-micrometer module are getting 404 when requesting /q/metrics. The same can be faced in dev mode.
When I reverted the bump commit
/q/metrics
is available again.See
How to Reproduce?
for reproducer steps.Expected behavior
/q/metrics
is availableActual behavior
/q/metrics
is unavailableHow to Reproduce?
Make sure to use the latest Quarkus main
Running with 3.14 (
mvn clean quarkus:dev -pl 015-quarkus-micrometer -Dquarkus.platform.version=3.14.0
) has metrics available.Output of
uname -a
orver
macOS
Output of
java -version
Java 21
Quarkus version or git rev
Quarkus main
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: