mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 01:04:15 -04:00
plugin/acl: document metrics in README (#3605)
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
This commit is contained in:
committed by
Miek Gieben
parent
5f159ca464
commit
baaa834dc1
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user