Skip to content

Commit

Permalink
Fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Александр authored and Александр committed Dec 5, 2018
1 parent 699fc44 commit fcb03c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

Expand Down

0 comments on commit fcb03c6

Please sign in to comment.