mirror of
https://github.com/coredns/coredns.git
synced 2026-01-06 00:41:31 -05:00
return failure with CH class hits file or etcd, monitoring portis 9135
This commit is contained in:
@@ -53,10 +53,10 @@ var directiveOrder = []directive{
|
||||
// Directives that inject handlers (middleware)
|
||||
{"prometheus", setup.Prometheus},
|
||||
{"log", setup.Log},
|
||||
{"chaos", setup.Chaos},
|
||||
{"rewrite", setup.Rewrite},
|
||||
{"loadbalance", setup.Loadbalance},
|
||||
{"file", setup.File},
|
||||
{"chaos", setup.Chaos},
|
||||
{"secondary", setup.Secondary},
|
||||
{"etcd", setup.Etcd},
|
||||
{"proxy", setup.Proxy},
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
const (
|
||||
path = "/metrics"
|
||||
addr = "localhost:9153"
|
||||
addr = "localhost:9135" // 9153 is occopied by bind_exporter
|
||||
)
|
||||
|
||||
var once sync.Once
|
||||
|
||||
Reference in New Issue
Block a user