Prometheus sample dashboards

The RMF Distributed Data Server exposes Monitor III data to third-party tools using the OpenMetrics exposition format.

Before you begin

You must apply OA67701 to use the Prometheus sample dashboards.

About this task

The Prometheus sample dashboards are included in the RMF for z/OS Grafana plugin.
Note: You can use the sample dashboards provided with Prometheus-compatible platforms such as Grafana Mimir and VictoriaMetrics.

Procedure

  1. Install and deploy the RMF for z/OS Grafana plugin. See Installing the RMF for z/OS plugin on Grafana.
  2. Configure Prometheus to scrape the metrics exposed by RMF Distributed Data Server. For more information, refer to the Prometheus documentation.
    Some of the scrape target definition examples for Prometheus are as follows:
    • To scrape all the configured metrics as defined in DDS GPMOMC:
      - job_name: "m3@plex00"
       scrape_interval: 100s # Should be equal to the Monitor III mintime
       scrape_timeout: 50s
       metrics_path: /metrics/m3
       static_configs:
       - targets: [ "ddshostname:8803" ]
    • To scrape all the CPC and LPAR related metrics as defined in DDS GPMOMC:
      - job_name: "m3@plex00"
          scrape_interval: 100s  # Should be equal to the Monitor III mintime
          scrape_timeout: 50s
          metrics_path: /metrics/m3
          params:
              groups: cpcs,lpars   
          static_configs:
            - targets: [ "ddshostname:8803" ]
      
  3. Create a Prometheus data source in Grafana pointing to the Prometheus server. For more information, refer to the Grafana documentation.