Merge pull request #181 from prometheus/superq/reloaddoc

Mention automatic reloading in the README.
This commit is contained in:
Matthias Rampke 2019-01-24 09:16:10 +00:00 committed by GitHub
commit d5b22a2993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,8 +91,10 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
## Metric Mapping and Configuration
The `statsd_exporter` can be configured to translate specific dot-separated StatsD
metrics into labeled Prometheus metrics via a simple mapping language. A
mapping definition starts with a line matching the StatsD metric in question,
metrics into labeled Prometheus metrics via a simple mapping language. The config
file is watched for changes and automatically reloaded.
A mapping definition starts with a line matching the StatsD metric in question,
with `*`s acting as wildcards for each dot-separated metric component. The
lines following the matching expression must contain one `label="value"` pair
each, and at least define the metric name (label name `name`). The Prometheus