Skip to content

ZPascal/keycloak-grafana-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak Grafana Dashboard

Description

Includes a KeyCloak Grafana dashboard to display JVM and application metrics. Compatible with Keycloak 25 and earlier (MicroProfile/SmallRye base_* metrics) as well as Keycloak 26+ (Micrometer metrics).

Functionality

Visualize the corresponding KeyCloak metrics from the selected Grafana data source. The dashboard uses PromQL or fallbacks so it works transparently on both Keycloak <26 and Keycloak 26+ without any manual configuration.

Grafana Dashboard

KeyCloak Grafana Dashboard

Changelog

  • Version 1: Initialization of the first version of the Quarkus-based Keycloak dashboard
  • Version 2: The dashboard version includes a switch of the Grafana graph to the time-series type
  • Version 3: Adjust the dashboard to support the Keycloak version 25 metrics
  • Version 4: Adjust the dashboard to shrink down the Grafana dashboard file
  • Version 5: Adjust the dashboard data source variable name
  • Version 6: Adjust the dashboard name
  • Version 7: Adapt the metrics and the descriptions
  • Version 8: Migrate to Micrometer metrics for Keycloak 26+ (virtual threads / JDK 21) && and add dual-query compatibility for Keycloak <26 and 26+ via PromQL or fallbacks

Images

Base metrics

KeyCloak_Base_Metrics

Vendor metrics

KeyCloak_Vendor_Metrics_1

Contribution

If you would like to contribute, have an improvement request, or want to make a change inside the code, please open a pull request.

Support

If you need support, or you encounter a bug, please don't hesitate to open an issue.

Donations

If you want to support my work, I ask you to take an unusual action inside the open source community. Donate the money to a non-profit organization like Doctors Without Borders or the Children's Cancer Aid. I will continue to build tools because I like them, and I am passionate about developing and sharing applications.

License

This product is available under the Apache 2.0 license.

About

Includes a KeyCloak Grafana dashboard to display the Quarkus MicroProfile metrics

Resources

License

Stars

9 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors