You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start Keycloak 21.1.2 or 22.0.0 (which is based on Quarkus and Netty) with TLS and HTTP/2, I don't get http_server_duration_milliseconds* metrics.
When I start it with HTTP only (which will fallback to HTTP/1.1), I get them:
I'm testing this to do performance tests on Keycloak for the upcoming version of Keycloak. I'm happy to support by testing this / running pre-releases / debugging etc.
The text was updated successfully, but these errors were encountered:
Thanks for pointing towards the protocol. I tested again, and the metrics are not recorded for HTTP/2.
Once I force HTTP/1.1, the metrics are recorded.
# using HTTP/2 - no metrics recorded
curl https://localhost:8443/ -kv
# forcing HTTP/1.1 for TLS - metrics recorded
curl https://localhost:8443/ -kv --http1.1
ahus1
changed the title
HTTP Instrumentation of Keycloak based on Quarkus/Netty doesn't work for TLS enabled
HTTP Instrumentation on Quarkus/Netty doesn't work for TLS + HTTP/2
Jul 12, 2023
Describe the bug
When I start Keycloak 21.1.2 or 22.0.0 (which is based on Quarkus and Netty) with TLS and HTTP/2, I don't get
http_server_duration_milliseconds*
metrics.When I start it with HTTP only (which will fallback to HTTP/1.1), I get them:
Steps to reproduce
http://localhost:8080/
to generate some metrics (the will be no metrics unless a page is being loaded)http://localhost:9464/
to look at the metrics ->http_server_duration_milliseconds_count
is presenthttps://localhost:8443/
http://localhost:9464/
to look at the metrics ->http_server_duration_milliseconds_count
is missingWhat did you expect to see?
The metrics
http_server_*
should be visible both for TLS and non-TLSWhat did you see instead?
The metrics
http_server_*
are missing for TLS and are only present in non-TLSWhat version are you using?
1.27.0
Environment
Additional context
I'm testing this to do performance tests on Keycloak for the upcoming version of Keycloak. I'm happy to support by testing this / running pre-releases / debugging etc.
The text was updated successfully, but these errors were encountered: