Skip to content

Commit ccd4f17

Browse files
authored
fix panic in v0.41.0. (#919)
1 parent f2df2a6 commit ccd4f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/feature_compatibility_version_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (d *featureCompatibilityCollector) Collect(ch chan<- prometheus.Metric) {
4848
}
4949

5050
func (d *featureCompatibilityCollector) collect(ch chan<- prometheus.Metric) {
51-
defer measureCollectTime(ch, "mongodb", "profile")()
51+
defer measureCollectTime(ch, "mongodb", "fcv")()
5252

5353
cmd := bson.D{{Key: "getParameter", Value: 1}, {Key: "featureCompatibilityVersion", Value: 1}}
5454
client := d.base.client

0 commit comments

Comments
 (0)