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:
Mike Danese 2019-12-18 21:58:13 -08:00
parent 40df9f82d0
commit a84e883e4b

View File

@ -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"},