docs: adds provisioning examples for all datasources

closes #11363
This commit is contained in:
bergquist
2018-03-28 17:39:00 +02:00
parent df89be4de9
commit d95eabfeec
8 changed files with 157 additions and 0 deletions
@@ -225,3 +225,20 @@ tags | Optional field name to use for event tags as a comma separated string.
## Alerting
Time series queries should work in alerting conditions. Table formatted queries is not yet supported in alert rule conditions.
## Configure datasource with provisioning
Its now possible to configure datasources using config files with Grafanas [provisioning system](/administration/provisioning/#datasources).
Here are some examples of how you can configure the Cloudwatch datasource using configuration.
```yaml
apiVersion: 1
datasources:
- name: MySQL
type: mysql
url: localhost:3306
database: grafana
user: grafana
password: password
```