Manage Grafana v2.0 data sources
New in version 2016.3.0.
grafana:
grafana_timeout: 3
grafana_token: qwertyuiop
grafana_url: 'https://url.com'
Ensure influxdb data source is present:
grafana_datasource.present:
- name: influxdb
- type: influxdb
- url: http://localhost:8086
- access: proxy
- basic_auth: true
- basic_auth_user: myuser
- basic_auth_password: mypass
- is_default: true
Ensure that a data source is present.
Name of the data source to remove.
Ensure that a data source is present.
Name of the data source.
Which type of data source it is ('graphite', 'influxdb' etc.).
The URL to the data source API.
Optional - user to authenticate with the data source
Optional - password to authenticate with the data source
Optional - set to True to use HTTP basic auth to authenticate with the data source.
Optional - HTTP basic auth username.
Optional - HTTP basic auth password.
Default: False