Installing the starter
The starter showcases how to use ODP to export data (metrics) from OMEGAMON to Prometheus.
ODP acts as a Prometheus exporter, making OMEGAMON data available via an HTTP endpoint.
You can configure Prometheus to scrape the metrics from the HTTP endpoint served by the OMEGAMON Data Connect component of ODP.
The supplied starter Grafana dashboard shows metrics collected by the OMEGAMON z/OS agent.
Getting the dashboard
You need to get the GitHub repository z-open-data/odp-prometheus-samples
open in new window that contains the Grafana dashboard definition file. Either:
- Clone the GitHub repository
- If you don't want to use Git, download a
.zip
fileopen in new window of the repository
Installing the dashboard
Here is a summary of the steps for installing the starter dashboard.
Prerequisite steps on z/OS:
- Configure OMEGAMON Data Connect to specify the data (metrics) that you want to expose via a Prometheus endpoint
- Update the ODP collection configuration to forward the attribute tables (groups) used by the dashboard
- Create historical data collections for those attribute groups
In Prometheus and Grafana:
- Configure Prometheus to scrape from the endpoint served by OMEGAMON Data Connect
- Import the dashboard definition in Grafana