Skip to content

Duration counts are doubled #226

@matthewashley1

Description

@matthewashley1

Description

After upgrading Keycloak to version 26.1.4, I am observing keycloak_request_duration_count metrics being incorrectly reported. For every single request that is made to the Keycloak server, the duration count metrics are reported as 2 instead of 1. This is causing the duration count metrics to be inflated by a factor of 2 for all requests.

Expected Behavior

Duration count metrics are reported correctly

Environment

  • OS version: Debian GNU/Linux 12 (bookworm)
  • Keycloak version: 26.1.4
  • Project version: 7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions