cubefs

Форк
0
49 строк · 1.4 Кб
1
apiVersion: 1
2

3
# list of datasources that should be deleted from the database
4
deleteDatasources:
5
  - name: Prometheus
6
    orgId: 1
7

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.