JamesOsgood / mongodb-grafana

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

Grafana Helm #139

Open luckpng opened 1 year ago

luckpng commented 1 year ago

Hello!

We need to install this plugin on our Grafana but he was deployed using Helm. Some tip or workaround for this?

ty

tomislater commented 1 year ago

You can do something like that (if you use this chart: https://github.com/grafana/helm-charts/tree/main/charts/grafana):

plugins:
  - https://github.com/JamesOsgood/mongodb-grafana/archive/refs/heads/master.zip;mongodb-grafana
tomislater commented 1 year ago

Oh, you also need to add this guy: https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#allow_loading_unsigned_plugins (if it is unsigned)

So, it should be something like this:

...
plugins:
  - https://github.com/JamesOsgood/mongodb-grafana/archive/refs/heads/master.zip;mongodb-grafana
...
grafana.ini:
...
  plugins:
    allow_loading_unsigned_plugins: grafana-mongodb-datasource
codechirag123 commented 2 months ago

Oh, you also need to add this guy: https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#allow_loading_unsigned_plugins (if it is unsigned)

So, it should be something like this:

...
plugins:
  - https://github.com/JamesOsgood/mongodb-grafana/archive/refs/heads/master.zip;mongodb-grafana
...
grafana.ini:
...
  plugins:
    allow_loading_unsigned_plugins: grafana-mongodb-datasource

Hey I added this config in My grafana helm image

But I get this error in Grafana image

Is there a way to resolve this?