Skip to content

Commit deb0e71

Browse files
committed
drop format string
1 parent 719b8ce commit deb0e71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exporter/collstats_collector.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ func (d *collstatsCollector) collect(ch chan<- prometheus.Metric) {
116116
project := bson.D{
117117
{
118118
Key: "$project", Value: bson.M{
119-
"storageStats.wiredTiger": 0,
120-
"storageStats.indexDetails": 0,
121-
},
119+
"storageStats.wiredTiger": 0,
120+
"storageStats.indexDetails": 0,
121+
},
122122
},
123123
}
124124
pipeline = append(pipeline, project)
@@ -138,7 +138,7 @@ func (d *collstatsCollector) collect(ch chan<- prometheus.Metric) {
138138
continue
139139
}
140140

141-
logger.Debug("$collStats metrics for %s.%s", "database", database, "collection", collection)
141+
logger.Debug("$collStats metrics", "database", database, "collection", collection)
142142
debugResult(logger, stats)
143143

144144
prefix := "collstats"

0 commit comments

Comments
 (0)