Jenkins Prometheus Plugin expose an endpoint (default /prometheus) with metrics where a Prometheus Server can scrape.
Currently only metrics from the Metrics-plugin and summary of build duration of jobs and pipeline stages
PROMETHEUS_NAMESPACE Prefix of metric (Default: default).
PROMETHEUS_ENDPOINT REST Endpoint (Default: prometheus)
mvn clean install
mvn hpi:hpi