From a84e883e4b39f6a040d479b5be89b0750f4e7bf1 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Wed, 18 Dec 2019 21:58:13 -0800 Subject: [PATCH] rename _count to _total in a few metrics request_total is fully accumulating, fetch_total is mostly accumulating except for the active label. --- .../k8s.io/apiserver/pkg/authentication/token/cache/stats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go b/staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go index 8435f6834d9..50f01395920 100644 --- a/staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go +++ b/staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go @@ -37,7 +37,7 @@ var ( &metrics.CounterOpts{ Namespace: "authentication", Subsystem: "token_cache", - Name: "request_count", + Name: "request_total", StabilityLevel: metrics.ALPHA, }, []string{"status"}, @@ -46,7 +46,7 @@ var ( &metrics.GaugeOpts{ Namespace: "authentication", Subsystem: "token_cache", - Name: "fetch_count", + Name: "fetch_total", StabilityLevel: metrics.ALPHA, }, []string{"status"},