Prometheus
Retrieve metrics from a Prometheus endpoint.
Prerequisites
Before using this integration, ensure that the Middleware Host agent has been successfully installed on your machine.
1. Setup
Follow these steps to set up the Prometheus integration:
- In the Middleware UI, navigate to the Integrations page
- Click on the Prometheus integration and you will see some settings as shown below:

a) First you will need to select the host from which you can access your prometheus endpoint. b) Add Prometheus Endpoint Name and URL, which we call Job and Target in Prometheus. (You can also add multiple URLs under 1 name) Once you save these settings. Middleware agent will start collecting metrics from the Prometheus endpoint.
2. Create your own dashboard
You can create your custom dashboard based on prometheus endpoint we just scraped.
When adding a new widget to an existing dashboard, you will find a list of available Prometheus metrics under the “service” data source.
These metrics can be visualized using various widget types, such as Timeseries, Bar Chart, Pie Chart, and more.

Was this page helpful?