Giter VIP home page Giter VIP logo

Comments (16)

meln5674 avatar meln5674 commented on July 17, 2024 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.

ajeje93 avatar ajeje93 commented on July 17, 2024 4

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.

ajeje93 avatar ajeje93 commented on July 17, 2024 4

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.

JamesOsgood avatar JamesOsgood commented on July 17, 2024 2

from mongodb-grafana.

BlackCodes avatar BlackCodes commented on July 17, 2024

I want to restart this project for every coder~

from mongodb-grafana.

cptechie avatar cptechie commented on July 17, 2024

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.

KristapsT avatar KristapsT commented on July 17, 2024

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.

bygui86 avatar bygui86 commented on July 17, 2024

hi guys
which version of Grafana do you use?
I tried with Grafana v8.4.5 and it does not work :(

Screenshot 2022-04-05 at 17 15 10

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
Screenshot 2022-04-05 at 17 17 08

please help!! :)

from mongodb-grafana.

bygui86 avatar bygui86 commented on July 17, 2024

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.

sanderp42 avatar sanderp42 commented on July 17, 2024

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.

bygui86 avatar bygui86 commented on July 17, 2024

@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.

soringabriel avatar soringabriel commented on July 17, 2024

@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.

bygui86 avatar bygui86 commented on July 17, 2024

@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.

Breee avatar Breee commented on July 17, 2024

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.

bygui86 avatar bygui86 commented on July 17, 2024

@meln5674 that's amazing! thanks a lot for the effort! I will try it soon :)

from mongodb-grafana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.