mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Merge pull request #86415 from mikedanese/statnames
rename _count to _total in a few metrics
This commit is contained in:
@@ -37,7 +37,7 @@ var (
|
|||||||
&metrics.CounterOpts{
|
&metrics.CounterOpts{
|
||||||
Namespace: "authentication",
|
Namespace: "authentication",
|
||||||
Subsystem: "token_cache",
|
Subsystem: "token_cache",
|
||||||
Name: "request_count",
|
Name: "request_total",
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
},
|
},
|
||||||
[]string{"status"},
|
[]string{"status"},
|
||||||
@@ -46,7 +46,7 @@ var (
|
|||||||
&metrics.GaugeOpts{
|
&metrics.GaugeOpts{
|
||||||
Namespace: "authentication",
|
Namespace: "authentication",
|
||||||
Subsystem: "token_cache",
|
Subsystem: "token_cache",
|
||||||
Name: "fetch_count",
|
Name: "fetch_total",
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
},
|
},
|
||||||
[]string{"status"},
|
[]string{"status"},
|
||||||
|
Reference in New Issue
Block a user