mirror of https://github.com/ceph/ceph-ansible.git
27 lines
861 B
YAML
27 lines
861 B
YAML
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://{{ groups["grafana-server"][0] }}:9090'
|
|
# <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
|