meln5674 / grafana-mongodb-community-plugin

Open Source Grafana Plugin for querying MongoDB
GNU Affero General Public License v3.0
137 stars 18 forks source link

Could u show some simple way to install and use on windows plz, like just docker run ... #2

Closed Snakebinp closed 1 year ago

meln5674 commented 2 years ago

Installing on windows/docker is no different to any other non-kubernetes install. If you have a running grafana instance, you can install using the grafana-cli tool (Make sure to enable this as an unsigned plugin first)

; grafana.ini
[plugins]
allow_loading_unsigned_plugins = meln5674-mongodb-community
grafana-cli \
  --pluginUrl https://github.com/meln5674/grafana-mongodb-community-plugin/releases/download/v0.1.0/meln5674-mongodb-community.zip \
  plugins install meln5674-mongodb-community.

and then restart Grafana.

If you want to do this in docker, you just need to docker exec into your running container before doing the above, and then docker restart your container.

meln5674 commented 1 year ago

README how has copy-pasteable examples for running in both Docker and Kubernetes.