Skip to content

deployment pipeline and BOSH operators for prometheus

Notifications You must be signed in to change notification settings

govau/deploy-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Prometheus Monitoring - BOSH deployment details

Prometheus is an Open source monitoring tool. A BOSH release was created for it prometheus-boshrelease.

The BOSH release deploys the following monitoring tools - Prometheus, AlertManager and Grafana.

Usage

Setting up local BOSH environment

The instructions for deploying a local BOSH2 director are here

Basic deployment

The prometheus boshrelease provides great documentation as well as the core BOSH deployment manifest and standard operator files.
This DTA repository provides some custom operator files and a concourse pipelines for deploying it to our environments.

DTA operators

  • Configuration for BOSH-dns. We assume it has been added as an add-on in the bosh runtime-config. We use this for getting Prometheus federation working.
  • The default deployment name prometheus is specified in the main deployment manifest. This operator file allows you change the name - useful if you deploy more than 1 prometheus service.
  • Add 3 webserver instances to public subnets with EIPs. the 3 new nginx hosts are for Grafana, Prometheus and AlertManager
  • This operator file performs the main customisations for deploying prometheus to AWS cloud.gov.au environments.
  • increase the scrape timeout from 10s to 20s.
  • scrape the metrics from the certwatcher deployed on cloud.gov.au
  • add cloudfoundry alerts to prometheus2 instance.
  • add cloudfoundry dashboards to grafana instance.
  • black-box monitoring of urls
  • ensure linking works even if we have multiple prometheus instances (eg federation setup)
  • monitor the federated prometheus instances
  • run cf-exporter at prod environment
  • run firehose-exporter at prod environment
  • run bosh-exporter at prod environment
  • run cf-exporter at sandpit environment
  • run firehose-exporter at sandpit environment
  • run bosh-exporter at sandpit environment
  • run cf-exporter at staging environment
  • run firehose-exporter at staging environment
  • run bosh-exporter at staging environment
  • Remove the nginx instance that comes with default prometheus bosh release. we remove this in prod as we have 3 new webservers for Grafana, Prometheus and AlertManager
  • our BOSH instances are deployed with UAA.

About

deployment pipeline and BOSH operators for prometheus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages