Skip to content

keycloak_response_created gauge metric has too high values #229

@umersajid12

Description

@umersajid12

Hi,

I deployed a keycloak instance with the metrics SPI and i see the following in the metrics endpoint:

`# HELP keycloak_response_created Total number of responses

TYPE keycloak_response_created gauge

keycloak_response_created{code="200",method="PUT",resource="admin,auth/admin/realms",} 1.751874332821E9
keycloak_response_created{code="302",method="GET",resource="admin,auth/admin/",} 1.751876898306E9
keycloak_response_created{code="204",method="PUT",resource="admin,auth/admin/realms",} 1.751874307708E9

These values in the Billion range look erroneous, i believe there is a bug in how this is calculated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions