mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2025-02-18 00:25:22 +00:00
Merge pull request #181 from prometheus/superq/reloaddoc
Mention automatic reloading in the README.
This commit is contained in:
commit
d5b22a2993
1 changed files with 4 additions and 2 deletions
|
@ -91,8 +91,10 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
|
||||||
## Metric Mapping and Configuration
|
## Metric Mapping and Configuration
|
||||||
|
|
||||||
The `statsd_exporter` can be configured to translate specific dot-separated StatsD
|
The `statsd_exporter` can be configured to translate specific dot-separated StatsD
|
||||||
metrics into labeled Prometheus metrics via a simple mapping language. A
|
metrics into labeled Prometheus metrics via a simple mapping language. The config
|
||||||
mapping definition starts with a line matching the StatsD metric in question,
|
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
|
with `*`s acting as wildcards for each dot-separated metric component. The
|
||||||
lines following the matching expression must contain one `label="value"` pair
|
lines following the matching expression must contain one `label="value"` pair
|
||||||
each, and at least define the metric name (label name `name`). The Prometheus
|
each, and at least define the metric name (label name `name`). The Prometheus
|
||||||
|
|
Loading…
Reference in a new issue