dragonfly
50 строк · 1.4 Кб
1# config file version
2apiVersion: 1
3
4# list of datasources that should be deleted from the database
5deleteDatasources:
6- name: Prometheus
7orgId: 1
8
9# list of datasources to insert/update depending
10# whats available in the database
11datasources:
12# <string, required> name of the datasource. Required
13- name: Prometheus
14# <string, required> datasource type. Required
15type: prometheus
16# <string, required> access mode. direct or proxy. Required
17access: proxy
18# <int> org id. will default to orgId 1 if not specified
19orgId: 1
20# <string> url
21url: http://prometheus:9090
22# <string> database password, if used
23password:
24# <string> database user, if used
25user:
26# <string> database name, if used
27database:
28# <bool> enable/disable basic auth
29basicAuth: false
30# <string> basic auth username, if used
31basicAuthUser:
32# <string> basic auth password, if used
33basicAuthPassword:
34# <bool> enable/disable with credentials headers
35withCredentials:
36# <bool> mark as default datasource. Max one per org
37isDefault: true
38# <map> fields that will be converted to json and stored in json_data
39jsonData:
40graphiteVersion: "1.1"
41tlsAuth: false
42tlsAuthWithCACert: false
43# <string> json object of data that will be encrypted.
44secureJsonData:
45tlsCACert: "..."
46tlsClientCert: "..."
47tlsClientKey: "..."
48version: 1
49# <bool> allow users to edit datasources from the UI.
50editable: true
51