[TrueCloudLab#29] Update billing metric label name

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
pull/8/merge
Denis Kirillov 2023-02-13 16:18:21 +03:00 committed by Alex Vanin
parent 787d1a347a
commit 8d9d1f9235
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (b *billingMetrics) Collect(ch chan<- prometheus.Metric) {
prometheus.NewDesc(
prometheus.BuildFQName(namespace, billingSubsystem, "user_traffic"),
"",
[]string{"user", "bucket", "cid", "type"}, nil),
[]string{"user", "bucket", "cid", "direction"}, nil),
prometheus.CounterValue,
float64(value.Value),
value.User,