mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
export config file hash in a metric (#3768)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
@@ -99,6 +99,9 @@ CoreDNS v1.7.0 and later does parse the Corefile and supports detecting changes
|
||||
If monitoring is enabled (via the *prometheus* plugin) then the following metric is exported:
|
||||
|
||||
* `coredns_reload_failed_count_total{}` - counts the number of failed reload attempts.
|
||||
* `coredns_reload_version_info{hash, value}` - record the hash value during reload.
|
||||
|
||||
Currently the type of `hash` is "md5", the `value` is the returned hash value.
|
||||
|
||||
## Also See
|
||||
|
||||
|
||||
Reference in New Issue
Block a user