-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
Describe the bug
When you start a server listening on http and https, you get a warning that the http.server.active.requests
metric is already in use.
HTTP only
2025-02-27 16:11:09,977 INFO [io.quarkus] (Quarkus Main Thread) MY_APP 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.19.1) started in 5.833s. Listening on: http://localhost:8080
2025-02-27 16:11:09,979 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2025-02-27 16:11:09,979 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, micrometer, rest, rest-jackson, smallrye-context-propagation, smallrye-health, vertx]
HTTP + HTTPS
2025-02-27 16:13:12,331 WARN [io.mic.cor.ins.MeterRegistry] (vert.x-acceptor-thread-0) This Gauge has been already registered (MeterId{name='http.server.active.requests', tags=[]}), the Gauge registration will be ignored. Note that subsequent logs will be logged at debug level.
2025-02-27 16:13:12,336 INFO [io.quarkus] (Quarkus Main Thread) MY_APP 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.19.1) started in 6.761s. Listening on: http://localhost:8080 and https://localhost:8081
2025-02-27 16:13:12,337 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2025-02-27 16:13:12,337 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, micrometer, rest, rest-jackson, smallrye-context-propagation, smallrye-health, vertx]
Expected behavior
No warnings. Maybe a tag to differentiate between HTTP and HTTPS?
Output of java -version
mandrel-java21-windows-amd64-23.1.5.0-Final
Quarkus version or git rev
3.19.1
Build tool (ie. output of mvnw --version
or gradlew --version
)
Maven 3.9.9
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done