Skip to content
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

My grafana wont connect to mongoDB, can anybody help? #2

Closed
muhbianco opened this issue Aug 25, 2022 · 3 comments
Closed

My grafana wont connect to mongoDB, can anybody help? #2

muhbianco opened this issue Aug 25, 2022 · 3 comments

Comments

@muhbianco
Copy link

image

@ajeje93
Copy link
Owner

ajeje93 commented Aug 26, 2022

In the url field at the top you should put http://localhost:3333 which is the port on which the NodeJS proxy server is running (https://github.com/JamesOsgood/mongodb-grafana#install-and-start-the-mongodb-proxy-server)

@muhbianco
Copy link
Author

Thank u @ajeje93. It works!

But, one more problem to solve.... check this out

My aggregates wont work, returns something like "update your driver"

Logs show me that:
[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

im trying to edit the file mongo_client.js but my knowledge in node is terrible... and my english too (sry for that)

Can you help me?

@ajeje93
Copy link
Owner

ajeje93 commented Aug 26, 2022

Sorry, I don't know how to help you. Consider that the plugin is not maintained anymore by the creator. A guy made a new version of the plugin (JamesOsgood/mongodb-grafana#123 (comment)), but I didn't try that yet.

@ajeje93 ajeje93 closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants