s/count/total/ in audit prometheus metrics

Kubernetes-commit: b34d6ab890d3d73b391a876125d1ea3141c54f1d
This commit is contained in:
Tim St. Clair 2017-06-26 14:41:20 -07:00 committed by Kubernetes Publisher
parent b7f543928d
commit dc4be7ced9
1 changed files with 3 additions and 3 deletions

View File

@ -32,13 +32,13 @@ var (
eventCounter = prometheus.NewCounter(
prometheus.CounterOpts{
Subsystem: subsystem,
Name: "event_count",
Name: "event_total",
Help: "Counter of audit events generated and sent to the audit backend.",
})
errorCounter = prometheus.NewCounterVec(
prometheus.CounterOpts{
Subsystem: subsystem,
Name: "error_count",
Name: "error_total",
Help: "Counter of audit events that failed to be audited properly. " +
"Plugin identifies the plugin affected by the error.",
},
@ -47,7 +47,7 @@ var (
levelCounter = prometheus.NewCounterVec(
prometheus.CounterOpts{
Subsystem: subsystem,
Name: "level_count",
Name: "level_total",
Help: "Counter of policy levels for audit events (1 per request).",
},
[]string{"level"},