Skip to content

Commit ec5c37a

Browse files
authored
Update exporter/replset_config_collector.go
1 parent 8d051b0 commit ec5c37a

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
@@ -59,7 +59,7 @@ func (d *replSetGetConfigCollector) Collect(ch chan<- prometheus.Metric) {
5959
}
6060

6161
func (d *replSetGetConfigCollector) collect(ch chan<- prometheus.Metric) {
62-
defer prometheus.MeasureCollectTime(ch, "mongodb", "replset_config")()
62+
defer measureCollectTime(ch, "mongodb", "replset_config")()
6363

6464
logger := d.base.logger
6565
client := d.base.client

0 commit comments

Comments
 (0)