Skip to content

Provisioning

Grafana supports managing data sources and applications by adding one or more YAML config files in the provisioning/datasources and provisioning/plugins folder:

  • Each config file can contain a list of data sources or applications that will be updated during start up.
  • Grafana updates each data source and application to match the configuration file.
  • It is possible to use environment variable interpolation.

Redis Explorer

apiVersion: 1

apps:
  - type: redis-explorer-app
    disabled: false

Redis Enteprise Software Data Source

apiVersion: 1

datasources:
  - name: Redis Enterprise
    type: redis-enterprise-software-datasource
    access: proxy
    orgId: 1
    isDefault: true
    version: 1
    url: redis://cluster.remote:9443
    basicAuth: true
    basicAuthUser: re@localhost.io
    basicAuthPassword: 123
    jsonData:
      host: "https://cluster.remote:9443"
      tlsSkipVerify: true
    secureJsonFields:
      basicAuthPassword: true
    editable: true

Redis Data Source

To learn how to provision Redis Data Source using YAML config files follow the Redis Data Source provisioning page.