Skip to content

Commit 7fbf7ee

Browse files
authored
PMM-14231 - Enhance pbmBackupsMetrics to include backup type in metrics (#1174)
* Enhance pbmBackupsMetrics to include backup type in metrics * Fix formatting in pbm_collector.go * Fix formatting of backup type in pbm_collector.go
1 parent 64f7029 commit 7fbf7ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exporter/pbm_collector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ func (p *pbmCollector) pbmBackupsMetrics(ctx context.Context, pbmClient *sdk.Cli
200200
"host": replset.Node,
201201
"replica_set": replset.Name,
202202
"self": self,
203+
"type": string(backup.Type),
203204
}
204205

205206
metrics = append(metrics, createPBMMetric("backup_size_bytes",

0 commit comments

Comments
 (0)