Good Morning,
I’m having some problems connecting MongoDB exporter metrics to Grafana. Prometheus is able to successfully extract metrics but data does not load in Grafana.
I installed mongodb_exporter on one mongo and configured it to send data to existing Prometheus. I verified the metrics and data and then imported the dashboards to my Grafana installation.
Please add additional labels for mongodb_exporter targets. Such labels are generated in PMM2 and used in dashboards formulas.
e.g.
node_name: nodeWithMongo1
service_name: mongo1
cluster: myCluster
replication_set: repl1
service_type: mongodb
We would like to organize a community engineering meeting on June 29 (2 PM - 3 PM UTC) to start talking about PR, issues, future. Join and give your feedback:
Thanks a lot for your help, at least the metrics started coming.
Though I ran into some more issues which I would like to clarify.
The replicaSet metrics are not coming & I am getting this error on mongodb_exporter “cannot get replSetGetStatus: replSetGetStatus is not supported through mongos”.
Dashboards shows Replica Set as “None”
Though most of graphs are working, some are not. It shows no data. I noticed some metrics used within graph is not present in Prometheus, e.g. mongodb_mongod_replset_my_state, mongodb_mongos_metrics_cursor_open, mongodb_mongod_cursors, mongodb_mongod_op_latencies_ops_total, mongodb_mongod_metrics_query_executor_total, mongodb_mongod_metrics_document_total, mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds
MongoDB InMemory Details does not recogonize “Service Name” and it shows as “None”, hence no graphs are working on it.
Can I use “PMM Query Analytics” dashboard with mongo exporter?