-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_schema.json
More file actions
219 lines (219 loc) · 6.35 KB
/
Copy pathconfig_schema.json
File metadata and controls
219 lines (219 loc) · 6.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"fields": [
{
"name": "log-level",
"description": "The log level: debug, info, warn, error",
"isOps": true,
"stringField": {
"defaultValue": "info"
}
},
{
"name": "log-level-debug-expires-at",
"description": "The timestamp indicating when debug-level logging should expire",
"isOps": true,
"stringField": {}
},
{
"name": "session-store-maximum-size",
"description": "The maximum size of the local in-memory session store cache in bytes.",
"isOps": true,
"intField": {
"defaultValue": "15728640"
}
},
{
"name": "otel-collector-endpoint",
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-cert-path",
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-cert",
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-insecure",
"description": "Allow insecure connections to the OpenTelemetry collector",
"isOps": true,
"boolField": {}
},
{
"name": "otel-tracing-disabled",
"description": "Disable OpenTelemetry tracing",
"isOps": true,
"boolField": {}
},
{
"name": "otel-logging-disabled",
"description": "Disable OpenTelemetry logging",
"isOps": true,
"boolField": {}
},
{
"name": "health-check",
"description": "Enable the HTTP health check endpoint",
"isOps": true,
"boolField": {}
},
{
"name": "health-check-port",
"description": "Port for the HTTP health check endpoint",
"isOps": true,
"intField": {
"defaultValue": "8081"
}
},
{
"name": "health-check-bind-address",
"description": "Bind address for health check server (127.0.0.1 for localhost-only)",
"isOps": true,
"stringField": {
"defaultValue": "127.0.0.1"
}
},
{
"name": "http-timeout-seconds",
"description": "HTTP client timeout in seconds (max 1800)",
"isOps": true,
"intField": {
"defaultValue": "300",
"rules": {
"lte": "1800",
"gte": "1"
}
}
},
{
"name": "account-hostname",
"displayName": "Account Hostname",
"description": "The hostname used to connect to the Databricks account API. If not set, it will be calculated from the hostname field.",
"stringField": {}
},
{
"name": "account-id",
"displayName": "Account ID",
"description": "The Databricks account ID used to connect to the Databricks Account and Workspace API",
"isRequired": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "databricks-client-id",
"displayName": "OAuth2 Client ID",
"description": "The Databricks service principal's client ID used to connect to the Databricks Account and Workspace API",
"isRequired": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "databricks-client-secret",
"displayName": "OAuth2 Client Secret",
"description": "The Databricks service principal's client secret used to connect to the Databricks Account and Workspace API",
"isRequired": true,
"isSecret": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "hostname",
"displayName": "Hostname",
"description": "The Databricks hostname used to connect to the Databricks API",
"stringField": {
"defaultValue": "cloud.databricks.com"
}
},
{
"name": "workspaces",
"displayName": "Workspaces",
"description": "Limit syncing to the specified workspaces, by deployment name, not workspace ID. Required when using workspace tokens, in the same order as workspace-tokens. Mutually exclusive with databricks-exclude-workspaces.",
"stringSliceField": {}
},
{
"name": "workspace-tokens",
"displayName": "Workspace Tokens",
"description": "The Databricks personal access tokens scoped to specific workspaces used to connect to the Databricks Workspace API",
"isRequired": true,
"isSecret": true,
"stringSliceField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "databricks-exclude-workspaces",
"displayName": "Exclude Workspaces",
"description": "Workspaces to exclude from sync, identified by workspace name, deployment name, or numeric workspace ID. Mutually exclusive with workspaces.",
"stringSliceField": {}
}
],
"constraints": [
{
"kind": "CONSTRAINT_KIND_MUTUALLY_EXCLUSIVE",
"fieldNames": [
"workspaces",
"databricks-exclude-workspaces"
]
},
{
"kind": "CONSTRAINT_KIND_DEPENDENT_ON",
"fieldNames": [
"workspace-tokens"
],
"secondaryFieldNames": [
"workspaces"
]
}
],
"displayName": "Databricks",
"helpUrl": "/docs/baton/databricks",
"iconUrl": "/static/app-icons/databricks.svg",
"fieldGroups": [
{
"name": "oauth2",
"displayName": "OAuth2",
"helpText": "Authenticate as a service principal using an OAuth2 client ID and secret.",
"fields": [
"account-id",
"databricks-client-id",
"databricks-client-secret",
"hostname",
"account-hostname",
"workspaces",
"databricks-exclude-workspaces"
],
"default": true
},
{
"name": "workspace-token",
"displayName": "Workspace token",
"helpText": "Authenticate with a personal access token scoped to each workspace.",
"fields": [
"account-id",
"workspaces",
"workspace-tokens",
"hostname",
"account-hostname",
"databricks-exclude-workspaces"
]
}
]
}