Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Sep 27, 2024
2 parents 881d48e + ccd4f17 commit 2d5a099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/feature_compatibility_version_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (d *featureCompatibilityCollector) Collect(ch chan<- prometheus.Metric) {
}

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

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

0 comments on commit 2d5a099

Please sign in to comment.