diff options
author | 2020-01-18 19:16:57 +0330 | |
---|---|---|
committer | 2020-01-18 16:46:57 +0100 | |
commit | baaa834dc17fee81b58bd6dfe9ebe0a6025f3a57 (patch) | |
tree | e5e17792d5d6c6fc681a87bd3db0c358e4723b6e /plugin | |
parent | 5f159ca4649ebd125b4718d02367be10f402ed74 (diff) | |
download | coredns-baaa834dc17fee81b58bd6dfe9ebe0a6025f3a57.tar.gz coredns-baaa834dc17fee81b58bd6dfe9ebe0a6025f3a57.tar.zst coredns-baaa834dc17fee81b58bd6dfe9ebe0a6025f3a57.zip |
plugin/acl: document metrics in README (#3605)
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/acl/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
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. + |