Skip to content

estenrye/prometheus-phoenixnap-bmc-exporter

Repository files navigation

prometheus-phoenixnap-bmc-exporter

dashboard screenshot

Developing

  1. Install development tooling

    brew bundle
    go mod tidy
  2. Build the image

    docker compose build
  3. Create a configuration file at ~/.pnap/config.yaml:

    clientId: super-secret-redacted-uuid-here
    clientSecret: super-secret-redacted-uuid-here
    tokenUrl: https://auth.phoenixnap.com/auth/realms/BMC/protocol/openid-connect/token
    log:
        level: trace
        format: json
  4. Launch a local environment.

    docker compose up

    Links:

    Service Url Description
    grafana http://localhost:3000 Grafana Dashboard is hosted here. Username: admin, Password: grafana
    prometheus http://localost:9090 Prometheus scrapes every 15 seconds.
    exporter http://localhost:9150/metrics PhoenixNAP BMC exporter.

About

Prometheus Exporter for the PhoenixNAP BMC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published