Automatic update Grafana datasource docs from VictoriaMetrics/grafana-datasource@95d0711 (#5329)

This commit is contained in:
Github Actions 2023-11-16 15:12:32 +08:00 committed by GitHub
parent 0a28c8e91b
commit ec7cac3641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,14 @@ the following changes to Grafana's `grafana.ini` config:
allow_loading_unsigned_plugins = victoriametrics-datasource
```
For `grafana-operator` users, please adjust `config:` section in your `kind=Grafana` resource as below
```
config:
plugins:
allow_loading_unsigned_plugins: "victoriametrics-datasource"
```
See [why VictoriaMetrics datasource is unsigned](#why-victoriaMetrics-datasource-is-unsigned).
For detailed instructions on how to install the plugin on Grafana Cloud or
@ -164,10 +172,14 @@ extraInitContainers:
tar -xf /var/lib/grafana/plugins/plugin.tar.gz -C /var/lib/grafana/plugins/
rm /var/lib/grafana/plugins/plugin.tar.gz
volumeMounts:
# For grafana-operator users, change `name: storage` to `name: grafana-data`
- name: storage
mountPath: /var/lib/grafana
```
For `grafana-operator` users, the above configuration should be done for the part
`/spec/deployment/spec/template/spec/initContainers` of your `kind=Grafana` resource.
This example uses init container to download and install plugin. To allow Grafana using this container as a sidecar
set the following config:
```yaml