mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
rename _count to _total in a few metrics
request_total is fully accumulating, fetch_total is mostly accumulating except for the active label.
This commit is contained in:
parent
40df9f82d0
commit
a84e883e4b
@ -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"},
|
||||||
|
Loading…
Reference in New Issue
Block a user