-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
This Gauge has been already registered "http.server.active.requests" #46539
Comments
Never mind, I was able to reproduce this after all |
@cescoffier @brunobat it seems like the entire How do you want to handle this? |
It the metric is already created we should reuse it. |
Makes sense |
Introduce `url.scheme` tag into `http.server.active.requests` metric
Thanks for patch. Any chance to get it backported into 3.19.x for the next LTS ? |
Yes, it will be included |
With 3.19.2 (and previous), I get this same error when my service only exposes the management interface, port 9000. |
Like @seseso908, I can observe the same when the management interface runs on a different port.
|
We should probably disable the metrics for the management interface. WDYT @cescoffier ? |
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
HTTP + HTTPS
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
orgradlew --version
)Maven 3.9.9
The text was updated successfully, but these errors were encountered: