keycloak/keycloak

feat(metrics): add label `application` to metrics generated by `keycloak`

Open

#36.280 aberto em 7 de jan. de 2025

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)Java (8.346 forks)batch import
help wantedkind/enhancementteam/production-readiness

Métricas do repositório

Stars
 (34.398 stars)
Métricas de merge de PR
 (Mesclagem média 6d 19h) (384 fundiu PRs em 30d)

Description

Description

Hello 👋

As a user of Keycloak in multiple environements (with quarkus, spring boot, armeria, ktor…), they all have in common the usage of micrometer, which makes monitoring and grafana dashboard easy to create.

However, in the stack, keycloak is the only one without application label in metrics, and this makes harder to rely on already existing dashboards, including those from the community.

Would it be possible to add an hardcoded label application: keycloak or maybe something we can configure… as soon as a label is available, it will do the job.

Discussion

No response

Motivation

Simplify operation and dashboard creation for Keycloak, using those already available for micrometer.

If required or accepted, I could provide a PR for this, with proper guidance to do that "the way the project wants it".

Details

Provided in the description.

Technically, this can be a simple line introduction, with registry.config().commonTags("application", "keycloak") in the code.

Guia do colaborador