Mention automatic reloading in the README.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2019-01-24 08:26:45 +01:00
parent 671c01aa7f
commit 5ff2356e36
No known key found for this signature in database
GPG key ID: 7D88366AC0FCE38A

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