diff options
author | 2018-04-25 16:43:57 +0100 | |
---|---|---|
committer | 2018-04-25 11:43:56 -0400 | |
commit | 5c3e436d71b0c917a3f2d53c49059bee45a37f3c (patch) | |
tree | 4922c0921893a155fb7a867df20f8270fb2b20d5 /plugin/autopath/setup.go | |
parent | d3f2d4a291318607e084d57cd1b5e8f4882abbb5 (diff) | |
download | coredns-5c3e436d71b0c917a3f2d53c49059bee45a37f3c.tar.gz coredns-5c3e436d71b0c917a3f2d53c49059bee45a37f3c.tar.zst coredns-5c3e436d71b0c917a3f2d53c49059bee45a37f3c.zip |
plugin/autopath: per server metrics (#1730)
Implement per server metrics in autopath; also don't export the metric.
Updated readme as well.
Diffstat (limited to 'plugin/autopath/setup.go')
-rw-r--r-- | plugin/autopath/setup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/autopath/setup.go b/plugin/autopath/setup.go index 6015c7460..11c2b815d 100644 --- a/plugin/autopath/setup.go +++ b/plugin/autopath/setup.go @@ -26,7 +26,7 @@ func setup(c *caddy.Controller) error { } c.OnStartup(func() error { - once.Do(func() { metrics.MustRegister(c, AutoPathCount) }) + once.Do(func() { metrics.MustRegister(c, autoPathCount) }) return nil }) |