From baaa834dc17fee81b58bd6dfe9ebe0a6025f3a57 Mon Sep 17 00:00:00 2001 From: Erfan Besharat Date: Sat, 18 Jan 2020 19:16:57 +0330 Subject: [PATCH] plugin/acl: document metrics in README (#3605) Signed-off-by: Erfan Besharat --- plugin/acl/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugin/acl/README.md b/plugin/acl/README.md index 9a964db21..e04bb8d40 100644 --- a/plugin/acl/README.md +++ b/plugin/acl/README.md @@ -66,3 +66,14 @@ example.org { } } ~~~ + +## Metrics + +If monitoring is enabled (via the _prometheus_ plugin) then the following metrics are exported: + +- `coredns_request_block_count_total{server, zone}` - counter of DNS requests being blocked. + +- `coredns_request_allow_count_total{server}` - counter of DNS requests being allowed. + +The `server` and `zone` labels are explained in the _metrics_ plugin documentation. +