grafana / helm-charts

Apache License 2.0
1.61k stars 2.24k forks source link

How can I set settings for plugins by code? #2660

Open batazor opened 1 year ago

batazor commented 1 year ago

I want to install grafana-oncall plugin and set url and other necessary settings at once, is there any way to do it declaratively like it is done with dashboards and datasources?

sgorshkov85 commented 8 months ago

Hello. I have the same problem. I found that the value is stored in the grafana.db(pluggin_setting table): {"error":null,"license":"OpenSource","onCallApiUrl":"http://oncall-engine:8080","orgId":100,"stackId":5} Is there any way to preconfigure the plugin?

javierSanchez5 commented 7 months ago

Hello I'm trying to make the set up declarative, did you guys found the way to make it?

batazor commented 6 months ago

@zalegrala @joe-elliott Can you help with it?

zalegrala commented 5 months ago

I would have a look here: https://github.com/grafana/oncall/tree/dev/helm/oncall

If there isn't an answer there, it might be worth filing an issue on the https://github.com/grafana/oncall project.