ITADN

mongodb_ss_metrics_query_multiPlanner_histograms_sbeNumReads_count was collected before with the same name and label values

#1179OpenDavid2011Hernandez 创建于 2025-10-07
bugcommunitytriage
**Describe the bug** Since we upgraded mongodb to version 8.0.15-noble (from 8.0.12-noble) we have received many errors like ``` level=ERROR source=http_error_logger.go:47 msg="error gathering metrics:" error="[from Gatherer #2] collected metric \"mongodb_ss_metrics_query_multiPlanner_histograms_sbeNumReads_count\" .... counter:{value:0}} was collected before with the same name and label values ``` **To Reproduce** Steps to reproduce the behavior: 1. what parameters are being passed to `mongodb_exporter` ``` image: percona/mongodb_exporter:0.47.1 command: - --collect-all - --collector.profile-time-ts # This interval must be synchronized with the Prometheus scrape interval - 15 ``` 2. describe steps to reproduce the issue I have tried touse a local setup for mongodb replicaset but was not able to reproduce the issue mainly cause i was not able to upload documents i guess **Expected behavior** No errors collecting this metric. **Logs** ``` time=2025-10-07T05:13:56.968Z level=ERROR source=http_error_logger.go:47 msg="error gathering metrics:" error="[from Gatherer #2] collected metric \"mongodb_ss_metrics_query_multiPlanner_histograms_sbeNumReads_count\" { label:{name:\"cl_id\" value:\"id.value\"} label:{name:\"cl_role\" value:\"\"} label:{name:\"rs_nm\" value:\"rs-value\"} label:{name:\"rs_state\" value:\"1\"} counter:{value:0}} was collected before with the same name and label values" total_errors=100 error_no=90, ``` **Environment** - 6.11.0-1018-azure #18~24.04.1-Ubuntu noble - docker 28.3.2 - MongoDB version 80.15 **Additional context** Add any other context about the problem here.
7 条评论