Grafana MongoDB Dashboards to match with mongodb-exporter

Hi,
What version exporter of Percona - MongoDB-Prometheus should be used with Latest Grafana MongoDB Dashboards???
As it seems the latest Percona exporter doesn’t match the latest Dashboards from Git.

Thanks much, Oded.

Hi Oded,

Please use brunch “release-0.20.5” for exporter.

1 Like

Hi,
thanks for your update.
Oded.

1 Like

Hi @Vadim_Yalovets,
I have tried using release v0.20.5 and the metric name doesn’t seem to be compatible with the dashboard, can you please help?

2 Likes

Could you try to use the latest exporter version?

If metrics are still not there you may create an issue for this repo.

1 Like

@Lokeshwaran_K If v0.32.0 works for you or not - please update.

Thanks, Oded.

1 Like

Hi there,

I’m in the exact same situation. The new metrics have the pattern “mongodb_ss_" but I can’t find the right dashboard with it. I was using MongoDB | Grafana Labs until now and was very happy with it. Unfortunately I can’t find the updated version with the "mongodb_ss_” metrics.
I’m using mongodb_exporter:0.20.9

I am also aware of the ‘–compatible-mode’ but that doesn’t seem to work with mongodb 5.0

So in short: Where do I find the latest dashboard?

Best regards,
alecati

1 Like

Hi Alecati,

Such metrics are used in next dashboards
MongoDB_Instances_Overview
MongoDB_ReplSet_Summary

1 Like

Hello,
I have 3x nodes MongoDB replica set.
I’ve just configured the mongodb_exporter ( mongodb_exporter-0.36.0.linux-amd64.tar.gz ) as follows:
MongoDB user:
db.createUser({user: “xxxxxxxxx”,pwd: “yyyyyyyyyyyy”,roles: [{ role: “clusterMonitor”, db: “admin” },{ role: “read”, db: “local” }]})

systemd config:
[Unit]
Description=MongoDB Exporter

[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/mongodb_exporter --collect-all --log.level=“error”
User=prometheus

[Install]
WantedBy=multi-user.target

I can see many metric names in my Prometheus and Grafana - pls see the scrshot

But I can’t get any of these Grafana dashboards working

  • they all show empty. When I try to edit panels I can see that those metric names are not present in my list which I can pull using ‘curl http://localhost:9216/metrics’ .
    Please advice what is the issue? Are those dashboards outdated and not compatible with v 0.36.0 of the exporter?

Also, when I’m not providing the ‘–collect-all’ parameter then I can only see “mongodb_up 1” metric, no other mongo-related data. What I am doing wrong?

Thanks in advance.

Did you found any solution for this issue?
I ma also facing the same challenge

Hello! Looks like insufficient privileges, can you try this manual - MongoDB - Percona Monitoring and Management

Did you get the solution for this?