Prometheus Sample Dashboards
The RMF Distributed Data Server exposes Monitor III data to third-party tools using the OpenMetrics exposition format.
The Monitor III data is exposed through the /metrics/m3 endpoint.
The endpoint accepts an optional groups parameter to request specific metric groups:
GET /metrics/m3?groups=<metric-groups>
where <metric-groups> is a comma-separated list of metric groups to be expose retrieved. For more information, see RMF Distributed Data Server documentation.
- Install and deploy the IBM RMF for z/OS Grafana plugin. For more information, see Installing the RMF for z/OS plugin on Grafana.
-
Configure Prometheus to scrape the metrics exposed by RMF Distributed Data Server. For more information, see 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" ]
- Create a Prometheus data source in Grafana pointing to the Prometheus server. For more information, see the Grafana documentation.