Yes, it is possible to get the metrics from Prometheus.
Here are the steps to do so:
- Install the middleware agent in locally if not already
- Navigate to the integration page from the Middleware dashboard.
- Click on Prometheus and specify whether you have a standard host or Kubernetes host need to give details if you have a normal host agent or Kubernetes agent.
- Add the Prometheus endpoint as a job and target.
- As soon as you save the endpoint, the middleware agent will start collecting the metrics.
You can refer to documentation for more information.