This repo contains grafana dashboards to monitor Cloudbees CI Controllers.
It assumes you have setup the additional scrapped Configurations in Prometheus.
it also assumes you have the Prometheus Monitoring Plugin installed in all your controllers and the endpoint
http(s)://<CJOC_URL>/<controller>/prometheus
returns metrics.
Example of Scrapped Configuration for CI Controllers
- c1 && c2 are the Controllers' name
additionalScrapeConfigs:
- job_name: 'c1-metrics'
metrics_path: '/c1/prometheus'
static_configs:
- targets: ['c1.default.svc.cluster.local:80']
- job_name: 'c2-metrics'
metrics_path: '/c2/prometheus'
static_configs:
- targets: ['c2.default.svc.cluster.local:80']
You can simply import any of these dashboards in your prometheus/grafana setup
There is only 1 change you need to make and that is related to process_virtual_memory check as it is needed to specify the fqdn of the instances to monitor (otherwise there is too much noise)
Main Monitoring and Alerting Dashboards:
Under advance/ folder, you can find an advanced set of dashboards for you to use if you think so.
Advanced Dashboards:
-
Executors.png -> CI Controller's executor monitoring dashboard
-
GeneralInfo.png -> CI Controller's Status and Uptime Monitoring Dashboard
-
Jobs.png -> CI Controller's Job Properties Monitoring Dashboard
-
NodeInfo.png -> CI Controller's Node Info Monitoring Dashboard
-
Projects.png -> CI Controller's Projects Monitoring Dashboard
-
Servlet.png -> CI Controller's Servlets Monitoring Dashboard
-
health_checks.png -> CI Controller's health checks Monitoring Dashboard
-
httpInfo.png -> CI Controller's httpInfo Monitoring Dashboard
-
systemMetrics.png -> CI Controller's System Metrics Monitoring Dashboard
-
CI_JVM.json -> CI Controller's JVM Monitoring Dashboard