Skip to content

cloudfoundry/node-exporter-boshrelease

Repository files navigation

Prometheus Node Exporter BOSH Release

This is a BOSH release for the Prometheus Node Exporter for Linux based stemcells.

It is intented to be deployed as a BOSH Addon and alongside the Prometheus BOSH Release.

Usage

To use this BOSH release, first upload it to your BOSH:

export BOSH_ENVIRONMENT=<name>
bosh upload-release https://github.com/cloudfoundry-community/node-exporter-boshrelease/releases/download/v1.1.0/node-exporter-1.1.0.tgz

Then create a runtime configuration file:

releases:
 - name: node-exporter
   version: 1.1.0

addons:
  - name: node_exporter
    jobs:
      - name: node_exporter
        release: node-exporter
    include:
      stemcell:
        - os: ubuntu-trusty
    properties: {}

Now you can update your BOSH Runtime Config with the previously created file:

bosh update-runtime-config <your runtime-config.yaml file location>

Once runtime config is updated it will applied to all new deployments (the existing deployments will be considered outdated and they will be update when they are deployed again).

Contributing

Refer to CONTRIBUTING.md.

License

Apache License 2.0, see LICENSE.