-
Notifications
You must be signed in to change notification settings - Fork 3k
Ensure that the REST Client registers Vert.x HTTP Client metrics #51132
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
base: main
Are you sure you want to change the base?
Conversation
geoand
commented
Nov 20, 2025
- Closes: How to monitor HTTP client connection pool usage (available vs used connections, pool limit exceeded) #50048
Status for workflow
|
|
🎊 PR Preview df5afb5 has been successfully built and deployed to https://quarkus-pr-main-51132-preview.surge.sh/version/main/guides/
|
|
Lovely, this seems to break something else... |
|
It seems that with this change, there are now two metrics being created, so I need to figure out what's going on |
Status for workflow
|
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| ❌ | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | 🔍 |
| ❌ | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | 🔍 |
| ❌ | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | 🔍 |
| ❌ | JVM Tests - JDK 17 Windows | Build |
Failures | Logs | Raw logs | 🔍 |
| ⌛ | JVM Integration Tests - JDK 17 | Logs | Raw logs | 🚧 | ||
| ✔️ | JVM Integration Tests - JDK 17 Windows | Logs | Raw logs | 🔍 | ||
| ✔️ | JVM Integration Tests - JDK 21 | Logs | Raw logs | 🔍 | ||
| ✔️ | JVM Integration Tests - JDK 25 | Logs | Raw logs | 🔍 |
Full information is available in the Build summary check run.
You can consult the Develocity build scans.
Failures
⚙️ JVM Tests - JDK 17 #
- Failing: extensions/micrometer/deployment
! Skipped: extensions/liquibase/liquibase-mongodb/deployment extensions/micrometer-opentelemetry/deployment extensions/micrometer-registry-prometheus/deployment and 7 more📦 extensions/micrometer/deployment
❌ io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride line 61 - History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: expected: </example/{id}> but was: </example/bar>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride(RestClientUriParameterTest.java:61)
⚙️ JVM Tests - JDK 21 #
- Failing: extensions/micrometer/deployment
! Skipped: extensions/liquibase/liquibase-mongodb/deployment extensions/micrometer-opentelemetry/deployment extensions/micrometer-registry-prometheus/deployment and 7 more📦 extensions/micrometer/deployment
❌ io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride line 61 - History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: expected: </example/{id}> but was: </example/bar>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride(RestClientUriParameterTest.java:61)
⚙️ JVM Tests - JDK 25 #
- Failing: extensions/micrometer/deployment
! Skipped: extensions/liquibase/liquibase-mongodb/deployment extensions/micrometer-opentelemetry/deployment extensions/micrometer-registry-prometheus/deployment and 7 more📦 extensions/micrometer/deployment
❌ io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride line 61 - History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: expected: </example/{id}> but was: </example/bar>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride(RestClientUriParameterTest.java:61)
⚙️ JVM Tests - JDK 17 Windows #
- Failing: extensions/micrometer/deployment
! Skipped: extensions/liquibase/liquibase-mongodb/deployment extensions/micrometer-opentelemetry/deployment extensions/micrometer-registry-prometheus/deployment and 7 more📦 extensions/micrometer/deployment
❌ io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride line 61 - History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: expected: </example/{id}> but was: </example/bar>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at io.quarkus.micrometer.deployment.binder.RestClientUriParameterTest.testOverride(RestClientUriParameterTest.java:61)
|
Here is an outline of the problem: Whenever a Vert.x HTTP Client is created in Quarkus, and if In the REST Client, we have a custom way to generate the same The problem currently is that I have not found a way for either of these ways to influence the other (or outright turn it off). I am still looking for a workaround that would not require any changes to Vert.x |
|
@cescoffier @vietj I believe that what I need to overcome this issue is to be able to set some information on Does this make sense? |
Without this, I don't see a way of being able to avoid having duplicate metrics for the REST client |
