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.
More on Backups, HA, upgrades & performance
What do you back up in Jenkins and what do you exclude?IntermediateHow do you back up Jenkins running on Kubernetes?IntermediateDoes Jenkins support active-active high availability?AdvancedHow do you plan a Jenkins LTS upgrade?IntermediateWhat does "Manage Old Data" mean after an upgrade?BeginnerHow do you size and tune the controller JVM?Advanced