mirror of https://github.com/ceph/ceph-ansible.git
27 lines
870 B
Django/Jinja
27 lines
870 B
Django/Jinja
apiVersion: 1
|
|
|
|
# list of datasources that should be deleted from the database
|
|
deleteDatasources:
|
|
- name: '{{ grafana_datasource }}'
|
|
orgId: 1
|
|
|
|
# list of datasources to insert/update depending
|
|
# what's available in the database
|
|
datasources:
|
|
# <string, required> name of the datasource. Required
|
|
- name: '{{ grafana_datasource }}'
|
|
# <string, required> datasource type. Required
|
|
type: 'prometheus'
|
|
# <string, required> access mode. proxy or direct (Server or Browser in the UI). Required
|
|
access: 'proxy'
|
|
# <int> org id. will default to orgId 1 if not specified
|
|
orgId: 1
|
|
# <string> url
|
|
url: 'http://{{ grafana_server_addr }}:{{ prometheus_port }}'
|
|
# <bool> enable/disable basic auth
|
|
basicAuth: false
|
|
# <bool> mark as default datasource. Max one per org
|
|
isDefault: true
|
|
# <bool> allow users to edit datasources from the UI.
|
|
editable: false
|