Automatic update Grafana datasource docs from VictoriaMetrics/grafana-datasource@c644bec (#5691)

This commit is contained in:
Github Actions 2024-01-26 15:44:02 +08:00 committed by Aliaksandr Valialkin
parent a2f83115ae
commit b8a4a78fef
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB
2 changed files with 14 additions and 9 deletions

View File

@ -57,6 +57,16 @@ See [why VictoriaMetrics datasource is unsigned](#why-victoriaMetrics-datasource
For detailed instructions on how to install the plugin on Grafana Cloud or
locally, please checkout the [Plugin installation docs](https://grafana.com/docs/grafana/latest/plugins/installation/).
### Install via Docker
[VictoriaMetrics repo](https://github.com/victoriaMetrics/victoriaMetrics) provides a complete
[docker-compose](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/deployment/docker#docker-compose-environment-for-victoriametrics)
environment to spin-up all required components via Docker.
To begin, clone [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) repository and follow
steps described in the [README](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/deployment/docker#docker-compose-environment-for-victoriametrics).
### Grafana Provisioning
Provision of Grafana plugin requires to create
@ -143,7 +153,7 @@ docker-compose -f docker-compose.yaml up
When Grafana starts successfully datasources should be present on the datasources tab
<p>
<img src="grafana-datasource_provision_datasources.webp" width="800" alt="Configuration">
<img src="provision_datasources.png" width="800" alt="Configuration">
</p>
### Install in Kubernetes
@ -239,7 +249,7 @@ spec:
allow_loading_unsigned_plugins: victoriametrics-datasource
```
See [Grafana operator reference](https://grafana.github.io/grafana-operator/docs/grafana/) to find more about
See [Grafana operator reference](https://grafana-operator.github.io/grafana-operator/docs/grafana/) to find more about
Grafana operator.
This example uses init container to download and install plugin.
@ -262,19 +272,14 @@ This example uses init container to download and install plugin.
### 1. Configure Grafana
Installing dev version of Grafana plugin requires to change `grafana.ini` config to allow loading unsigned plugins:
{% raw %}
``` ini
# Directory where Grafana will automatically scan and look for plugins
plugins = {{path to directory with plugin}}
```
{% endraw %}
``` ini
[plugins]
allow_loading_unsigned_plugins = victoriametrics-datasource
```
### 2. Run the plugin
In the project directory, you can run:
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 KiB