Comments (16)
To those monitoring this thread: I investigating forking this and restarting development, but I found that there have been several improvements to Grafana's plugin API int he intervening time, notably there is now a feature that means there is no longer a requirement for the proxy server. As such, I have started an entirely new plugin using the new plugin API and the official mongodb driver library, which you can find here: https://github.com/meln5674/grafana-mongodb-community-plugin . I have only so far re-implemented timeseries queries, as well as made the credentials into secret fields so they are not leaked. I have a project that needs a plugin like this, so there will be semi-regular development for the near future.
from mongodb-grafana.
As @cptechie did I also published a docker container, but in my case it is the grafana docker image with the plugin preinstalled in the container: https://github.com/ajeje93/grafana-mongodb-docker
Another thing I noticed yesterday is that the proxy server does not work on node 17.
I did not noticed the leak that @KristapsT found mainly because I only used it for hobby projects and not for production environments.
from mongodb-grafana.
I noticed there is an overlapping between MongoDB official enterprise plugin and this one... someone knows how can I solve it? Maybe that's the reason why it does not work...
Yeah you should rename the plugin in file plugin.json (dist folder) to make it work because it has the same id of the official one.
from mongodb-grafana.
from mongodb-grafana.
I want to restart this project for every coder~
from mongodb-grafana.
I have started using this plugin today. I am relatively impressed that it still works, but much more improvements can be made.
I have published a docker image for this project, mostly so I can rapidly deploy this on many servers. Feel free to use it and check it out.
It is as simple as below
docker run --name mongo_proxy --network host -d cptechie/mongodb_grafana
Of if you rather not have --network host:
docker run --name mongo_proxy --network host -d cptechie/mongodb_grafana
Much less time consuming than installing it locally or waiting for a custom Dockerfile to build the image.
from mongodb-grafana.
It works, but there are many issues that stop me from using this.
The main being that it leaks mongodb credentials to browser in plain text when you are inspecting queries in dashboard.
from mongodb-grafana.
hi guys
which version of Grafana do you use?
I tried with Grafana v8.4.5 and it does not work :(
I used the test values given in the main readme:
- MongoDB URL:
mongodb://rpiread:[email protected]:27017,rpi-sensor-data-shard-00-01-ifxxs.mongodb.net:27017,rpi-sensor-data-shard-00-02-ifxxs.mongodb.net:27017/test?ssl=true&replicaSet=rpi-sensor-data-shard-0&authSource=admin
- MongoDB Database:
rpi
I tried also with another MongoDB URL but nothing.
I deployed everything to k8s v.1.21.x, I installed mongodb-grafana plugin manually, here below info about it
please help!! :)
from mongodb-grafana.
I noticed there is an overlapping between MongoDB official enterprise plugin and this one... someone knows how can I solve it? Maybe that's the reason why it does not work...
from mongodb-grafana.
Hi all,
I am heavy user of the plugin (and my startup) and actually it still works good also with the latest grafana versions. Some functions don't work unfortunately such as alerting.
Would be great if this project could be re-started. I am also willing to sponsor some development with some modest contributions. PM me if you are interested.
@JamesOsgood, thanks a lot for building it! Would you consider renewing the plugin for sponsorship? Contact me on discord if you interested (Plyum#1720)
from mongodb-grafana.
@ajeje93 thanks for your suggestion, unfortunately I'm not able to make it work :(
I keep receiving the message Bad gateway
Any idea?
from mongodb-grafana.
@bygui86 not sure if this helps or not, but I used to get the same error because I skipped this part of installation
After I started the mongodb proxy server everything worked correctly for me
from mongodb-grafana.
@soringabriel Thanks a lot for the suggestion!
I missed completely that part! I never run the proxy server :(
As soon as I can I will try again
from mongodb-grafana.
We don't want to buy an enterprise plugin ;)
If you need assistance to get everything working again, just let us know how.
from mongodb-grafana.
@meln5674 that's amazing! thanks a lot for the effort! I will try it soon :)
from mongodb-grafana.
Related Issues (20)
- Filtering values shows [Object object] HOT 2
- Comparison problems with Grafana variables
- Cannot read property getTime of undefined error HOT 3
- {"message":"Cannot read property 'url' of undefined"} on localhost:3333
- Cannot get plugin to show up in grafana after installation HOT 4
- Does this plugin support a containerized setup? HOT 8
- Plugin disabled due to missing plugin signature HOT 1
- Multi-value variable HOT 1
- Has anyone managed to set the connection string to read only from a secondary node ?
- Why is there no .find()? HOT 1
- Error while installing Mongo Proxy npm install HOT 1
- Unsupported OP_QUERY command: aggregate. The client driver may require an upgrade. MongoDB 6.0.1 HOT 4
- Is $unwind supported?
- Request: Sign the plugin HOT 2
- Cannot add a datasource HOT 3
- Grafana Helm HOT 2
- Times out for mongodb://localhost:27017 HOT 1
- Regarding Bar Graph
- Migration from Angular to React
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-grafana.