andrii29 / mongodb-profiler-exporter

A Prometheus exporter for MongoDB Profiler
MIT License
6 stars 0 forks source link

found duplicate series #7

Closed oktavianabd closed 3 days ago

oktavianabd commented 6 days ago

i'm getting this error on grafana dashboard "slow queries panel" both query A & B would you please suggest?

execution: found duplicate series for the match group {ns="nytaxi.nyGreenTaxi", query_hash="8880B5AF"} on the right hand-side of the operation: [{db="nytaxi", instance="10.63.20.14:9179", job="mongodb-profiler", ns="nytaxi.nyGreenTaxi", op="command", query_framework="classic", query_hash="8880B5AF", query_shape="{'explain': {'find': '?', 'filter': {}, 'skip': '?', 'maxTimeMS': '?'}, 'verbosity': '?'}"}, {db="nytaxi", instance="10.63.20.14:9179", job="mongodb-profiler", ns="nytaxi.nyGreenTaxi", op="command", plan_summary="COUNT_SCAN { _id: 1 }", query_framework="classic", query_hash="8880B5AF", query_shape="{'aggregate': '?', 'pipeline': [{'$match': {}}, {'$count': '?'}], 'hint': '?', 'maxTimeMS': '?'}"}];many-to-many matching not allowed: matching labels must be unique on one side

query A image query B image

andrii29 commented 5 days ago

try 1.8 or docker

oktavianabd commented 3 days ago

thanks a lot it works now