Skip to content

Introduction

This is a guide on monitoring Jenkins on Kubernetes with Prometheus and Grafana. There are other solutions out there, and if you want to learn those, I suggest to look elsewhere. If you're interested in diving in Jenkins Metrics and how to make sense of them with Prometheus and Grafana, read on!

What We Will Do

The outline of the steps to take is below. Each has its own page, so if you feel you have

  • create a Kubernetes cluster
  • configure the cluster (e.g. Helm)
  • install Prometheus and Grafana
  • install one or more Jenkins instances
  • get metrics from running Jenkins instance(s)
  • have queries for understanding the state and performance of the Jenkins instance(s)
  • have a dashboard to aid debugging an issue or determine new alerts
  • have alerts that fire when (potential) problematic conditions occur
  • get metrics from Jenkins Pipelines

Resources

The list below is both a shout out to the resources I learned from and as a reference for you if you want to learn more.


Last update: 2019-08-31 13:12:00