correct metrics name of cache size (#3805)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
parent
7bb32dee7d
commit
4ccd55e95e
6 changed files with 9 additions and 7 deletions
|
@ -209,7 +209,7 @@ func TestMetricsAvailableAfterReload(t *testing.T) {
|
|||
// that is not used in another test
|
||||
promAddress := "127.0.0.1:53186"
|
||||
procMetric := "coredns_build_info"
|
||||
procCache := "coredns_cache_size"
|
||||
procCache := "coredns_cache_entries"
|
||||
procForward := "coredns_dns_request_duration_seconds"
|
||||
corefileWithMetrics := `
|
||||
.:0 {
|
||||
|
@ -263,7 +263,7 @@ func TestMetricsAvailableAfterReloadAndFailedReload(t *testing.T) {
|
|||
// that is not used in another test
|
||||
promAddress := "127.0.0.1:53187"
|
||||
procMetric := "coredns_build_info"
|
||||
procCache := "coredns_cache_size"
|
||||
procCache := "coredns_cache_entries"
|
||||
procForward := "coredns_dns_request_duration_seconds"
|
||||
corefileWithMetrics := `
|
||||
.:0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue