[TrueCloudLab#29] Update billing metric label name
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
787d1a347a
commit
8d9d1f9235
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ func (b *billingMetrics) Collect(ch chan<- prometheus.Metric) {
|
||||||
prometheus.NewDesc(
|
prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(namespace, billingSubsystem, "user_traffic"),
|
prometheus.BuildFQName(namespace, billingSubsystem, "user_traffic"),
|
||||||
"",
|
"",
|
||||||
[]string{"user", "bucket", "cid", "type"}, nil),
|
[]string{"user", "bucket", "cid", "direction"}, nil),
|
||||||
prometheus.CounterValue,
|
prometheus.CounterValue,
|
||||||
float64(value.Value),
|
float64(value.Value),
|
||||||
value.User,
|
value.User,
|
||||||
|
|
Loading…
Reference in a new issue