@schemastore/traefik-v2 0.0.7 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -21
- package/README.md +6 -20
- package/index.d.ts +553 -563
- package/package.json +5 -9
package/index.d.ts
CHANGED
|
@@ -1,579 +1,569 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
-
*/
|
|
7
2
|
|
|
8
|
-
export interface
|
|
9
|
-
accessLog?:
|
|
10
|
-
|
|
11
|
-
format?: string;
|
|
12
|
-
filters?: {
|
|
13
|
-
statusCodes?: string[];
|
|
14
|
-
retryAttempts?: boolean;
|
|
15
|
-
minDuration?: string;
|
|
16
|
-
[k: string]: unknown | undefined;
|
|
17
|
-
};
|
|
18
|
-
fields?: {
|
|
19
|
-
defaultMode?: string;
|
|
20
|
-
names?: {
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
23
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
24
|
-
*/
|
|
25
|
-
[k: string]: string;
|
|
26
|
-
};
|
|
27
|
-
headers?: {
|
|
28
|
-
defaultMode?: string;
|
|
29
|
-
names?: {
|
|
30
|
-
/**
|
|
31
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
32
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
33
|
-
*/
|
|
34
|
-
[k: string]: string;
|
|
35
|
-
};
|
|
36
|
-
[k: string]: unknown | undefined;
|
|
37
|
-
};
|
|
38
|
-
[k: string]: unknown | undefined;
|
|
39
|
-
};
|
|
40
|
-
bufferingSize?: number;
|
|
41
|
-
};
|
|
42
|
-
api?: {
|
|
43
|
-
insecure?: boolean;
|
|
44
|
-
dashboard?: boolean;
|
|
45
|
-
debug?: boolean;
|
|
46
|
-
};
|
|
3
|
+
export interface TraefikV2StaticConfiguration {
|
|
4
|
+
accessLog?: TypesAccessLog;
|
|
5
|
+
api?: StaticAPI;
|
|
47
6
|
certificatesResolvers?: {
|
|
48
|
-
|
|
49
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
50
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
51
|
-
*/
|
|
52
|
-
[k: string]: {
|
|
53
|
-
acme?: {
|
|
54
|
-
email?: string;
|
|
55
|
-
caServer?: string;
|
|
56
|
-
certificatesDuration?: number;
|
|
57
|
-
preferredChain?: string;
|
|
58
|
-
storage?: string;
|
|
59
|
-
keyType?: string;
|
|
60
|
-
eab?: {
|
|
61
|
-
kid?: string;
|
|
62
|
-
hmacEncoded?: string;
|
|
63
|
-
[k: string]: unknown | undefined;
|
|
64
|
-
};
|
|
65
|
-
dnsChallenge?: {
|
|
66
|
-
provider?: string;
|
|
67
|
-
delayBeforeCheck?: string;
|
|
68
|
-
resolvers?: string[];
|
|
69
|
-
disablePropagationCheck?: boolean;
|
|
70
|
-
[k: string]: unknown | undefined;
|
|
71
|
-
};
|
|
72
|
-
httpChallenge?: {
|
|
73
|
-
entryPoint?: string;
|
|
74
|
-
[k: string]: unknown | undefined;
|
|
75
|
-
};
|
|
76
|
-
tlsChallenge?: {
|
|
77
|
-
[k: string]: unknown | undefined;
|
|
78
|
-
};
|
|
79
|
-
[k: string]: unknown | undefined;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
7
|
+
[k: string]: StaticCertificateResolver | undefined;
|
|
82
8
|
};
|
|
83
9
|
entryPoints?: {
|
|
84
|
-
|
|
85
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
86
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
87
|
-
*/
|
|
88
|
-
[k: string]: {
|
|
89
|
-
address?: string;
|
|
90
|
-
transport?: {
|
|
91
|
-
lifeCycle?: {
|
|
92
|
-
requestAcceptGraceTimeout?: string;
|
|
93
|
-
graceTimeOut?: string;
|
|
94
|
-
[k: string]: unknown | undefined;
|
|
95
|
-
};
|
|
96
|
-
respondingTimeouts?: {
|
|
97
|
-
readTimeout?: string;
|
|
98
|
-
writeTimeout?: string;
|
|
99
|
-
idleTimeout?: string;
|
|
100
|
-
[k: string]: unknown | undefined;
|
|
101
|
-
};
|
|
102
|
-
[k: string]: unknown | undefined;
|
|
103
|
-
};
|
|
104
|
-
proxyProtocol?: {
|
|
105
|
-
insecure?: boolean;
|
|
106
|
-
trustedIPs?: string[];
|
|
107
|
-
[k: string]: unknown | undefined;
|
|
108
|
-
};
|
|
109
|
-
forwardedHeaders?: {
|
|
110
|
-
insecure?: boolean;
|
|
111
|
-
trustedIPs?: string[];
|
|
112
|
-
[k: string]: unknown | undefined;
|
|
113
|
-
};
|
|
114
|
-
http?: {
|
|
115
|
-
redirections?: {
|
|
116
|
-
entryPoint?: {
|
|
117
|
-
to?: string;
|
|
118
|
-
scheme?: string;
|
|
119
|
-
permanent?: boolean;
|
|
120
|
-
priority?: number;
|
|
121
|
-
[k: string]: unknown | undefined;
|
|
122
|
-
};
|
|
123
|
-
[k: string]: unknown | undefined;
|
|
124
|
-
};
|
|
125
|
-
middlewares?: string[];
|
|
126
|
-
tls?: {
|
|
127
|
-
options?: string;
|
|
128
|
-
certResolver?: string;
|
|
129
|
-
domains?: {
|
|
130
|
-
main?: string;
|
|
131
|
-
sans?: string[];
|
|
132
|
-
[k: string]: unknown | undefined;
|
|
133
|
-
}[];
|
|
134
|
-
[k: string]: unknown | undefined;
|
|
135
|
-
};
|
|
136
|
-
[k: string]: unknown | undefined;
|
|
137
|
-
};
|
|
138
|
-
http2?: {
|
|
139
|
-
maxConcurrentStreams?: number;
|
|
140
|
-
[k: string]: unknown | undefined;
|
|
141
|
-
};
|
|
142
|
-
http3?: {
|
|
143
|
-
advertisedPort?: number;
|
|
144
|
-
[k: string]: unknown | undefined;
|
|
145
|
-
};
|
|
146
|
-
udp?: {
|
|
147
|
-
timeout?: string;
|
|
148
|
-
[k: string]: unknown | undefined;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
experimental?: {
|
|
153
|
-
kubernetesGateway?: boolean;
|
|
154
|
-
http3?: boolean;
|
|
155
|
-
hub?: boolean;
|
|
156
|
-
plugins?: {
|
|
157
|
-
/**
|
|
158
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
159
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
160
|
-
*/
|
|
161
|
-
[k: string]: {
|
|
162
|
-
moduleName?: string;
|
|
163
|
-
version?: string;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
localPlugins?: {
|
|
167
|
-
/**
|
|
168
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
169
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
170
|
-
*/
|
|
171
|
-
[k: string]: {
|
|
172
|
-
moduleName?: string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
10
|
+
[k: string]: StaticEntryPoint | undefined;
|
|
175
11
|
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
12
|
+
experimental?: StaticExperimental;
|
|
13
|
+
global?: StaticGlobal;
|
|
14
|
+
hostResolver?: TypesHostResolverConfig;
|
|
15
|
+
log?: TypesTraefikLog;
|
|
16
|
+
metrics?: TypesMetrics;
|
|
17
|
+
pilot?: StaticPilot;
|
|
18
|
+
ping?: PingHandler;
|
|
19
|
+
providers?: StaticProviders;
|
|
20
|
+
serversTransport?: StaticServersTransport;
|
|
21
|
+
tracing?: StaticTracing;
|
|
22
|
+
[k: string]: unknown | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface TypesAccessLog {
|
|
25
|
+
bufferingSize?: number;
|
|
26
|
+
fields?: TypesAccessLogFields;
|
|
27
|
+
filePath?: string;
|
|
28
|
+
filters?: TypesAccessLogFilters;
|
|
29
|
+
format?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface TypesAccessLogFields {
|
|
32
|
+
defaultMode?: string;
|
|
33
|
+
headers?: TypesFieldHeaders;
|
|
34
|
+
names?: {
|
|
35
|
+
[k: string]: string | undefined;
|
|
184
36
|
};
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
key?: string;
|
|
191
|
-
[k: string]: unknown | undefined;
|
|
192
|
-
};
|
|
37
|
+
}
|
|
38
|
+
export interface TypesFieldHeaders {
|
|
39
|
+
defaultMode?: string;
|
|
40
|
+
names?: {
|
|
41
|
+
[k: string]: string | undefined;
|
|
193
42
|
};
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
43
|
+
}
|
|
44
|
+
export interface TypesAccessLogFilters {
|
|
45
|
+
minDuration?: string;
|
|
46
|
+
retryAttempts?: boolean;
|
|
47
|
+
statusCodes?: string[] | null;
|
|
48
|
+
}
|
|
49
|
+
export interface StaticAPI {
|
|
50
|
+
dashboard?: boolean;
|
|
51
|
+
debug?: boolean;
|
|
52
|
+
disableDashboardAd?: boolean;
|
|
53
|
+
insecure?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface StaticCertificateResolver {
|
|
56
|
+
acme?: AcmeConfiguration;
|
|
57
|
+
}
|
|
58
|
+
export interface AcmeConfiguration {
|
|
59
|
+
caServer?: string;
|
|
60
|
+
certificatesDuration?: number;
|
|
61
|
+
dnsChallenge?: AcmeDNSChallenge;
|
|
62
|
+
eab?: AcmeEAB;
|
|
63
|
+
email?: string;
|
|
64
|
+
httpChallenge?: AcmeHTTPChallenge;
|
|
65
|
+
keyType?: string;
|
|
66
|
+
preferredChain?: string;
|
|
67
|
+
storage?: string;
|
|
68
|
+
tlsChallenge?: AcmeTLSChallenge;
|
|
69
|
+
}
|
|
70
|
+
export interface AcmeDNSChallenge {
|
|
71
|
+
delayBeforeCheck?: string;
|
|
72
|
+
disablePropagationCheck?: boolean;
|
|
73
|
+
provider?: string;
|
|
74
|
+
resolvers?: string[] | null;
|
|
75
|
+
}
|
|
76
|
+
export interface AcmeEAB {
|
|
77
|
+
hmacEncoded?: string;
|
|
78
|
+
kid?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface AcmeHTTPChallenge {
|
|
81
|
+
entryPoint?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface AcmeTLSChallenge {}
|
|
84
|
+
export interface StaticEntryPoint {
|
|
85
|
+
address?: string;
|
|
86
|
+
allowACMEByPass?: boolean;
|
|
87
|
+
forwardedHeaders?: StaticForwardedHeaders;
|
|
88
|
+
http?: StaticHTTPConfig;
|
|
89
|
+
http2?: StaticHTTP2Config;
|
|
90
|
+
http3?: StaticHTTP3Config;
|
|
91
|
+
proxyProtocol?: StaticProxyProtocol;
|
|
92
|
+
transport?: StaticEntryPointsTransport;
|
|
93
|
+
udp?: StaticUDPConfig;
|
|
94
|
+
}
|
|
95
|
+
export interface StaticForwardedHeaders {
|
|
96
|
+
connection?: string[] | null;
|
|
97
|
+
insecure?: boolean;
|
|
98
|
+
trustedIPs?: string[] | null;
|
|
99
|
+
}
|
|
100
|
+
export interface StaticHTTPConfig {
|
|
101
|
+
encodedCharacters?: StaticEncodedCharacters;
|
|
102
|
+
encodeQuerySemicolons?: boolean;
|
|
103
|
+
middlewares?: string[] | null;
|
|
104
|
+
redirections?: StaticRedirections;
|
|
105
|
+
tls?: StaticTLSConfig;
|
|
106
|
+
}
|
|
107
|
+
export interface StaticEncodedCharacters {
|
|
108
|
+
allowEncodedSlash?: boolean;
|
|
109
|
+
allowEncodedBackSlash?: boolean;
|
|
110
|
+
allowEncodedNullCharacter?: boolean;
|
|
111
|
+
allowEncodedSemicolon?: boolean;
|
|
112
|
+
allowEncodedPercent?: boolean;
|
|
113
|
+
allowEncodedQuestionMark?: boolean;
|
|
114
|
+
allowEncodedHash?: boolean;
|
|
115
|
+
}
|
|
116
|
+
export interface StaticRedirections {
|
|
117
|
+
entryPoint?: StaticRedirectEntryPoint;
|
|
118
|
+
}
|
|
119
|
+
export interface StaticRedirectEntryPoint {
|
|
120
|
+
permanent?: boolean;
|
|
121
|
+
priority?: number;
|
|
122
|
+
scheme?: string;
|
|
123
|
+
to?: string;
|
|
124
|
+
}
|
|
125
|
+
export interface StaticTLSConfig {
|
|
126
|
+
certResolver?: string;
|
|
127
|
+
domains?: TypesDomain[] | null;
|
|
128
|
+
options?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface TypesDomain {
|
|
131
|
+
main?: string;
|
|
132
|
+
sans?: string[] | null;
|
|
133
|
+
}
|
|
134
|
+
export interface StaticHTTP2Config {
|
|
135
|
+
maxConcurrentStreams?: number;
|
|
136
|
+
}
|
|
137
|
+
export interface StaticHTTP3Config {
|
|
138
|
+
advertisedPort?: number;
|
|
139
|
+
}
|
|
140
|
+
export interface StaticProxyProtocol {
|
|
141
|
+
insecure?: boolean;
|
|
142
|
+
trustedIPs?: string[] | null;
|
|
143
|
+
}
|
|
144
|
+
export interface StaticEntryPointsTransport {
|
|
145
|
+
keepAliveMaxRequests?: number;
|
|
146
|
+
keepAliveMaxTime?: string;
|
|
147
|
+
lifeCycle?: StaticLifeCycle;
|
|
148
|
+
respondingTimeouts?: StaticRespondingTimeouts;
|
|
149
|
+
}
|
|
150
|
+
export interface StaticLifeCycle {
|
|
151
|
+
graceTimeOut?: string;
|
|
152
|
+
requestAcceptGraceTimeout?: string;
|
|
153
|
+
}
|
|
154
|
+
export interface StaticRespondingTimeouts {
|
|
155
|
+
idleTimeout?: string;
|
|
156
|
+
readTimeout?: string;
|
|
157
|
+
writeTimeout?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface StaticUDPConfig {
|
|
160
|
+
timeout?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface StaticExperimental {
|
|
163
|
+
http3?: boolean;
|
|
164
|
+
kubernetesGateway?: boolean;
|
|
165
|
+
localPlugins?: {
|
|
166
|
+
[k: string]: PluginsLocalDescriptor | undefined;
|
|
198
167
|
};
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
buckets?: number[];
|
|
202
|
-
addEntryPointsLabels?: boolean;
|
|
203
|
-
addRoutersLabels?: boolean;
|
|
204
|
-
addServicesLabels?: boolean;
|
|
205
|
-
entryPoint?: string;
|
|
206
|
-
manualRouting?: boolean;
|
|
207
|
-
};
|
|
208
|
-
datadog?: {
|
|
209
|
-
address?: string;
|
|
210
|
-
pushInterval?: string;
|
|
211
|
-
addEntryPointsLabels?: boolean;
|
|
212
|
-
addRoutersLabels?: boolean;
|
|
213
|
-
addServicesLabels?: boolean;
|
|
214
|
-
prefix?: string;
|
|
215
|
-
};
|
|
216
|
-
statsD?: {
|
|
217
|
-
address?: string;
|
|
218
|
-
pushInterval?: string;
|
|
219
|
-
addEntryPointsLabels?: boolean;
|
|
220
|
-
addRoutersLabels?: boolean;
|
|
221
|
-
addServicesLabels?: boolean;
|
|
222
|
-
prefix?: string;
|
|
223
|
-
};
|
|
224
|
-
influxDB?: {
|
|
225
|
-
address?: string;
|
|
226
|
-
protocol?: string;
|
|
227
|
-
pushInterval?: string;
|
|
228
|
-
database?: string;
|
|
229
|
-
retentionPolicy?: string;
|
|
230
|
-
username?: string;
|
|
231
|
-
password?: string;
|
|
232
|
-
addEntryPointsLabels?: boolean;
|
|
233
|
-
addRoutersLabels?: boolean;
|
|
234
|
-
addServicesLabels?: boolean;
|
|
235
|
-
additionalLabels?: {
|
|
236
|
-
[k: string]: unknown | undefined;
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
influxDB2?: {
|
|
240
|
-
address?: string;
|
|
241
|
-
token?: string;
|
|
242
|
-
pushInterval?: string;
|
|
243
|
-
org?: string;
|
|
244
|
-
bucket?: string;
|
|
245
|
-
addEntryPointsLabels?: boolean;
|
|
246
|
-
addRoutersLabels?: boolean;
|
|
247
|
-
addServicesLabels?: boolean;
|
|
248
|
-
additionalLabels?: {
|
|
249
|
-
[k: string]: unknown | undefined;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
168
|
+
plugins?: {
|
|
169
|
+
[k: string]: PluginsDescriptor | undefined;
|
|
252
170
|
};
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
171
|
+
}
|
|
172
|
+
export interface PluginsLocalDescriptor {
|
|
173
|
+
moduleName?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface PluginsDescriptor {
|
|
176
|
+
moduleName?: string;
|
|
177
|
+
version?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface StaticGlobal {
|
|
180
|
+
checkNewVersion?: boolean;
|
|
181
|
+
sendAnonymousUsage?: boolean;
|
|
182
|
+
}
|
|
183
|
+
export interface TypesHostResolverConfig {
|
|
184
|
+
cnameFlattening?: boolean;
|
|
185
|
+
resolvConfig?: string;
|
|
186
|
+
resolvDepth?: number;
|
|
187
|
+
}
|
|
188
|
+
export interface TypesTraefikLog {
|
|
189
|
+
filePath?: string;
|
|
190
|
+
format?: string;
|
|
191
|
+
level?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface TypesMetrics {
|
|
194
|
+
datadog?: TypesDatadog;
|
|
195
|
+
influxDB?: TypesInfluxDB;
|
|
196
|
+
influxDB2?: TypesInfluxDB2;
|
|
197
|
+
prometheus?: TypesPrometheus;
|
|
198
|
+
statsD?: TypesStatsd;
|
|
199
|
+
}
|
|
200
|
+
export interface TypesDatadog {
|
|
201
|
+
addEntryPointsLabels?: boolean;
|
|
202
|
+
addRoutersLabels?: boolean;
|
|
203
|
+
addServicesLabels?: boolean;
|
|
204
|
+
address?: string;
|
|
205
|
+
prefix?: string;
|
|
206
|
+
pushInterval?: string;
|
|
207
|
+
}
|
|
208
|
+
export interface TypesInfluxDB {
|
|
209
|
+
addEntryPointsLabels?: boolean;
|
|
210
|
+
addRoutersLabels?: boolean;
|
|
211
|
+
addServicesLabels?: boolean;
|
|
212
|
+
additionalLabels?: {
|
|
213
|
+
[k: string]: string | undefined;
|
|
256
214
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
215
|
+
address?: string;
|
|
216
|
+
database?: string;
|
|
217
|
+
password?: string;
|
|
218
|
+
protocol?: string;
|
|
219
|
+
pushInterval?: string;
|
|
220
|
+
retentionPolicy?: string;
|
|
221
|
+
username?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface TypesInfluxDB2 {
|
|
224
|
+
addEntryPointsLabels?: boolean;
|
|
225
|
+
addRoutersLabels?: boolean;
|
|
226
|
+
addServicesLabels?: boolean;
|
|
227
|
+
additionalLabels?: {
|
|
228
|
+
[k: string]: string | undefined;
|
|
261
229
|
};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
caOptional?: boolean;
|
|
277
|
-
cert?: string;
|
|
278
|
-
key?: string;
|
|
279
|
-
insecureSkipVerify?: boolean;
|
|
280
|
-
};
|
|
281
|
-
useBindPortIP?: boolean;
|
|
282
|
-
watch?: boolean;
|
|
283
|
-
};
|
|
284
|
-
file?: {
|
|
285
|
-
directory?: string;
|
|
286
|
-
watch?: boolean;
|
|
287
|
-
filename?: string;
|
|
288
|
-
debugLogGeneratedTemplate?: boolean;
|
|
289
|
-
};
|
|
290
|
-
marathon?: {
|
|
291
|
-
constraints?: string;
|
|
292
|
-
trace?: boolean;
|
|
293
|
-
watch?: boolean;
|
|
294
|
-
endpoint?: string;
|
|
295
|
-
defaultRule?: string;
|
|
296
|
-
exposedByDefault?: boolean;
|
|
297
|
-
dcosToken?: string;
|
|
298
|
-
tls?: {
|
|
299
|
-
ca?: string;
|
|
300
|
-
caOptional?: boolean;
|
|
301
|
-
cert?: string;
|
|
302
|
-
key?: string;
|
|
303
|
-
insecureSkipVerify?: boolean;
|
|
304
|
-
};
|
|
305
|
-
dialerTimeout?: string;
|
|
306
|
-
responseHeaderTimeout?: string;
|
|
307
|
-
tlsHandshakeTimeout?: string;
|
|
308
|
-
keepAlive?: string;
|
|
309
|
-
forceTaskHostname?: boolean;
|
|
310
|
-
basic?: {
|
|
311
|
-
httpBasicAuthUser?: string;
|
|
312
|
-
httpBasicPassword?: string;
|
|
313
|
-
};
|
|
314
|
-
respectReadinessChecks?: boolean;
|
|
315
|
-
};
|
|
316
|
-
kubernetesIngress?: {
|
|
317
|
-
endpoint?: string;
|
|
318
|
-
token?: string;
|
|
319
|
-
certAuthFilePath?: string;
|
|
320
|
-
namespaces?: string[];
|
|
321
|
-
labelSelector?: string;
|
|
322
|
-
ingressClass?: string;
|
|
323
|
-
throttleDuration?: string;
|
|
324
|
-
allowEmptyServices?: boolean;
|
|
325
|
-
allowExternalNameServices?: boolean;
|
|
326
|
-
ingressEndpoint?: {
|
|
327
|
-
ip?: string;
|
|
328
|
-
hostname?: string;
|
|
329
|
-
publishedService?: string;
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
kubernetesCRD?: {
|
|
333
|
-
endpoint?: string;
|
|
334
|
-
token?: string;
|
|
335
|
-
certAuthFilePath?: string;
|
|
336
|
-
namespaces?: string[];
|
|
337
|
-
allowCrossNamespace?: boolean;
|
|
338
|
-
allowExternalNameServices?: boolean;
|
|
339
|
-
labelSelector?: string;
|
|
340
|
-
ingressClass?: string;
|
|
341
|
-
throttleDuration?: string;
|
|
342
|
-
allowEmptyServices?: boolean;
|
|
343
|
-
};
|
|
344
|
-
kubernetesGateway?: {
|
|
345
|
-
endpoint?: string;
|
|
346
|
-
token?: string;
|
|
347
|
-
certAuthFilePath?: string;
|
|
348
|
-
namespaces?: string[];
|
|
349
|
-
labelSelector?: string;
|
|
350
|
-
throttleDuration?: string;
|
|
351
|
-
};
|
|
352
|
-
rest?: {
|
|
353
|
-
insecure?: boolean;
|
|
354
|
-
};
|
|
355
|
-
rancher?: {
|
|
356
|
-
constraints?: string;
|
|
357
|
-
watch?: boolean;
|
|
358
|
-
defaultRule?: string;
|
|
359
|
-
exposedByDefault?: boolean;
|
|
360
|
-
enableServiceHealthFilter?: boolean;
|
|
361
|
-
refreshSeconds?: number;
|
|
362
|
-
intervalPoll?: boolean;
|
|
363
|
-
prefix?: string;
|
|
364
|
-
};
|
|
365
|
-
consulCatalog?: {
|
|
366
|
-
constraints?: string;
|
|
367
|
-
prefix?: string;
|
|
368
|
-
refreshInterval?: string;
|
|
369
|
-
requireConsistent?: boolean;
|
|
370
|
-
stale?: boolean;
|
|
371
|
-
cache?: boolean;
|
|
372
|
-
exposedByDefault?: boolean;
|
|
373
|
-
defaultRule?: string;
|
|
374
|
-
connectAware?: boolean;
|
|
375
|
-
connectByDefault?: boolean;
|
|
376
|
-
serviceName?: string;
|
|
377
|
-
namespace?: string;
|
|
378
|
-
namespaces?: string[];
|
|
379
|
-
watch?: boolean;
|
|
380
|
-
endpoint?: {
|
|
381
|
-
address?: string;
|
|
382
|
-
scheme?: string;
|
|
383
|
-
datacenter?: string;
|
|
384
|
-
token?: string;
|
|
385
|
-
endpointWaitTime?: string;
|
|
386
|
-
tls?: {
|
|
387
|
-
ca?: string;
|
|
388
|
-
caOptional?: boolean;
|
|
389
|
-
cert?: string;
|
|
390
|
-
key?: string;
|
|
391
|
-
insecureSkipVerify?: boolean;
|
|
392
|
-
};
|
|
393
|
-
httpAuth?: {
|
|
394
|
-
username?: string;
|
|
395
|
-
password?: string;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
[k: string]: unknown | undefined;
|
|
399
|
-
};
|
|
400
|
-
nomad?: {
|
|
401
|
-
constraints?: string;
|
|
402
|
-
prefix?: string;
|
|
403
|
-
refreshInterval?: string;
|
|
404
|
-
stale?: boolean;
|
|
405
|
-
exposedByDefault?: boolean;
|
|
406
|
-
defaultRule?: string;
|
|
407
|
-
namespace?: string;
|
|
408
|
-
endpoint?: {
|
|
409
|
-
address?: string;
|
|
410
|
-
region?: string;
|
|
411
|
-
token?: string;
|
|
412
|
-
endpointWaitTime?: string;
|
|
413
|
-
tls?: {
|
|
414
|
-
ca?: string;
|
|
415
|
-
caOptional?: boolean;
|
|
416
|
-
cert?: string;
|
|
417
|
-
key?: string;
|
|
418
|
-
insecureSkipVerify?: boolean;
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
ecs?: {
|
|
423
|
-
constraints?: string;
|
|
424
|
-
exposedByDefault?: boolean;
|
|
425
|
-
refreshSeconds?: number;
|
|
426
|
-
defaultRule?: string;
|
|
427
|
-
clusters?: string[];
|
|
428
|
-
autoDiscoverClusters?: boolean;
|
|
429
|
-
region?: string;
|
|
430
|
-
accessKeyID?: string;
|
|
431
|
-
secretAccessKey?: string;
|
|
432
|
-
};
|
|
433
|
-
consul?: {
|
|
434
|
-
rootKey?: string;
|
|
435
|
-
endpoints?: string[];
|
|
436
|
-
username?: string;
|
|
437
|
-
password?: string;
|
|
438
|
-
token?: string;
|
|
439
|
-
namespace?: string;
|
|
440
|
-
namespaces?: string[];
|
|
441
|
-
tls?: {
|
|
442
|
-
ca?: string;
|
|
443
|
-
caOptional?: boolean;
|
|
444
|
-
cert?: string;
|
|
445
|
-
key?: string;
|
|
446
|
-
insecureSkipVerify?: boolean;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
etcd?: {
|
|
450
|
-
rootKey?: string;
|
|
451
|
-
endpoints?: string[];
|
|
452
|
-
username?: string;
|
|
453
|
-
password?: string;
|
|
454
|
-
token?: string;
|
|
455
|
-
tls?: {
|
|
456
|
-
ca?: string;
|
|
457
|
-
caOptional?: boolean;
|
|
458
|
-
cert?: string;
|
|
459
|
-
key?: string;
|
|
460
|
-
insecureSkipVerify?: boolean;
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
zooKeeper?: {
|
|
464
|
-
rootKey?: string;
|
|
465
|
-
endpoints?: string[];
|
|
466
|
-
username?: string;
|
|
467
|
-
password?: string;
|
|
468
|
-
token?: string;
|
|
469
|
-
tls?: {
|
|
470
|
-
ca?: string;
|
|
471
|
-
caOptional?: boolean;
|
|
472
|
-
cert?: string;
|
|
473
|
-
key?: string;
|
|
474
|
-
insecureSkipVerify?: boolean;
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
redis?: {
|
|
478
|
-
rootKey?: string;
|
|
479
|
-
endpoints?: string[];
|
|
480
|
-
username?: string;
|
|
481
|
-
password?: string;
|
|
482
|
-
token?: string;
|
|
483
|
-
tls?: {
|
|
484
|
-
ca?: string;
|
|
485
|
-
caOptional?: boolean;
|
|
486
|
-
cert?: string;
|
|
487
|
-
key?: string;
|
|
488
|
-
insecureSkipVerify?: boolean;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
http?: {
|
|
492
|
-
endpoint?: string;
|
|
493
|
-
pollInterval?: string;
|
|
494
|
-
pollTimeout?: string;
|
|
495
|
-
tls?: {
|
|
496
|
-
ca?: string;
|
|
497
|
-
caOptional?: boolean;
|
|
498
|
-
cert?: string;
|
|
499
|
-
key?: string;
|
|
500
|
-
insecureSkipVerify?: boolean;
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
plugin?: {
|
|
504
|
-
/**
|
|
505
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
506
|
-
* via the `patternProperty` "[a-zA-Z0-9-_]*".
|
|
507
|
-
*/
|
|
508
|
-
[k: string]: {
|
|
509
|
-
[k: string]: unknown | undefined;
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
[k: string]: unknown | undefined;
|
|
230
|
+
address?: string;
|
|
231
|
+
bucket?: string;
|
|
232
|
+
org?: string;
|
|
233
|
+
pushInterval?: string;
|
|
234
|
+
token?: string;
|
|
235
|
+
}
|
|
236
|
+
export interface TypesPrometheus {
|
|
237
|
+
addEntryPointsLabels?: boolean;
|
|
238
|
+
addRoutersLabels?: boolean;
|
|
239
|
+
addServicesLabels?: boolean;
|
|
240
|
+
buckets?: number[] | null;
|
|
241
|
+
entryPoint?: string;
|
|
242
|
+
headerLabels?: {
|
|
243
|
+
[k: string]: string | undefined;
|
|
513
244
|
};
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
245
|
+
manualRouting?: boolean;
|
|
246
|
+
}
|
|
247
|
+
export interface TypesStatsd {
|
|
248
|
+
addEntryPointsLabels?: boolean;
|
|
249
|
+
addRoutersLabels?: boolean;
|
|
250
|
+
addServicesLabels?: boolean;
|
|
251
|
+
address?: string;
|
|
252
|
+
prefix?: string;
|
|
253
|
+
pushInterval?: string;
|
|
254
|
+
}
|
|
255
|
+
export interface StaticPilot {
|
|
256
|
+
dashboard?: boolean;
|
|
257
|
+
token?: string;
|
|
258
|
+
}
|
|
259
|
+
export interface PingHandler {
|
|
260
|
+
entryPoint?: string;
|
|
261
|
+
manualRouting?: boolean;
|
|
262
|
+
terminatingStatusCode?: number;
|
|
263
|
+
}
|
|
264
|
+
export interface StaticProviders {
|
|
265
|
+
consul?: ConsulProviderBuilder;
|
|
266
|
+
consulCatalog?: ConsulcatalogProviderBuilder;
|
|
267
|
+
docker?: DockerProvider;
|
|
268
|
+
ecs?: EcsProvider;
|
|
269
|
+
etcd?: EtcdProvider;
|
|
270
|
+
file?: FileProvider;
|
|
271
|
+
http?: HttpProvider;
|
|
272
|
+
kubernetesCRD?: CrdProvider;
|
|
273
|
+
kubernetesGateway?: GatewayProvider;
|
|
274
|
+
kubernetesIngress?: IngressProvider;
|
|
275
|
+
marathon?: MarathonProvider;
|
|
276
|
+
nomad?: NomadProviderBuilder;
|
|
277
|
+
plugin?: {
|
|
278
|
+
[k: string]:
|
|
279
|
+
| {
|
|
280
|
+
[k: string]: unknown | undefined;
|
|
281
|
+
}
|
|
282
|
+
| undefined;
|
|
523
283
|
};
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
284
|
+
providersThrottleDuration?: string;
|
|
285
|
+
rancher?: RancherProvider;
|
|
286
|
+
redis?: RedisProvider;
|
|
287
|
+
rest?: RestProvider;
|
|
288
|
+
zooKeeper?: ZkProvider;
|
|
289
|
+
}
|
|
290
|
+
export interface ConsulProviderBuilder {
|
|
291
|
+
endpoints?: string[] | null;
|
|
292
|
+
namespace?: string;
|
|
293
|
+
namespaces?: string[] | null;
|
|
294
|
+
rootKey?: string;
|
|
295
|
+
tls?: TypesClientTLS;
|
|
296
|
+
token?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface TypesClientTLS {
|
|
299
|
+
ca?: string;
|
|
300
|
+
caOptional?: boolean;
|
|
301
|
+
cert?: string;
|
|
302
|
+
insecureSkipVerify?: boolean;
|
|
303
|
+
key?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface ConsulcatalogProviderBuilder {
|
|
306
|
+
cache?: boolean;
|
|
307
|
+
connectAware?: boolean;
|
|
308
|
+
connectByDefault?: boolean;
|
|
309
|
+
constraints?: string;
|
|
310
|
+
defaultRule?: string;
|
|
311
|
+
endpoint?: ConsulcatalogEndpointConfig;
|
|
312
|
+
exposedByDefault?: boolean;
|
|
313
|
+
namespace?: string;
|
|
314
|
+
namespaces?: string[] | null;
|
|
315
|
+
prefix?: string;
|
|
316
|
+
refreshInterval?: string;
|
|
317
|
+
requireConsistent?: boolean;
|
|
318
|
+
serviceName?: string;
|
|
319
|
+
stale?: boolean;
|
|
320
|
+
watch?: boolean;
|
|
321
|
+
}
|
|
322
|
+
export interface ConsulcatalogEndpointConfig {
|
|
323
|
+
address?: string;
|
|
324
|
+
datacenter?: string;
|
|
325
|
+
endpointWaitTime?: string;
|
|
326
|
+
httpAuth?: ConsulcatalogEndpointHTTPAuthConfig;
|
|
327
|
+
scheme?: string;
|
|
328
|
+
tls?: TypesClientTLS;
|
|
329
|
+
token?: string;
|
|
330
|
+
}
|
|
331
|
+
export interface ConsulcatalogEndpointHTTPAuthConfig {
|
|
332
|
+
password?: string;
|
|
333
|
+
username?: string;
|
|
334
|
+
}
|
|
335
|
+
export interface DockerProvider {
|
|
336
|
+
allowEmptyServices?: boolean;
|
|
337
|
+
constraints?: string;
|
|
338
|
+
defaultRule?: string;
|
|
339
|
+
endpoint?: string;
|
|
340
|
+
exposedByDefault?: boolean;
|
|
341
|
+
httpClientTimeout?: string;
|
|
342
|
+
network?: string;
|
|
343
|
+
swarmMode?: boolean;
|
|
344
|
+
swarmModeRefreshSeconds?: string;
|
|
345
|
+
tls?: TypesClientTLS;
|
|
346
|
+
useBindPortIP?: boolean;
|
|
347
|
+
watch?: boolean;
|
|
348
|
+
}
|
|
349
|
+
export interface EcsProvider {
|
|
350
|
+
accessKeyID?: string;
|
|
351
|
+
autoDiscoverClusters?: boolean;
|
|
352
|
+
clusters?: string[] | null;
|
|
353
|
+
constraints?: string;
|
|
354
|
+
defaultRule?: string;
|
|
355
|
+
ecsAnywhere?: boolean;
|
|
356
|
+
exposedByDefault?: boolean;
|
|
357
|
+
refreshSeconds?: number;
|
|
358
|
+
region?: string;
|
|
359
|
+
secretAccessKey?: string;
|
|
360
|
+
}
|
|
361
|
+
export interface EtcdProvider {
|
|
362
|
+
endpoints?: string[] | null;
|
|
363
|
+
password?: string;
|
|
364
|
+
rootKey?: string;
|
|
365
|
+
tls?: TypesClientTLS;
|
|
366
|
+
username?: string;
|
|
367
|
+
}
|
|
368
|
+
export interface FileProvider {
|
|
369
|
+
debugLogGeneratedTemplate?: boolean;
|
|
370
|
+
directory?: string;
|
|
371
|
+
filename?: string;
|
|
372
|
+
watch?: boolean;
|
|
373
|
+
}
|
|
374
|
+
export interface HttpProvider {
|
|
375
|
+
endpoint: string;
|
|
376
|
+
pollInterval?: string;
|
|
377
|
+
pollTimeout?: string;
|
|
378
|
+
tls?: TypesClientTLS;
|
|
379
|
+
}
|
|
380
|
+
export interface CrdProvider {
|
|
381
|
+
allowCrossNamespace?: boolean;
|
|
382
|
+
allowEmptyServices?: boolean;
|
|
383
|
+
allowExternalNameServices?: boolean;
|
|
384
|
+
certAuthFilePath?: string;
|
|
385
|
+
endpoint?: string;
|
|
386
|
+
ingressClass?: string;
|
|
387
|
+
labelSelector?: string;
|
|
388
|
+
namespaces?: string[] | null;
|
|
389
|
+
throttleDuration?: string;
|
|
390
|
+
token?: string;
|
|
391
|
+
}
|
|
392
|
+
export interface GatewayProvider {
|
|
393
|
+
certAuthFilePath?: string;
|
|
394
|
+
endpoint?: string;
|
|
395
|
+
labelSelector?: string;
|
|
396
|
+
namespaces?: string[] | null;
|
|
397
|
+
throttleDuration?: string;
|
|
398
|
+
token?: string;
|
|
399
|
+
}
|
|
400
|
+
export interface IngressProvider {
|
|
401
|
+
allowEmptyServices?: boolean;
|
|
402
|
+
allowExternalNameServices?: boolean;
|
|
403
|
+
certAuthFilePath?: string;
|
|
404
|
+
endpoint?: string;
|
|
405
|
+
ingressClass?: string;
|
|
406
|
+
ingressEndpoint?: IngressEndpointIngress;
|
|
407
|
+
labelSelector?: string;
|
|
408
|
+
namespaces?: string[] | null;
|
|
409
|
+
throttleDuration?: string;
|
|
410
|
+
token?: string;
|
|
411
|
+
}
|
|
412
|
+
export interface IngressEndpointIngress {
|
|
413
|
+
hostname?: string;
|
|
414
|
+
ip?: string;
|
|
415
|
+
publishedService?: string;
|
|
416
|
+
}
|
|
417
|
+
export interface MarathonProvider {
|
|
418
|
+
basic?: MarathonBasic;
|
|
419
|
+
constraints?: string;
|
|
420
|
+
dcosToken?: string;
|
|
421
|
+
defaultRule?: string;
|
|
422
|
+
dialerTimeout?: string;
|
|
423
|
+
endpoint?: string;
|
|
424
|
+
exposedByDefault?: boolean;
|
|
425
|
+
forceTaskHostname?: boolean;
|
|
426
|
+
keepAlive?: string;
|
|
427
|
+
respectReadinessChecks?: boolean;
|
|
428
|
+
responseHeaderTimeout?: string;
|
|
429
|
+
tls?: TypesClientTLS;
|
|
430
|
+
tlsHandshakeTimeout?: string;
|
|
431
|
+
trace?: boolean;
|
|
432
|
+
watch?: boolean;
|
|
433
|
+
}
|
|
434
|
+
export interface MarathonBasic {
|
|
435
|
+
httpBasicAuthUser?: string;
|
|
436
|
+
httpBasicPassword?: string;
|
|
437
|
+
}
|
|
438
|
+
export interface NomadProviderBuilder {
|
|
439
|
+
constraints?: string;
|
|
440
|
+
defaultRule?: string;
|
|
441
|
+
endpoint?: NomadEndpointConfig;
|
|
442
|
+
exposedByDefault?: boolean;
|
|
443
|
+
namespace?: string;
|
|
444
|
+
namespaces?: string[] | null;
|
|
445
|
+
prefix?: string;
|
|
446
|
+
refreshInterval?: string;
|
|
447
|
+
stale?: boolean;
|
|
448
|
+
}
|
|
449
|
+
export interface NomadEndpointConfig {
|
|
450
|
+
address?: string;
|
|
451
|
+
endpointWaitTime?: string;
|
|
452
|
+
region?: string;
|
|
453
|
+
tls?: TypesClientTLS;
|
|
454
|
+
token?: string;
|
|
455
|
+
}
|
|
456
|
+
export interface RancherProvider {
|
|
457
|
+
constraints?: string;
|
|
458
|
+
defaultRule?: string;
|
|
459
|
+
enableServiceHealthFilter?: boolean;
|
|
460
|
+
exposedByDefault?: boolean;
|
|
461
|
+
intervalPoll?: boolean;
|
|
462
|
+
prefix?: string;
|
|
463
|
+
refreshSeconds?: number;
|
|
464
|
+
watch?: boolean;
|
|
465
|
+
}
|
|
466
|
+
export interface RedisProvider {
|
|
467
|
+
db?: number;
|
|
468
|
+
endpoints?: string[] | null;
|
|
469
|
+
password?: string;
|
|
470
|
+
rootKey?: string;
|
|
471
|
+
sentinel?: RedisSentinel;
|
|
472
|
+
tls?: TypesClientTLS;
|
|
473
|
+
username?: string;
|
|
474
|
+
}
|
|
475
|
+
export interface RedisSentinel {
|
|
476
|
+
latencyStrategy?: boolean;
|
|
477
|
+
masterName?: string;
|
|
478
|
+
password?: string;
|
|
479
|
+
randomStrategy?: boolean;
|
|
480
|
+
replicaStrategy?: boolean;
|
|
481
|
+
useDisconnectedReplicas?: boolean;
|
|
482
|
+
username?: string;
|
|
483
|
+
}
|
|
484
|
+
export interface RestProvider {
|
|
485
|
+
insecure?: boolean;
|
|
486
|
+
}
|
|
487
|
+
export interface ZkProvider {
|
|
488
|
+
endpoints?: string[] | null;
|
|
489
|
+
password?: string;
|
|
490
|
+
rootKey?: string;
|
|
491
|
+
username?: string;
|
|
492
|
+
}
|
|
493
|
+
export interface StaticServersTransport {
|
|
494
|
+
forwardingTimeouts?: StaticForwardingTimeouts;
|
|
495
|
+
insecureSkipVerify?: boolean;
|
|
496
|
+
maxIdleConnsPerHost?: number;
|
|
497
|
+
rootCAs?: string[] | null;
|
|
498
|
+
}
|
|
499
|
+
export interface StaticForwardingTimeouts {
|
|
500
|
+
dialTimeout?: string;
|
|
501
|
+
idleConnTimeout?: string;
|
|
502
|
+
responseHeaderTimeout?: string;
|
|
503
|
+
}
|
|
504
|
+
export interface StaticTracing {
|
|
505
|
+
datadog?: DatadogConfig;
|
|
506
|
+
elastic?: ElasticConfig;
|
|
507
|
+
haystack?: HaystackConfig;
|
|
508
|
+
instana?: InstanaConfig;
|
|
509
|
+
jaeger?: JaegerConfig;
|
|
510
|
+
serviceName?: string;
|
|
511
|
+
spanNameLimit?: number;
|
|
512
|
+
zipkin?: ZipkinConfig;
|
|
513
|
+
}
|
|
514
|
+
export interface DatadogConfig {
|
|
515
|
+
bagagePrefixHeaderName?: string;
|
|
516
|
+
debug?: boolean;
|
|
517
|
+
globalTag?: string;
|
|
518
|
+
globalTags?: {
|
|
519
|
+
[k: string]: string | undefined;
|
|
578
520
|
};
|
|
521
|
+
localAgentHostPort?: string;
|
|
522
|
+
localAgentSocket?: string;
|
|
523
|
+
parentIDHeaderName?: string;
|
|
524
|
+
prioritySampling?: boolean;
|
|
525
|
+
samplingPriorityHeaderName?: string;
|
|
526
|
+
traceIDHeaderName?: string;
|
|
527
|
+
}
|
|
528
|
+
export interface ElasticConfig {
|
|
529
|
+
secretToken?: string;
|
|
530
|
+
serverURL?: string;
|
|
531
|
+
serviceEnvironment?: string;
|
|
532
|
+
}
|
|
533
|
+
export interface HaystackConfig {
|
|
534
|
+
baggagePrefixHeaderName?: string;
|
|
535
|
+
globalTag?: string;
|
|
536
|
+
localAgentHost?: string;
|
|
537
|
+
localAgentPort?: number;
|
|
538
|
+
parentIDHeaderName?: string;
|
|
539
|
+
spanIDHeaderName?: string;
|
|
540
|
+
traceIDHeaderName?: string;
|
|
541
|
+
}
|
|
542
|
+
export interface InstanaConfig {
|
|
543
|
+
enableAutoProfile?: boolean;
|
|
544
|
+
localAgentHost?: string;
|
|
545
|
+
localAgentPort?: number;
|
|
546
|
+
logLevel?: string;
|
|
547
|
+
}
|
|
548
|
+
export interface JaegerConfig {
|
|
549
|
+
collector?: JaegerCollector;
|
|
550
|
+
disableAttemptReconnecting?: boolean;
|
|
551
|
+
gen128Bit?: boolean;
|
|
552
|
+
localAgentHostPort?: string;
|
|
553
|
+
propagation?: string;
|
|
554
|
+
samplingParam?: number;
|
|
555
|
+
samplingServerURL?: string;
|
|
556
|
+
samplingType?: string;
|
|
557
|
+
traceContextHeaderName?: string;
|
|
558
|
+
}
|
|
559
|
+
export interface JaegerCollector {
|
|
560
|
+
endpoint?: string;
|
|
561
|
+
password?: string;
|
|
562
|
+
user?: string;
|
|
563
|
+
}
|
|
564
|
+
export interface ZipkinConfig {
|
|
565
|
+
httpEndpoint?: string;
|
|
566
|
+
id128Bit?: boolean;
|
|
567
|
+
sameSpan?: boolean;
|
|
568
|
+
sampleRate?: number;
|
|
579
569
|
}
|