-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB exporter gets some metrics but Grafana dashboard does not display them #1020
Comments
Hello, have you enabled any collector on mongodb_exporter side? Have you converted PMM dashboards using this script? https://github.com/percona/grafana-dashboards/?tab=readme-ov-file#reusing-dashboards-outside-of-pmm |
Juste updated to latest (0.43.1) with mongob 7.x and prometheus is not getting anything anymore 🤔 |
Hello @BupycHuk! Let's oversee, it was a little complicated to me:
command: [
"--mongodb.direct-connect=false",
"--discovering-mode",
"--collector.replicasetstatus=true",
"--collector.indexstats=true",
"--collector.collstats=true",
"--log.level=info",
] And despite some collectors were enabled, dashboards (which are MongoDB Instance Summary, MongoDB Instances Overview, MongoDB Collections Overview) display nothing. I am not an expert in PromQL so running this expression And it does not matter if I connect In logs, it constantly spawn
|
Can you also enable |
Describe the bug
Noobie here.
I successfully setup multi-target MongoDB exporter and got metrics by target URL in Prometheus but there is no data in Grafana dashboards. Used this and this one.
To Reproduce
Steps to reproduce the behavior:
.env
, set hosts to collect data from as following:mongodb_targets_custom.yml
:🟩 UP
status in Prometheus and check metrics manually by HTTP:Expected behavior
I should see some bars, charts and data regardless of selected filters.
Actual behavior
All data is void.
Environment
The text was updated successfully, but these errors were encountered: