diff --git a/exporter/feature_compatibility_version_collector.go b/exporter/feature_compatibility_version_collector.go index 96d996f5..871544c6 100644 --- a/exporter/feature_compatibility_version_collector.go +++ b/exporter/feature_compatibility_version_collector.go @@ -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