Comments (8)
Exactly you can do what you mean. I already did that. I created a docker image to run mongodb grafana proxy as another container (https://hub.docker.com/repository/docker/barisv/grafana-mongo-proxy-server)
Then only thing you need to this to configure your mongo plugin to send request to those container.
from mongodb-grafana.
Hi all.
I solved the issue by building my image of the grafana of the version I needed with the plugin integrated into it. Works great!
https://github.com/ajeje93/grafana-mongodb-docker
from mongodb-grafana.
+1
from mongodb-grafana.
Exactly you can do what you mean. I already did that. I created a docker image to run mongodb grafana proxy as another container (https://hub.docker.com/repository/docker/barisv/grafana-mongo-proxy-server)
Then only thing you need to this to configure your mongo plugin to send request to those container.
Hi there and thank you for your input. I have set it up like that exactly but it still wouldn't work. Any chance I can screenshare or send you code snippets to see how you did it. Or if you could possibly share yours....
from mongodb-grafana.
This is output:
This is plugin configuration
I used port-forwarding for testing purposes
kubectl port-forward service/grafana 31002:80
If you cant solve your issue, we can look at it together. Please describe, what steps you did and whats the current problem ?
from mongodb-grafana.
Exactly you can do what you mean. I already did that. I created a docker image to run mongodb grafana proxy as another container (https://hub.docker.com/repository/docker/barisv/grafana-mongo-proxy-server)
Then only thing you need to this to configure your mongo plugin to send request to those container.
Can you please tell me how did you configure the pod with proxies?
Need to pass mongo addresses through env?
from mongodb-grafana.
This is output:
This is plugin configuration
I used port-forwarding for testing purposes
kubectl port-forward service/grafana 31002:80
If you cant solve your issue, we can look at it together. Please describe, what steps you did and whats the current problem ?
Hey there! Thank you so much for your solution. I currently have the Grafana and the MongoDB Proxy API pod running, would you be able to advise on how do I add the Proxy Pod (the mongodbproxy-api
) as a data source? I'm a bit confused. I understand the non-containerized version requires me to copy it into the Grafana plugin folders, but I'm unsure about the containerized version. Thank you once again :)
from mongodb-grafana.
So, here is how I do that:
- use
image: grafana/grafana-oss
with volumes:-./grafana-storage:/var/lib/grafana
ENVGF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-mongodb-datasource
- copy the plugin into
grafana-storage/plugins
restart Grafana - launch the proxy container mentioned above
mongoproxy
image: barisv/grafana-mongo-proxy-server ports: - 3333:3333
- connect the datasource (go to plugins > mongoldb > add datasource)
- use
http://monogoproxy:3333
as URL
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
- Plugin disabled due to missing plugin signature HOT 1
- Is this project abandoned? HOT 16
- 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 5
- 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.