Skip to content

orange-cloudfoundry/prometheus-addons-boshrelease

Repository files navigation

prometheus-addons-boshrelease

Features

This is a bosh release providing the following tools from

The release is actually focused on mongodb, but is still subject to evolve if there is any need.

Upload the last release

  • get and upload the last release from github

    wget https://github.com/jraverdy-orange/prometheus-addons-boshrelease/releases/download/v2.1.1/prometheus-addons-v2.1.1.tgz
    
    bosh upload-release prometheus-addons-v2.1.1.tgz
  • get the sources from github to recover needed opsfiles, which are necessary on both prometheus and mongodb deployments

    git clone https://github.com/jraverdy-orange/prometheus-addons-boshrelease.git

Adding the dashboards and alerts to grafana and alertmanager

The release provides the needed opsfile to include the attached dashboards

just add the following to the prometheus-boshrelease deployment command:

bosh deploy ... 
...
-o prometheus-addons-boshrelease/opsfiles/use-mongodb-dashboards-alerts.yml 

Including the exporter to the mongodb deployment

The release provide to opsfiles considering if we use TLS or not for mongodb connection

You should have to modify provided opsfiles to fit your instances group name

path: /instance_groups/name=mongo/jobs/name=mongodb_exporter?