Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1012 Bytes

datasources.md

File metadata and controls

24 lines (16 loc) · 1012 Bytes

Working with data sources

This document describes how to create data sources.

Data source properties

Data sources are represented by the GrafanaDataSource custom resource. Examples can be found in deploy/examples/datasources.

A single GrafanaDataSource resource can contain a list of data sources.

To get a quick overview of the GrafanaDataSource you can also look at the API docs. The following properties are accepted in the spec:

  • name: The filename of the data source that gets mounted into a volume in the grafana instance. Not to be confused with metadata.name.
  • datasources: A list of data source definitions. Check the official documentation.

A data source accepts all properties listed here, but does not support apiVersion and deleteDatasources.

To see how to install datasource plugins, see Plugins.