mongodb-grafana | MongoDB plugin for Grafana | Dashboard library
kandi X-RAY | mongodb-grafana Summary
kandi X-RAY | mongodb-grafana Summary
MongoDB plugin for Grafana
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse a query
- Run the aggregate query
- Convert results to query results .
- Execute a template query .
- get results from request
- Generate time series results
- Creates a new Datasource
- Inherit one class into another
- Get the bucket count of the specified minutes .
- Recursively iterates over an object .
mongodb-grafana Key Features
mongodb-grafana Examples and Code Snippets
Community Discussions
Trending Discussions on mongodb-grafana
QUESTION
I have created a grafana application. I am using the variables function and within that, I have the option to return a query which populates the dropdown. I have tested the query in a normal table panel and it returns the correct values. Using this in the query in the variables section doesn't work.
Additionally and potentially more importantly, since mongo is not used by default as a datasource for Grafana, I have to install a plugin which is linked:
https://github.com/JamesOsgood/mongodb-grafana
What would be the best way to achieve what I am doing? Any help appreciated. Thanks!
...ANSWER
Answered 2019-Jun-12 at 12:32So, after a lot of trying, turns out the time range seemed to be discombobulating things. After removing it, the dropdown worked fine displaying the results I needed. The time wasn't a critical aspect of the task, just desired behaviour. In either case, my problem was solved. Have a similar issue? Give it a try, remove the $from
and $to
in your $match
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mongodb-grafana
Restart the Grafana server. If installed via Homebrew, this will be brew services restart grafana
Open a command prompt in the mongodb-grafana directory
Run npm install to install the node.js dependencies
Run npm run server to start the REST API proxy to MongoDB. By default, the server listens on http://localhost:3333
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page