From 6dcda3afa6dbcd1bae93e755c8bfee5e1530b201 Mon Sep 17 00:00:00 2001 From: Michael Okoko <10512379+idoqo@users.noreply.github.com> Date: Mon, 16 Sep 2024 08:06:19 +0100 Subject: [PATCH] PMM-13362: Follow convention for metric name (#907) * follow convention for metric name * drop sleep time bump --- exporter/pbm_collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/pbm_collector.go b/exporter/pbm_collector.go index f498349c..fc613a2b 100644 --- a/exporter/pbm_collector.go +++ b/exporter/pbm_collector.go @@ -164,7 +164,7 @@ func (p *pbmCollector) pbmBackupsMetrics(ctx context.Context, pbmClient *sdk.Cli metrics := make([]prometheus.Metric, 0, len(backupsList)) for _, backup := range backupsList { - metrics = append(metrics, createPBMMetric("backup_size", + metrics = append(metrics, createPBMMetric("backup_size_bytes", "Size of PBM backup", float64(backup.Size), map[string]string{ "opid": backup.OPID,