JamesOsgood / mongodb-grafana

MongoDB plugin for Grafana
MIT License
464 stars 213 forks source link

Installation Issue #67

Closed guvenim closed 5 years ago

guvenim commented 5 years ago

Thank you for creating the plugin

I have installed the plugin as stated in the readme file and run the commands

npm install
npm run server

and get the message:

> grafana-mongodb@0.8.1 server /usr/local/var/lib/grafana/plugins/mongodb-grafana
> cd dist/server && node mongodb-proxy.js

Server is listening on port 3333

Up to here everything looks fine but when I go to Grafana webpage browser, I cannot find MongoDB as data source:

Capture1 Capture2

Can you please help, I don't know what is going wrong here.

I am using Grafana 6.3.2 and MongoDB version 4.2.0

guvenim commented 5 years ago

I think I found a solution when I was playing around,

The plugins folder in current Grafana version is located at /var/lib/grafana/plugins.

So, I placed the plugin in this folder instead, and then I appread in Grafana after I restarted the server.