Skip to content

Commit 22cf389

Browse files
authored
Update exporter/replset_config_collector.go
1 parent dc4899c commit 22cf389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/replset_config_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type replSetGetConfigCollector struct {
4343
func newReplicationSetConfigCollector(ctx context.Context, client *mongo.Client, logger *logrus.Logger, compatible bool, topology labelsGetter) *replSetGetConfigCollector {
4444
return &replSetGetConfigCollector{
4545
ctx: ctx,
46-
base: newBaseCollector(client, logger),
46+
base: newBaseCollector(client, logger.WithFields(logrus.Fields{"collector": "replset_config"})),
4747

4848
compatibleMode: compatible,
4949
topologyInfo: topology,

0 commit comments

Comments
 (0)