Skip to content

roidelapluie/octopush_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octopush metrics for Prometheus

This is an exporter for getting your Octopush balance as prometheus metrics.

Configuration

---
- login: abcd@sub-accounts.com
  key: 123123123sadfasfdfdfds
  labels:
    route: 1
    route_env: prod
    type: direct-32

The configuration is a list, you can supply multiple accounts.

Building

$ dep ensure
$ go build

How to run

./octopush_exporter -config conf.yml

Metrics

octopush_balance{balance="FR",route="1",route_env="prod",type="direct-32"} 14065.62
octopush_balance{balance="XXX",route="1",route_env="prod",type="direct-32"} 18003.96

Releases

No releases published

Packages

No packages published

Languages