Este contenido no está disponible en el idioma seleccionado.

Chapter 4. Integrated applications


Cryostat integrates with specific applications that can enhance how you analyze data from your JFR recording.

4.1. Viewing a JFR recording on Grafana

Cryostat 2.4 integrates with the Grafana application, so you can plot JFR recording data in Grafana. You can view plot data in time interval sections to precisely analyze the performance of your target JVM application.

Prerequisites

Procedure

  1. Go to the Recordings menu or the Archives menu on your Cryostat instance.
  2. Depending on your needs, click either the Active Recordings tab or the Archived Recordings tab.
  3. Locate your JFR recording and then select the overflow menu.

    Figure 4.1. Overflow menu items available for an example JFR recording

    Overflow menu items available for an example JFR recording
  4. From the overflow menu, click the View in Grafana option. The Grafana application opens in a new web browser window.
  5. Click the sign-in icon on the Grafana dashboard.
  6. Determine your credentials by issuing the following commands in your terminal.

    <cryostat_name>=$(kubectl get cryostat -o jsonpath='{$.items[0].metadata.name}')
    
    oc get secret $<cryostat_name>-grafana-basic -o jsonpath='{$.data.GF_SECURITY_ADMIN_USER}' | base64 -d
    
    oc get secret $<cryostat_name>-grafana-basic -o jsonpath='{$.data.GF_SECURITY_ADMIN_PASSWORD}' | base64 -d

    You can also locate your credentials from the Grafana Secret custom resource (CR) on the Cryostat details page on Red Hat OpenShift.

    Figure 4.2. The Grafana Secret CR on the Cryostat details page on OpenShift

    The *Grafana Secret* CR on the *Cryostat details* page on Red Hat OpenShift
  7. Enter your credentials in the Grafana web console login page. A dashboard window opens and shows your JFR recording’s data in various time-series plots.
  8. Optional: Interact with any plot by selecting a time-series segment on the plot. Grafana expands the on-screen data to show only the data for that time interval.

    Figure 4.3. Example of a Grafana dashboard with plotted graphs

    Example of a Grafana dashboard with plotted graphs

Revised on 2023-12-12 17:53:25 UTC

Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba