This section describes the Prometheus forwarding agent. The Prometheus agent is available for both real-time and batch workflow configurations. This agent lets you publish metrics in a format that can be scraped by Prometheus. The metrics can then be visualized using Grafana. How to configure a Grafana server is explained in Using Metrics (3.0).

The Prometheus forwarding agent stores metrics in a cache. The cached metrics are published in an endpoint which is scraped by Prometheus. 

You can configure a maximum number of metrics cached until Prometheus scrapes them. When you scrape a metric it is automatically removed from the cache. You can also set an expiration time for metrics. See the properties section here: Reading JMX Metrics, MIMs and Prometheus Agent Metrics from Execution Context Endpoint(3.0)

This section contains the following sub-sections: