plugin/acl: document metrics in README (#3605)

Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
This commit is contained in:
Erfan Besharat
2020-01-18 19:16:57 +03:30
committed by Miek Gieben
parent 5f159ca464
commit baaa834dc1

View File

@@ -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.