Skip to content

danieloa/CIMonitoringGrafana

Repository files navigation

CIMonitoringGrafana

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 Dashboard

Main Monitoring and Alerting Dashboards:

  • Overall CI Monitoring.json -> All in one dashboard Overall CI Monitoring

  • CBCI SLOs.json -> Metrics: SLOs and SLIs CBCI SLOs

  • Alerts Overall CI Dashboard -> Alerts for Overall CI Monitoring Dashboard AlertsOverallCIMonitoring

Advanced Dashboards

Under advance/ folder, you can find an advanced set of dashboards for you to use if you think so.

Advanced Dashboards:

  • CJOCListeners.png -> CI Controller's webhooks towards OC CJOCListeners

  • Executors.png -> CI Controller's executor monitoring dashboard Executors

  • GeneralInfo.png -> CI Controller's Status and Uptime Monitoring Dashboard GeneralInfo

  • Jobs.png -> CI Controller's Job Properties Monitoring Dashboard Jobs

  • NodeInfo.png -> CI Controller's Node Info Monitoring Dashboard NodeInfo

  • Plugins.png -> CI Controller's Plugins Monitoring Dashboard Plugins

  • Projects.png -> CI Controller's Projects Monitoring Dashboard Projects

  • Queue.png -> CI Controller's Queue Monitoring Dashboard Queue

  • Runs.png -> CI Controller's Runs Monitoring Dashboard Runs

  • Servlet.png -> CI Controller's Servlets Monitoring Dashboard Servlet

  • Tasks.png -> CI Controller's Tasks Monitoring Dashboard Tasks

  • health_checks.png -> CI Controller's health checks Monitoring Dashboard health_checks

  • httpInfo.png -> CI Controller's httpInfo Monitoring Dashboard httpInfo

  • k8s.png -> CI Controller's k8s info Monitoring Dashboard k8s

  • systemMetrics.png -> CI Controller's System Metrics Monitoring Dashboard systemMetrics

  • CI_JVM.json -> CI Controller's JVM Monitoring Dashboard

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published