Skip to content

Commit 6dcda3a

Browse files
authored
PMM-13362: Follow convention for metric name (#907)
* follow convention for metric name * drop sleep time bump
1 parent 23502f1 commit 6dcda3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/pbm_collector.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (p *pbmCollector) pbmBackupsMetrics(ctx context.Context, pbmClient *sdk.Cli
164164
metrics := make([]prometheus.Metric, 0, len(backupsList))
165165

166166
for _, backup := range backupsList {
167-
metrics = append(metrics, createPBMMetric("backup_size",
167+
metrics = append(metrics, createPBMMetric("backup_size_bytes",
168168
"Size of PBM backup",
169169
float64(backup.Size), map[string]string{
170170
"opid": backup.OPID,

0 commit comments

Comments
 (0)