이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 7. Visualizing activities in dashboards


Install the Red Hat build of Keycloak Grafana dashboards to visualize the metrics that capture the status and activities of your deployment.

Red Hat build of Keycloak provides metrics to observe what is happening inside the deployment. To understand how metrics evolve over time, it is helpful to collect and visualize them in graphs.

This guide provides instructions on how to visualize collected Red Hat build of Keycloak metrics in a running Grafana instance.

7.1. Prerequisites

  • Red Hat build of Keycloak metrics are enabled. Follow Gaining insights with metrics chapter for more details.
  • Grafana instance is running and Red Hat build of Keycloak metrics are collected into a Prometheus instance.
  • For the HTTP request latency heatmaps to work, enable histograms for HTTP metrics by setting http-metrics-histograms-enabled to true.

7.2. Red Hat build of Keycloak Grafana dashboards

Grafana dashboards are distributed in the form of a JSON file that is imported into a Grafana instance. JSON definitions of Red Hat build of Keycloak Grafana dashboards are available in the keycloak/keycloak-grafana-dashboard GitHub repository.

Follow these steps to download JSON file definitions.

  1. Identify the branch from keycloak-grafana-dashboards to use from the following table.

    Expand
    Red Hat build of Keycloak versionkeycloak-grafana-dashboards branch

    >= 26.1

    main

  2. Clone the GitHub repository

    git clone -b BRANCH_FROM_STEP_1 https://github.com/keycloak/keycloak-grafana-dashboard.git
    Copy to Clipboard Toggle word wrap
  3. The dashboards are available in the directory keycloak-grafana-dashboard/dashboards.

The following sections describe the purpose of each dashboard.

7.2.1. Red Hat build of Keycloak troubleshooting dashboard

This dashboard is available in the JSON file: keycloak-troubleshooting-dashboard.json.

On the top of the dashboard, graphs display the service level indicators as defined in Monitoring performance with Service Level Indicators. This dashboard can be also used while troubleshooting a Red Hat build of Keycloak deployment following the Troubleshooting using metrics chapter, for example, when SLI graphs do not show expected results.

Figure 7.1. Troubleshooting dashboard

7.2.2. Keycloak capacity planning dashboard

This dashboard is available in the JSON file: keycloak-capacity-planning-dashboard.json.

This dashboard shows metrics that are important when estimating the load handled by a Red Hat build of Keycloak deployment. For example, it shows the number of password validations or login flows performed by Red Hat build of Keycloak. For more detail on these metrics, see the chapter Self-provided metrics.

Note

Red Hat build of Keycloak event metrics must be enabled for this dashboard to work correctly. To enable them, see the chapter Monitoring user activities with event metrics.

Figure 7.2. Capacity planning dashboard

7.3. Import a dashboard

  1. Open the dashboard page from the left Grafana menu.
  2. Click New and Import.
  3. Click Upload dashboard JSON file and select the JSON file of the dashboard you want to import.
  4. Pick your Prometheus datasource.
  5. Click Import.

7.4. Export a dashboard

Exporting a dashboard to JSON format may be useful. For example, you may want to suggest a change in our dashboard repository.

  1. Open a dashboard you would like to export.
  2. Click share in the top left corner next to the dashboard name.
  3. Click the Export tab.
  4. Enable Export for sharing externally.
  5. Click either Save to file or View JSON and Copy to Clipboard according to where you want to store the resulting JSON.

7.5. Further reading

Continue reading on how to connect traces to dashboard in the Analyzing outliers and errors with exemplars chapter.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat