From 5ff2356e36901c03e75f72b9f1b2014a355bcc4c Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Thu, 24 Jan 2019 08:26:45 +0100 Subject: [PATCH] Mention automatic reloading in the README. Signed-off-by: Ben Kochie --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35e65aa..cb7df19 100644 --- a/README.md +++ b/README.md @@ -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