Interview Prep/Jenkins/Backups, HA, upgrades & performance

How do you monitor Jenkins?

IntermediateConceptBackups, HA, upgrades & performance
Answer

Install the Prometheus metrics plugin (exposes /prometheus/) or OpenTelemetry plugin. Key metrics: queue size and wait time, busy vs idle executors, number of online agents, build duration and failure rate per job, JVM heap and GC time, HTTP request latency, disk free on JENKINS_HOME. Alert on queue length above threshold for 10 minutes, heap above 85%, disk below 15%, and agents offline. The OpenTelemetry plugin can also trace pipelines as spans.

All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance