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
{{ message }}
Repository navigation
OTEL: Promote the OpenTelemetry Metrics feature to preview/supported #45159
At this moment, the opentelemetry-metrics feature is in experimental mode due to the lack of feedback and testing. We use the Micrometer to OTel bridge, as our whole metrics functionality relies on the Micrometer.
Once the Quarkus promotes the extension to supported, we might consider to promote the feature to supported as well, once we don't find any issues.
At this moment, we know that the custom Keycloak Grafana dashboards are not compatible with the OTel metrics: #41716 (comment)
Value Proposition
Provides the support for the Micrometer to OTel bridge that can be used in production and together with Keycloak Grafana dashboards.
changed the title [-]Promote the OpenTelemetry Metrics feature to preview/supported[/-][+]OTEL: Promote the OpenTelemetry Metrics feature to preview/supported[/+]on Jan 7, 2026
EDIT: OTel Logs seems to be stable, but not really the Quarkus Micrometer to OTel bridge at this moment. There are still some issues, and it will not be promoted to stable on the Quarkus side yet.
Wrg to lack of feedback of the community, hereby, we have this currently enabled and are testing this feature. Works well; besides the known discrepancies between the naming and the scaling (seconds vs milliseconds) hence not compatible with "standard" dashboards. If more feedback is necessary let me know. Hope to see the follow-up to align the naming etc to be in sub-sequent release.
I'm happy with the stability of logs but not about OTel Metrics.
There are not that many people using OTel Metrics and I'm still receiving integration related bugs.
Example: quarkusio/quarkus#52252
Because the quarkus-micrometer-opentelemetry stability is tagged as a whole, not per signal, at this moment we cannot mark the extension as stable.
@hrietman can you please more details about the seconds vs milliseconds issue. What's expected vs what you get.
From the documentation (https://www.keycloak.org/observability/keycloak-service-level-indicators) I was looking for a metric called "http_server_requests_seconds_bucket", however I can only find these mentioned metrics with the naming milliseconds, instead of seconds, like: "http_server_requests_milliseconds_bucket".
But this was already mentioned in this comment: #41716 (comment) So it is already on the radar.
@hrietman That's likely a bug. The OTel spec defines seconds as the correct unit. This might come from upstream or from the Quarkus configuration.
Because it's big breaking change it will only be fixed for Quarkus 4.
Created this: quarkusio/quarkus#52649
@brunobat So, you're not probably considering duplicating these metrics for some time, right? To have both milliseconds + seconds metrics emitted, so there might be no breaking change? But I'm not sure how many metrics are affected by the units issue and how much performance overhead it'd introduce.
If that might be an issue in the Quarkus configuration, is there anything we can do to convert it? We have it as an experimental feature, so it'd be mostly for some testing and trying it out. But not sure how much effort it'd need, so we can decide after some solution is there to find out if it's worth it or not.
Activity
[-]Promote the OpenTelemetry Metrics feature to preview/supported[/-][+]OTEL: Promote the OpenTelemetry Metrics feature to preview/supported[/+]vmuzikar commentedon Jan 27, 2026
Marking as blocked external as it needs to be supported at Quarkus side first.
mabartos commentedon Feb 2, 2026
Update from the Quarkus side:
EDIT: OTel Logs seems to be stable, but not really the Quarkus Micrometer to OTel bridge at this moment. There are still some issues, and it will not be promoted to stable on the Quarkus side yet.
Trying to obtain more info:
hrietman commentedon Feb 17, 2026
Wrg to lack of feedback of the community, hereby, we have this currently enabled and are testing this feature. Works well; besides the known discrepancies between the naming and the scaling (seconds vs milliseconds) hence not compatible with "standard" dashboards. If more feedback is necessary let me know. Hope to see the follow-up to align the naming etc to be in sub-sequent release.
mabartos commentedon Feb 17, 2026
@hrietman Thanks for the comment! Can you please provide more information about the mentioned scaling(seconds vs milliseconds) issues? Thanks!
brunobat commentedon Feb 17, 2026
As mentioned on an email:
@hrietman can you please more details about the seconds vs milliseconds issue. What's expected vs what you get.
hrietman commentedon Feb 18, 2026
From the documentation (https://www.keycloak.org/observability/keycloak-service-level-indicators) I was looking for a metric called "http_server_requests_seconds_bucket", however I can only find these mentioned metrics with the naming milliseconds, instead of seconds, like: "http_server_requests_milliseconds_bucket".
But this was already mentioned in this comment: #41716 (comment) So it is already on the radar.
brunobat commentedon Feb 18, 2026
@hrietman That's likely a bug. The OTel spec defines seconds as the correct unit. This might come from upstream or from the Quarkus configuration.
Because it's big breaking change it will only be fixed for Quarkus 4.
Created this: quarkusio/quarkus#52649
mabartos commentedon Feb 18, 2026
@brunobat So, you're not probably considering duplicating these metrics for some time, right? To have both milliseconds + seconds metrics emitted, so there might be no breaking change? But I'm not sure how many metrics are affected by the units issue and how much performance overhead it'd introduce.
If that might be an issue in the Quarkus configuration, is there anything we can do to convert it? We have it as an experimental feature, so it'd be mostly for some testing and trying it out. But not sure how much effort it'd need, so we can decide after some solution is there to find out if it's worth it or not.
vmuzikar commentedon Aug 3, 2026
This seems to be unblocked soon: quarkusio/quarkus#44423 (comment)