Skip to content

OTEL: Promote the OpenTelemetry Metrics feature to preview/supported #45159

Open
1 of 2 issues completed
Open

Description

@mabartos

Description

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.

Goals

  • Promote the feature to preview/supported
  • Create release notes with the info
  • Verify metrics are properly emitted

Non-Goals

  • Fix Keycloak Grafana dashboards

Discussion

No response

Notes

No response

Sub-issues

Sub-issues

1 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    kind/enhancement
    priority/important
    area/observability
    on Jan 6, 2026
  2. changed the title [-]Promote the OpenTelemetry Metrics feature to preview/supported[/-] [+]OTEL: Promote the OpenTelemetry Metrics feature to preview/supported[/+] on Jan 7, 2026
  3. added this to the 26.6.0 milestone on Jan 13, 2026
  4. added
    status/blocked-external
    on Jan 27, 2026
  5. vmuzikar commented on Jan 27, 2026

    @vmuzikar
    Contributor

    Marking as blocked external as it needs to be supported at Quarkus side first.

  6. mabartos commented on Feb 2, 2026

    @mabartos
    MemberAuthor

    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:

  7. self-assigned this
    on Feb 2, 2026
  8. hrietman commented on Feb 17, 2026

    @hrietman

    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.

  9. mabartos commented on Feb 17, 2026

    @mabartos
    MemberAuthor

    @hrietman Thanks for the comment! Can you please provide more information about the mentioned scaling(seconds vs milliseconds) issues? Thanks!

  10. brunobat commented on Feb 17, 2026

    @brunobat

    As mentioned on an email:

    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.

  11. hrietman commented on Feb 18, 2026

    @hrietman

    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.

  12. brunobat commented on Feb 18, 2026

    @brunobat

    @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

  13. mabartos commented on Feb 18, 2026

    @mabartos
    MemberAuthor

    @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.

  14. modified the milestones: 26.6.0, 26.7.0 on Mar 11, 2026
  15. modified the milestones: 26.7.0, 26.8.0 on Mar 25, 2026
  16. removed their assignment
    on May 14, 2026
  17. vmuzikar commented on Aug 3, 2026

    @vmuzikar
    Contributor

    This seems to be unblocked soon: quarkusio/quarkus#44423 (comment)

  18. modified the milestones: 26.8.0, 26.9.0 on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/observabilitykind/enhancementpriority/importantstatus/blocked-externalteam/cloud-nativeteam/production-readiness

    Fields

    Value

    None yet

    Effort

    None yet

    Votes

    None yet

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions