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