mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
plugin/autopath: per server metrics (#1730)
Implement per server metrics in autopath; also don't export the metric. Updated readme as well.
This commit is contained in:
committed by
Chris O'Haver
parent
d3f2d4a291
commit
5c3e436d71
@@ -29,7 +29,9 @@ If a plugin implements the `AutoPather` interface then it can be used.
|
||||
|
||||
If monitoring is enabled (via the *prometheus* directive) then the following metric is exported:
|
||||
|
||||
* `coredns_autopath_success_count_total{}` - counter of successfully autopath-ed queries.
|
||||
* `coredns_autopath_success_count_total{server}` - counter of successfully autopath-ed queries.
|
||||
|
||||
The `server` label is explained in the *metrics* plugin documentation.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user