Skip to content

Commit fc82aa2

Browse files
authored
Merge pull request kubernetes#86415 from mikedanese/statnames
rename _count to _total in a few metrics
2 parents 810f0c2 + a84e883 commit fc82aa2

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/apiserver/pkg/authentication/token/cache

1 file changed

+2
-2
lines changed

staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
&metrics.CounterOpts{
3838
Namespace: "authentication",
3939
Subsystem: "token_cache",
40-
Name: "request_count",
40+
Name: "request_total",
4141
StabilityLevel: metrics.ALPHA,
4242
},
4343
[]string{"status"},
@@ -46,7 +46,7 @@ var (
4646
&metrics.GaugeOpts{
4747
Namespace: "authentication",
4848
Subsystem: "token_cache",
49-
Name: "fetch_count",
49+
Name: "fetch_total",
5050
StabilityLevel: metrics.ALPHA,
5151
},
5252
[]string{"status"},

0 commit comments

Comments
 (0)