mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 03:45:11 -05:00
introduce metric naming test (#3789)
* introduce metric naming test Signed-off-by: zounengren <zounengren@cmss.chinamobile.com> * Update metrics.go Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
@@ -71,7 +71,7 @@ func setup(c *caddy.Controller) error {
|
||||
once.Do(func() {
|
||||
caddy.RegisterEventHook("reload", hook)
|
||||
c.OnRestart(func() error {
|
||||
metrics.MustRegister(c, reloadInfo, FailedCount)
|
||||
metrics.MustRegister(c, reloadInfo, failedCount)
|
||||
return nil
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user