From 8d9d1f923564f3983776d881be2c53ed3355937b Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Mon, 13 Feb 2023 16:18:21 +0300 Subject: [PATCH] [TrueCloudLab#29] Update billing metric label name Signed-off-by: Denis Kirillov --- metrics/billing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/billing.go b/metrics/billing.go index bb095b970..57ce95b6b 100644 --- a/metrics/billing.go +++ b/metrics/billing.go @@ -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,