diff --git a/.travis.yml b/.travis.yml index ba2a75e..bde02f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,6 @@ before_install: script: - |- gox \ - -os="linux darwin windows" \ - -arch="amd64" \ -output="build/{{.Dir}}_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}" \ -ldflags " \ -X github.com/prometheus/common/version.Revision=${TRAVIS_COMMIT} \ diff --git a/readme.md b/readme.md index ead75a5..b4b3708 100644 --- a/readme.md +++ b/readme.md @@ -1,9 +1,10 @@ # Smsc balance exporter -The smsc balance exporter allows exporting balance for [smsc gateway](https://smsc.ru) +The smsc balance exporter for [prometheus](https://prometheus.io) allows exporting balance for [smsc gateway](https://smsc.ru) ## How it works -Exporter querying balance every hour (by default) and save it value in memory +Exporter querying balance every hour (by default) and store it value in memory. +When prometheus make request, exporter retrieve balance value from memory for make response. ## Configuration You must set environment variables: @@ -14,7 +15,7 @@ You must set environment variables: ## Command-line flags * `listen-address` - The address to listen on for HTTP requests. (Default: `0.0.0.0:9601`) -* `interval` - The address to listen on for HTTP requests. (Default: `0.0.0.0:9601`) +* `interval` - Interval (in seconds) for querying balance. (Default: `0.0.0.0:9601`) ## Running with systemctl