How do you integrate Jenkins with a monitoring tool (like Grafana or Prometheus) to monitor pipeline performance? Can you share an example configuration or plugin setup?
The aim here is to investigate how Jenkins pipelines can be merged with monitoring tools to track pipeline performance and metrics. This includes exporting Jenkins data through the usage of plugins or APIs to Grafana or Prometheus-like tools. The question requires elaboration on the setup and any configuration that would be needed for smooth integration.