kb-cloud-client-typescript 2.3.0-alpha.108 → 2.3.0-alpha.110
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/dist/adminapi/apis/cluster-log-api.d.ts +184 -272
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +140 -195
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +184 -272
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +140 -195
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +198 -326
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +153 -233
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +198 -326
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +153 -233
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/package.json +1 -6
- package/src/adminapi/apis/cluster-log-api.ts +272 -415
- package/src/adminapi/apis/shared-api.ts +272 -415
- package/src/adminapi.yaml +92 -100
- package/src/openapi/apis/cluster-log-api.ts +289 -497
- package/src/openapi/apis/shared-api.ts +289 -497
- package/src/openapi.yaml +96 -120
|
@@ -59,10 +59,24 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
59
59
|
* @param {SortType} [sortType]
|
|
60
60
|
* @param {string} [groupBy]
|
|
61
61
|
* @param {number} [topN]
|
|
62
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
63
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
64
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
65
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
66
|
+
* @param {number} [minRowsExamined]
|
|
67
|
+
* @param {number} [maxRowsExamined]
|
|
68
|
+
* @param {number} [minRowsSent]
|
|
69
|
+
* @param {number} [maxRowsSent]
|
|
70
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
71
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
72
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
73
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
74
|
+
* @param {string} [templateId]
|
|
75
|
+
* @param {boolean} [unclassifiedOnly]
|
|
62
76
|
* @param {*} [options] Override http request option.
|
|
63
77
|
* @throws {RequiredError}
|
|
64
78
|
*/
|
|
65
|
-
aggregateSlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
aggregateSlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
80
|
/**
|
|
67
81
|
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
68
82
|
* @summary Explain cluster slow log SQL
|
|
@@ -109,22 +123,17 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
109
123
|
* @param {number} [maxRowsExamined]
|
|
110
124
|
* @param {number} [minRowsSent]
|
|
111
125
|
* @param {number} [maxRowsSent]
|
|
112
|
-
* @param {string} [dbName]
|
|
113
|
-
* @param {string} [
|
|
114
|
-
* @param {string} [
|
|
115
|
-
* @param {string} [
|
|
116
|
-
* @param {string} [clientIp]
|
|
117
|
-
* @param {string} [clientIpContains]
|
|
118
|
-
* @param {string} [clientIpCIDR]
|
|
119
|
-
* @param {string} [appName]
|
|
120
|
-
* @param {string} [appNameContains]
|
|
126
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
127
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
128
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
129
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
121
130
|
* @param {string} [templateId]
|
|
122
131
|
* @param {boolean} [unclassifiedOnly]
|
|
123
132
|
* @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
|
|
124
133
|
* @param {*} [options] Override http request option.
|
|
125
134
|
* @throws {RequiredError}
|
|
126
135
|
*/
|
|
127
|
-
exportClusterLogs: (orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
136
|
+
exportClusterLogs: (orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, maxLines?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
137
|
/**
|
|
129
138
|
* Get statistics summary for slow logs of a cluster
|
|
130
139
|
* @summary Get cluster slow log statistics
|
|
@@ -143,21 +152,16 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
143
152
|
* @param {number} [maxRowsExamined]
|
|
144
153
|
* @param {number} [minRowsSent]
|
|
145
154
|
* @param {number} [maxRowsSent]
|
|
146
|
-
* @param {string} [dbName]
|
|
147
|
-
* @param {string} [
|
|
148
|
-
* @param {string} [
|
|
149
|
-
* @param {string} [
|
|
150
|
-
* @param {string} [clientIp]
|
|
151
|
-
* @param {string} [clientIpContains]
|
|
152
|
-
* @param {string} [clientIpCIDR]
|
|
153
|
-
* @param {string} [appName]
|
|
154
|
-
* @param {string} [appNameContains]
|
|
155
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
156
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
157
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
158
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
155
159
|
* @param {string} [templateId]
|
|
156
160
|
* @param {boolean} [unclassifiedOnly]
|
|
157
161
|
* @param {*} [options] Override http request option.
|
|
158
162
|
* @throws {RequiredError}
|
|
159
163
|
*/
|
|
160
|
-
getSlowLogStats: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
164
|
+
getSlowLogStats: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
161
165
|
/**
|
|
162
166
|
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
163
167
|
* @summary Get cluster slow log template
|
|
@@ -225,21 +229,16 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
225
229
|
* @param {number} [maxRowsExamined]
|
|
226
230
|
* @param {number} [minRowsSent]
|
|
227
231
|
* @param {number} [maxRowsSent]
|
|
228
|
-
* @param {string} [dbName]
|
|
229
|
-
* @param {string} [
|
|
230
|
-
* @param {string} [
|
|
231
|
-
* @param {string} [
|
|
232
|
-
* @param {string} [clientIp]
|
|
233
|
-
* @param {string} [clientIpContains]
|
|
234
|
-
* @param {string} [clientIpCIDR]
|
|
235
|
-
* @param {string} [appName]
|
|
236
|
-
* @param {string} [appNameContains]
|
|
232
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
233
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
234
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
235
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
237
236
|
* @param {string} [templateId]
|
|
238
237
|
* @param {boolean} [unclassifiedOnly]
|
|
239
238
|
* @param {*} [options] Override http request option.
|
|
240
239
|
* @throws {RequiredError}
|
|
241
240
|
*/
|
|
242
|
-
queryLogHits: (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
241
|
+
queryLogHits: (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
243
242
|
/**
|
|
244
243
|
* Query pod logs of a cluster
|
|
245
244
|
* @summary Query cluster pod logs
|
|
@@ -294,20 +293,15 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
294
293
|
* @param {number} [maxRowsExamined]
|
|
295
294
|
* @param {number} [minRowsSent]
|
|
296
295
|
* @param {number} [maxRowsSent]
|
|
297
|
-
* @param {string} [dbName]
|
|
298
|
-
* @param {string} [
|
|
299
|
-
* @param {string} [
|
|
300
|
-
* @param {string} [
|
|
301
|
-
* @param {string} [clientIp]
|
|
302
|
-
* @param {string} [clientIpContains]
|
|
303
|
-
* @param {string} [clientIpCIDR]
|
|
304
|
-
* @param {string} [appName]
|
|
305
|
-
* @param {string} [appNameContains]
|
|
296
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
297
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
298
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
299
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
306
300
|
* @param {boolean} [unclassifiedOnly]
|
|
307
301
|
* @param {*} [options] Override http request option.
|
|
308
302
|
* @throws {RequiredError}
|
|
309
303
|
*/
|
|
310
|
-
querySlowLogTemplateSamples: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
304
|
+
querySlowLogTemplateSamples: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
311
305
|
/**
|
|
312
306
|
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
313
307
|
* @summary Query cluster slow log templates
|
|
@@ -329,19 +323,14 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
329
323
|
* @param {number} [maxRowsExamined]
|
|
330
324
|
* @param {number} [minRowsSent]
|
|
331
325
|
* @param {number} [maxRowsSent]
|
|
332
|
-
* @param {string} [dbName]
|
|
333
|
-
* @param {string} [
|
|
334
|
-
* @param {string} [
|
|
335
|
-
* @param {string} [
|
|
336
|
-
* @param {string} [clientIp]
|
|
337
|
-
* @param {string} [clientIpContains]
|
|
338
|
-
* @param {string} [clientIpCIDR]
|
|
339
|
-
* @param {string} [appName]
|
|
340
|
-
* @param {string} [appNameContains]
|
|
326
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
327
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
328
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
329
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
341
330
|
* @param {*} [options] Override http request option.
|
|
342
331
|
* @throws {RequiredError}
|
|
343
332
|
*/
|
|
344
|
-
querySlowLogTemplates: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
333
|
+
querySlowLogTemplates: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
345
334
|
/**
|
|
346
335
|
* Query slow logs of a cluster
|
|
347
336
|
* @summary Query cluster slow logs
|
|
@@ -362,21 +351,16 @@ export declare const ClusterLogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
362
351
|
* @param {number} [maxRowsExamined]
|
|
363
352
|
* @param {number} [minRowsSent]
|
|
364
353
|
* @param {number} [maxRowsSent]
|
|
365
|
-
* @param {string} [dbName]
|
|
366
|
-
* @param {string} [
|
|
367
|
-
* @param {string} [
|
|
368
|
-
* @param {string} [
|
|
369
|
-
* @param {string} [clientIp]
|
|
370
|
-
* @param {string} [clientIpContains]
|
|
371
|
-
* @param {string} [clientIpCIDR]
|
|
372
|
-
* @param {string} [appName]
|
|
373
|
-
* @param {string} [appNameContains]
|
|
354
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
355
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
356
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
357
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
374
358
|
* @param {string} [templateId]
|
|
375
359
|
* @param {boolean} [unclassifiedOnly]
|
|
376
360
|
* @param {*} [options] Override http request option.
|
|
377
361
|
* @throws {RequiredError}
|
|
378
362
|
*/
|
|
379
|
-
querySlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
363
|
+
querySlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
380
364
|
};
|
|
381
365
|
/**
|
|
382
366
|
* ClusterLogApi - functional programming interface
|
|
@@ -415,10 +399,24 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
415
399
|
* @param {SortType} [sortType]
|
|
416
400
|
* @param {string} [groupBy]
|
|
417
401
|
* @param {number} [topN]
|
|
402
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
403
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
404
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
405
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
406
|
+
* @param {number} [minRowsExamined]
|
|
407
|
+
* @param {number} [maxRowsExamined]
|
|
408
|
+
* @param {number} [minRowsSent]
|
|
409
|
+
* @param {number} [maxRowsSent]
|
|
410
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
411
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
412
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
413
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
414
|
+
* @param {string} [templateId]
|
|
415
|
+
* @param {boolean} [unclassifiedOnly]
|
|
418
416
|
* @param {*} [options] Override http request option.
|
|
419
417
|
* @throws {RequiredError}
|
|
420
418
|
*/
|
|
421
|
-
aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>>;
|
|
419
|
+
aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>>;
|
|
422
420
|
/**
|
|
423
421
|
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
424
422
|
* @summary Explain cluster slow log SQL
|
|
@@ -465,22 +463,17 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
465
463
|
* @param {number} [maxRowsExamined]
|
|
466
464
|
* @param {number} [minRowsSent]
|
|
467
465
|
* @param {number} [maxRowsSent]
|
|
468
|
-
* @param {string} [dbName]
|
|
469
|
-
* @param {string} [
|
|
470
|
-
* @param {string} [
|
|
471
|
-
* @param {string} [
|
|
472
|
-
* @param {string} [clientIp]
|
|
473
|
-
* @param {string} [clientIpContains]
|
|
474
|
-
* @param {string} [clientIpCIDR]
|
|
475
|
-
* @param {string} [appName]
|
|
476
|
-
* @param {string} [appNameContains]
|
|
466
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
467
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
468
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
469
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
477
470
|
* @param {string} [templateId]
|
|
478
471
|
* @param {boolean} [unclassifiedOnly]
|
|
479
472
|
* @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
|
|
480
473
|
* @param {*} [options] Override http request option.
|
|
481
474
|
* @throws {RequiredError}
|
|
482
475
|
*/
|
|
483
|
-
exportClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
476
|
+
exportClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, maxLines?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
484
477
|
/**
|
|
485
478
|
* Get statistics summary for slow logs of a cluster
|
|
486
479
|
* @summary Get cluster slow log statistics
|
|
@@ -499,21 +492,16 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
499
492
|
* @param {number} [maxRowsExamined]
|
|
500
493
|
* @param {number} [minRowsSent]
|
|
501
494
|
* @param {number} [maxRowsSent]
|
|
502
|
-
* @param {string} [dbName]
|
|
503
|
-
* @param {string} [
|
|
504
|
-
* @param {string} [
|
|
505
|
-
* @param {string} [
|
|
506
|
-
* @param {string} [clientIp]
|
|
507
|
-
* @param {string} [clientIpContains]
|
|
508
|
-
* @param {string} [clientIpCIDR]
|
|
509
|
-
* @param {string} [appName]
|
|
510
|
-
* @param {string} [appNameContains]
|
|
495
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
496
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
497
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
498
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
511
499
|
* @param {string} [templateId]
|
|
512
500
|
* @param {boolean} [unclassifiedOnly]
|
|
513
501
|
* @param {*} [options] Override http request option.
|
|
514
502
|
* @throws {RequiredError}
|
|
515
503
|
*/
|
|
516
|
-
getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
504
|
+
getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>>;
|
|
517
505
|
/**
|
|
518
506
|
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
519
507
|
* @summary Get cluster slow log template
|
|
@@ -581,21 +569,16 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
581
569
|
* @param {number} [maxRowsExamined]
|
|
582
570
|
* @param {number} [minRowsSent]
|
|
583
571
|
* @param {number} [maxRowsSent]
|
|
584
|
-
* @param {string} [dbName]
|
|
585
|
-
* @param {string} [
|
|
586
|
-
* @param {string} [
|
|
587
|
-
* @param {string} [
|
|
588
|
-
* @param {string} [clientIp]
|
|
589
|
-
* @param {string} [clientIpContains]
|
|
590
|
-
* @param {string} [clientIpCIDR]
|
|
591
|
-
* @param {string} [appName]
|
|
592
|
-
* @param {string} [appNameContains]
|
|
572
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
573
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
574
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
575
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
593
576
|
* @param {string} [templateId]
|
|
594
577
|
* @param {boolean} [unclassifiedOnly]
|
|
595
578
|
* @param {*} [options] Override http request option.
|
|
596
579
|
* @throws {RequiredError}
|
|
597
580
|
*/
|
|
598
|
-
queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
581
|
+
queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>>;
|
|
599
582
|
/**
|
|
600
583
|
* Query pod logs of a cluster
|
|
601
584
|
* @summary Query cluster pod logs
|
|
@@ -650,20 +633,15 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
650
633
|
* @param {number} [maxRowsExamined]
|
|
651
634
|
* @param {number} [minRowsSent]
|
|
652
635
|
* @param {number} [maxRowsSent]
|
|
653
|
-
* @param {string} [dbName]
|
|
654
|
-
* @param {string} [
|
|
655
|
-
* @param {string} [
|
|
656
|
-
* @param {string} [
|
|
657
|
-
* @param {string} [clientIp]
|
|
658
|
-
* @param {string} [clientIpContains]
|
|
659
|
-
* @param {string} [clientIpCIDR]
|
|
660
|
-
* @param {string} [appName]
|
|
661
|
-
* @param {string} [appNameContains]
|
|
636
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
637
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
638
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
639
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
662
640
|
* @param {boolean} [unclassifiedOnly]
|
|
663
641
|
* @param {*} [options] Override http request option.
|
|
664
642
|
* @throws {RequiredError}
|
|
665
643
|
*/
|
|
666
|
-
querySlowLogTemplateSamples(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
644
|
+
querySlowLogTemplateSamples(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>>;
|
|
667
645
|
/**
|
|
668
646
|
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
669
647
|
* @summary Query cluster slow log templates
|
|
@@ -685,19 +663,14 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
685
663
|
* @param {number} [maxRowsExamined]
|
|
686
664
|
* @param {number} [minRowsSent]
|
|
687
665
|
* @param {number} [maxRowsSent]
|
|
688
|
-
* @param {string} [dbName]
|
|
689
|
-
* @param {string} [
|
|
690
|
-
* @param {string} [
|
|
691
|
-
* @param {string} [
|
|
692
|
-
* @param {string} [clientIp]
|
|
693
|
-
* @param {string} [clientIpContains]
|
|
694
|
-
* @param {string} [clientIpCIDR]
|
|
695
|
-
* @param {string} [appName]
|
|
696
|
-
* @param {string} [appNameContains]
|
|
666
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
667
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
668
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
669
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
697
670
|
* @param {*} [options] Override http request option.
|
|
698
671
|
* @throws {RequiredError}
|
|
699
672
|
*/
|
|
700
|
-
querySlowLogTemplates(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
673
|
+
querySlowLogTemplates(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplateList>>;
|
|
701
674
|
/**
|
|
702
675
|
* Query slow logs of a cluster
|
|
703
676
|
* @summary Query cluster slow logs
|
|
@@ -718,21 +691,16 @@ export declare const ClusterLogApiFp: (configuration?: Configuration) => {
|
|
|
718
691
|
* @param {number} [maxRowsExamined]
|
|
719
692
|
* @param {number} [minRowsSent]
|
|
720
693
|
* @param {number} [maxRowsSent]
|
|
721
|
-
* @param {string} [dbName]
|
|
722
|
-
* @param {string} [
|
|
723
|
-
* @param {string} [
|
|
724
|
-
* @param {string} [
|
|
725
|
-
* @param {string} [clientIp]
|
|
726
|
-
* @param {string} [clientIpContains]
|
|
727
|
-
* @param {string} [clientIpCIDR]
|
|
728
|
-
* @param {string} [appName]
|
|
729
|
-
* @param {string} [appNameContains]
|
|
694
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
695
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
696
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
697
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
730
698
|
* @param {string} [templateId]
|
|
731
699
|
* @param {boolean} [unclassifiedOnly]
|
|
732
700
|
* @param {*} [options] Override http request option.
|
|
733
701
|
* @throws {RequiredError}
|
|
734
702
|
*/
|
|
735
|
-
querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string,
|
|
703
|
+
querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>>;
|
|
736
704
|
};
|
|
737
705
|
/**
|
|
738
706
|
* ClusterLogApi - factory interface
|
|
@@ -1147,6 +1115,90 @@ export interface ClusterLogApiAggregateSlowLogsRequest {
|
|
|
1147
1115
|
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1148
1116
|
*/
|
|
1149
1117
|
readonly topN?: number;
|
|
1118
|
+
/**
|
|
1119
|
+
* Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1120
|
+
* @type {number}
|
|
1121
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1122
|
+
*/
|
|
1123
|
+
readonly minExecutionTime?: number;
|
|
1124
|
+
/**
|
|
1125
|
+
* Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1126
|
+
* @type {number}
|
|
1127
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1128
|
+
*/
|
|
1129
|
+
readonly maxExecutionTime?: number;
|
|
1130
|
+
/**
|
|
1131
|
+
* Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1134
|
+
*/
|
|
1135
|
+
readonly minLockTime?: number;
|
|
1136
|
+
/**
|
|
1137
|
+
* Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1138
|
+
* @type {number}
|
|
1139
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1140
|
+
*/
|
|
1141
|
+
readonly maxLockTime?: number;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {number}
|
|
1145
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1146
|
+
*/
|
|
1147
|
+
readonly minRowsExamined?: number;
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {number}
|
|
1151
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1152
|
+
*/
|
|
1153
|
+
readonly maxRowsExamined?: number;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {number}
|
|
1157
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1158
|
+
*/
|
|
1159
|
+
readonly minRowsSent?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @type {number}
|
|
1163
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1164
|
+
*/
|
|
1165
|
+
readonly maxRowsSent?: number;
|
|
1166
|
+
/**
|
|
1167
|
+
* Filter slow logs whose database name contains this value.
|
|
1168
|
+
* @type {string}
|
|
1169
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1170
|
+
*/
|
|
1171
|
+
readonly dbName?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* Filter slow logs whose user name contains this value.
|
|
1174
|
+
* @type {string}
|
|
1175
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1176
|
+
*/
|
|
1177
|
+
readonly userName?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
1180
|
+
* @type {string}
|
|
1181
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1182
|
+
*/
|
|
1183
|
+
readonly clientIp?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Filter slow logs whose application name contains this value.
|
|
1186
|
+
* @type {string}
|
|
1187
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1188
|
+
*/
|
|
1189
|
+
readonly appName?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @type {string}
|
|
1193
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1194
|
+
*/
|
|
1195
|
+
readonly templateId?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @type {boolean}
|
|
1199
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
1200
|
+
*/
|
|
1201
|
+
readonly unclassifiedOnly?: boolean;
|
|
1150
1202
|
}
|
|
1151
1203
|
/**
|
|
1152
1204
|
* Request parameters for explainSlowLog operation in ClusterLogApi.
|
|
@@ -1343,59 +1395,29 @@ export interface ClusterLogApiExportClusterLogsRequest {
|
|
|
1343
1395
|
*/
|
|
1344
1396
|
readonly maxRowsSent?: number;
|
|
1345
1397
|
/**
|
|
1346
|
-
*
|
|
1398
|
+
* Filter slow logs whose database name contains this value.
|
|
1347
1399
|
* @type {string}
|
|
1348
1400
|
* @memberof ClusterLogApiExportClusterLogs
|
|
1349
1401
|
*/
|
|
1350
1402
|
readonly dbName?: string;
|
|
1351
1403
|
/**
|
|
1352
|
-
*
|
|
1353
|
-
* @type {string}
|
|
1354
|
-
* @memberof ClusterLogApiExportClusterLogs
|
|
1355
|
-
*/
|
|
1356
|
-
readonly dbNameContains?: string;
|
|
1357
|
-
/**
|
|
1358
|
-
*
|
|
1404
|
+
* Filter slow logs whose user name contains this value.
|
|
1359
1405
|
* @type {string}
|
|
1360
1406
|
* @memberof ClusterLogApiExportClusterLogs
|
|
1361
1407
|
*/
|
|
1362
1408
|
readonly userName?: string;
|
|
1363
1409
|
/**
|
|
1364
|
-
*
|
|
1365
|
-
* @type {string}
|
|
1366
|
-
* @memberof ClusterLogApiExportClusterLogs
|
|
1367
|
-
*/
|
|
1368
|
-
readonly userNameContains?: string;
|
|
1369
|
-
/**
|
|
1370
|
-
*
|
|
1410
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
1371
1411
|
* @type {string}
|
|
1372
1412
|
* @memberof ClusterLogApiExportClusterLogs
|
|
1373
1413
|
*/
|
|
1374
1414
|
readonly clientIp?: string;
|
|
1375
1415
|
/**
|
|
1376
|
-
*
|
|
1377
|
-
* @type {string}
|
|
1378
|
-
* @memberof ClusterLogApiExportClusterLogs
|
|
1379
|
-
*/
|
|
1380
|
-
readonly clientIpContains?: string;
|
|
1381
|
-
/**
|
|
1382
|
-
*
|
|
1383
|
-
* @type {string}
|
|
1384
|
-
* @memberof ClusterLogApiExportClusterLogs
|
|
1385
|
-
*/
|
|
1386
|
-
readonly clientIpCIDR?: string;
|
|
1387
|
-
/**
|
|
1388
|
-
*
|
|
1416
|
+
* Filter slow logs whose application name contains this value.
|
|
1389
1417
|
* @type {string}
|
|
1390
1418
|
* @memberof ClusterLogApiExportClusterLogs
|
|
1391
1419
|
*/
|
|
1392
1420
|
readonly appName?: string;
|
|
1393
|
-
/**
|
|
1394
|
-
*
|
|
1395
|
-
* @type {string}
|
|
1396
|
-
* @memberof ClusterLogApiExportClusterLogs
|
|
1397
|
-
*/
|
|
1398
|
-
readonly appNameContains?: string;
|
|
1399
1421
|
/**
|
|
1400
1422
|
*
|
|
1401
1423
|
* @type {string}
|
|
@@ -1512,59 +1534,29 @@ export interface ClusterLogApiGetSlowLogStatsRequest {
|
|
|
1512
1534
|
*/
|
|
1513
1535
|
readonly maxRowsSent?: number;
|
|
1514
1536
|
/**
|
|
1515
|
-
*
|
|
1537
|
+
* Filter slow logs whose database name contains this value.
|
|
1516
1538
|
* @type {string}
|
|
1517
1539
|
* @memberof ClusterLogApiGetSlowLogStats
|
|
1518
1540
|
*/
|
|
1519
1541
|
readonly dbName?: string;
|
|
1520
1542
|
/**
|
|
1521
|
-
*
|
|
1522
|
-
* @type {string}
|
|
1523
|
-
* @memberof ClusterLogApiGetSlowLogStats
|
|
1524
|
-
*/
|
|
1525
|
-
readonly dbNameContains?: string;
|
|
1526
|
-
/**
|
|
1527
|
-
*
|
|
1543
|
+
* Filter slow logs whose user name contains this value.
|
|
1528
1544
|
* @type {string}
|
|
1529
1545
|
* @memberof ClusterLogApiGetSlowLogStats
|
|
1530
1546
|
*/
|
|
1531
1547
|
readonly userName?: string;
|
|
1532
1548
|
/**
|
|
1533
|
-
*
|
|
1534
|
-
* @type {string}
|
|
1535
|
-
* @memberof ClusterLogApiGetSlowLogStats
|
|
1536
|
-
*/
|
|
1537
|
-
readonly userNameContains?: string;
|
|
1538
|
-
/**
|
|
1539
|
-
*
|
|
1549
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
1540
1550
|
* @type {string}
|
|
1541
1551
|
* @memberof ClusterLogApiGetSlowLogStats
|
|
1542
1552
|
*/
|
|
1543
1553
|
readonly clientIp?: string;
|
|
1544
1554
|
/**
|
|
1545
|
-
*
|
|
1546
|
-
* @type {string}
|
|
1547
|
-
* @memberof ClusterLogApiGetSlowLogStats
|
|
1548
|
-
*/
|
|
1549
|
-
readonly clientIpContains?: string;
|
|
1550
|
-
/**
|
|
1551
|
-
*
|
|
1552
|
-
* @type {string}
|
|
1553
|
-
* @memberof ClusterLogApiGetSlowLogStats
|
|
1554
|
-
*/
|
|
1555
|
-
readonly clientIpCIDR?: string;
|
|
1556
|
-
/**
|
|
1557
|
-
*
|
|
1555
|
+
* Filter slow logs whose application name contains this value.
|
|
1558
1556
|
* @type {string}
|
|
1559
1557
|
* @memberof ClusterLogApiGetSlowLogStats
|
|
1560
1558
|
*/
|
|
1561
1559
|
readonly appName?: string;
|
|
1562
|
-
/**
|
|
1563
|
-
*
|
|
1564
|
-
* @type {string}
|
|
1565
|
-
* @memberof ClusterLogApiGetSlowLogStats
|
|
1566
|
-
*/
|
|
1567
|
-
readonly appNameContains?: string;
|
|
1568
1560
|
/**
|
|
1569
1561
|
*
|
|
1570
1562
|
* @type {string}
|
|
@@ -1864,59 +1856,29 @@ export interface ClusterLogApiQueryLogHitsRequest {
|
|
|
1864
1856
|
*/
|
|
1865
1857
|
readonly maxRowsSent?: number;
|
|
1866
1858
|
/**
|
|
1867
|
-
*
|
|
1859
|
+
* Filter slow logs whose database name contains this value.
|
|
1868
1860
|
* @type {string}
|
|
1869
1861
|
* @memberof ClusterLogApiQueryLogHits
|
|
1870
1862
|
*/
|
|
1871
1863
|
readonly dbName?: string;
|
|
1872
1864
|
/**
|
|
1873
|
-
*
|
|
1874
|
-
* @type {string}
|
|
1875
|
-
* @memberof ClusterLogApiQueryLogHits
|
|
1876
|
-
*/
|
|
1877
|
-
readonly dbNameContains?: string;
|
|
1878
|
-
/**
|
|
1879
|
-
*
|
|
1865
|
+
* Filter slow logs whose user name contains this value.
|
|
1880
1866
|
* @type {string}
|
|
1881
1867
|
* @memberof ClusterLogApiQueryLogHits
|
|
1882
1868
|
*/
|
|
1883
1869
|
readonly userName?: string;
|
|
1884
1870
|
/**
|
|
1885
|
-
*
|
|
1886
|
-
* @type {string}
|
|
1887
|
-
* @memberof ClusterLogApiQueryLogHits
|
|
1888
|
-
*/
|
|
1889
|
-
readonly userNameContains?: string;
|
|
1890
|
-
/**
|
|
1891
|
-
*
|
|
1871
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
1892
1872
|
* @type {string}
|
|
1893
1873
|
* @memberof ClusterLogApiQueryLogHits
|
|
1894
1874
|
*/
|
|
1895
1875
|
readonly clientIp?: string;
|
|
1896
1876
|
/**
|
|
1897
|
-
*
|
|
1898
|
-
* @type {string}
|
|
1899
|
-
* @memberof ClusterLogApiQueryLogHits
|
|
1900
|
-
*/
|
|
1901
|
-
readonly clientIpContains?: string;
|
|
1902
|
-
/**
|
|
1903
|
-
*
|
|
1904
|
-
* @type {string}
|
|
1905
|
-
* @memberof ClusterLogApiQueryLogHits
|
|
1906
|
-
*/
|
|
1907
|
-
readonly clientIpCIDR?: string;
|
|
1908
|
-
/**
|
|
1909
|
-
*
|
|
1877
|
+
* Filter slow logs whose application name contains this value.
|
|
1910
1878
|
* @type {string}
|
|
1911
1879
|
* @memberof ClusterLogApiQueryLogHits
|
|
1912
1880
|
*/
|
|
1913
1881
|
readonly appName?: string;
|
|
1914
|
-
/**
|
|
1915
|
-
*
|
|
1916
|
-
* @type {string}
|
|
1917
|
-
* @memberof ClusterLogApiQueryLogHits
|
|
1918
|
-
*/
|
|
1919
|
-
readonly appNameContains?: string;
|
|
1920
1882
|
/**
|
|
1921
1883
|
*
|
|
1922
1884
|
* @type {string}
|
|
@@ -2173,59 +2135,29 @@ export interface ClusterLogApiQuerySlowLogTemplateSamplesRequest {
|
|
|
2173
2135
|
*/
|
|
2174
2136
|
readonly maxRowsSent?: number;
|
|
2175
2137
|
/**
|
|
2176
|
-
*
|
|
2138
|
+
* Filter slow logs whose database name contains this value.
|
|
2177
2139
|
* @type {string}
|
|
2178
2140
|
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2179
2141
|
*/
|
|
2180
2142
|
readonly dbName?: string;
|
|
2181
2143
|
/**
|
|
2182
|
-
*
|
|
2183
|
-
* @type {string}
|
|
2184
|
-
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2185
|
-
*/
|
|
2186
|
-
readonly dbNameContains?: string;
|
|
2187
|
-
/**
|
|
2188
|
-
*
|
|
2144
|
+
* Filter slow logs whose user name contains this value.
|
|
2189
2145
|
* @type {string}
|
|
2190
2146
|
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2191
2147
|
*/
|
|
2192
2148
|
readonly userName?: string;
|
|
2193
2149
|
/**
|
|
2194
|
-
*
|
|
2195
|
-
* @type {string}
|
|
2196
|
-
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2197
|
-
*/
|
|
2198
|
-
readonly userNameContains?: string;
|
|
2199
|
-
/**
|
|
2200
|
-
*
|
|
2150
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2201
2151
|
* @type {string}
|
|
2202
2152
|
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2203
2153
|
*/
|
|
2204
2154
|
readonly clientIp?: string;
|
|
2205
2155
|
/**
|
|
2206
|
-
*
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2209
|
-
*/
|
|
2210
|
-
readonly clientIpContains?: string;
|
|
2211
|
-
/**
|
|
2212
|
-
*
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2215
|
-
*/
|
|
2216
|
-
readonly clientIpCIDR?: string;
|
|
2217
|
-
/**
|
|
2218
|
-
*
|
|
2156
|
+
* Filter slow logs whose application name contains this value.
|
|
2219
2157
|
* @type {string}
|
|
2220
2158
|
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2221
2159
|
*/
|
|
2222
2160
|
readonly appName?: string;
|
|
2223
|
-
/**
|
|
2224
|
-
*
|
|
2225
|
-
* @type {string}
|
|
2226
|
-
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
2227
|
-
*/
|
|
2228
|
-
readonly appNameContains?: string;
|
|
2229
2161
|
/**
|
|
2230
2162
|
*
|
|
2231
2163
|
* @type {boolean}
|
|
@@ -2348,59 +2280,29 @@ export interface ClusterLogApiQuerySlowLogTemplatesRequest {
|
|
|
2348
2280
|
*/
|
|
2349
2281
|
readonly maxRowsSent?: number;
|
|
2350
2282
|
/**
|
|
2351
|
-
*
|
|
2283
|
+
* Filter slow logs whose database name contains this value.
|
|
2352
2284
|
* @type {string}
|
|
2353
2285
|
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2354
2286
|
*/
|
|
2355
2287
|
readonly dbName?: string;
|
|
2356
2288
|
/**
|
|
2357
|
-
*
|
|
2358
|
-
* @type {string}
|
|
2359
|
-
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2360
|
-
*/
|
|
2361
|
-
readonly dbNameContains?: string;
|
|
2362
|
-
/**
|
|
2363
|
-
*
|
|
2289
|
+
* Filter slow logs whose user name contains this value.
|
|
2364
2290
|
* @type {string}
|
|
2365
2291
|
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2366
2292
|
*/
|
|
2367
2293
|
readonly userName?: string;
|
|
2368
2294
|
/**
|
|
2369
|
-
*
|
|
2370
|
-
* @type {string}
|
|
2371
|
-
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2372
|
-
*/
|
|
2373
|
-
readonly userNameContains?: string;
|
|
2374
|
-
/**
|
|
2375
|
-
*
|
|
2295
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2376
2296
|
* @type {string}
|
|
2377
2297
|
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2378
2298
|
*/
|
|
2379
2299
|
readonly clientIp?: string;
|
|
2380
2300
|
/**
|
|
2381
|
-
*
|
|
2382
|
-
* @type {string}
|
|
2383
|
-
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2384
|
-
*/
|
|
2385
|
-
readonly clientIpContains?: string;
|
|
2386
|
-
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @type {string}
|
|
2389
|
-
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2390
|
-
*/
|
|
2391
|
-
readonly clientIpCIDR?: string;
|
|
2392
|
-
/**
|
|
2393
|
-
*
|
|
2301
|
+
* Filter slow logs whose application name contains this value.
|
|
2394
2302
|
* @type {string}
|
|
2395
2303
|
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2396
2304
|
*/
|
|
2397
2305
|
readonly appName?: string;
|
|
2398
|
-
/**
|
|
2399
|
-
*
|
|
2400
|
-
* @type {string}
|
|
2401
|
-
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
2402
|
-
*/
|
|
2403
|
-
readonly appNameContains?: string;
|
|
2404
2306
|
}
|
|
2405
2307
|
/**
|
|
2406
2308
|
* Request parameters for querySlowLogs operation in ClusterLogApi.
|
|
@@ -2511,59 +2413,29 @@ export interface ClusterLogApiQuerySlowLogsRequest {
|
|
|
2511
2413
|
*/
|
|
2512
2414
|
readonly maxRowsSent?: number;
|
|
2513
2415
|
/**
|
|
2514
|
-
*
|
|
2416
|
+
* Filter slow logs whose database name contains this value.
|
|
2515
2417
|
* @type {string}
|
|
2516
2418
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2517
2419
|
*/
|
|
2518
2420
|
readonly dbName?: string;
|
|
2519
2421
|
/**
|
|
2520
|
-
*
|
|
2521
|
-
* @type {string}
|
|
2522
|
-
* @memberof ClusterLogApiQuerySlowLogs
|
|
2523
|
-
*/
|
|
2524
|
-
readonly dbNameContains?: string;
|
|
2525
|
-
/**
|
|
2526
|
-
*
|
|
2422
|
+
* Filter slow logs whose user name contains this value.
|
|
2527
2423
|
* @type {string}
|
|
2528
2424
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2529
2425
|
*/
|
|
2530
2426
|
readonly userName?: string;
|
|
2531
2427
|
/**
|
|
2532
|
-
*
|
|
2533
|
-
* @type {string}
|
|
2534
|
-
* @memberof ClusterLogApiQuerySlowLogs
|
|
2535
|
-
*/
|
|
2536
|
-
readonly userNameContains?: string;
|
|
2537
|
-
/**
|
|
2538
|
-
*
|
|
2428
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2539
2429
|
* @type {string}
|
|
2540
2430
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2541
2431
|
*/
|
|
2542
2432
|
readonly clientIp?: string;
|
|
2543
2433
|
/**
|
|
2544
|
-
*
|
|
2545
|
-
* @type {string}
|
|
2546
|
-
* @memberof ClusterLogApiQuerySlowLogs
|
|
2547
|
-
*/
|
|
2548
|
-
readonly clientIpContains?: string;
|
|
2549
|
-
/**
|
|
2550
|
-
*
|
|
2551
|
-
* @type {string}
|
|
2552
|
-
* @memberof ClusterLogApiQuerySlowLogs
|
|
2553
|
-
*/
|
|
2554
|
-
readonly clientIpCIDR?: string;
|
|
2555
|
-
/**
|
|
2556
|
-
*
|
|
2434
|
+
* Filter slow logs whose application name contains this value.
|
|
2557
2435
|
* @type {string}
|
|
2558
2436
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2559
2437
|
*/
|
|
2560
2438
|
readonly appName?: string;
|
|
2561
|
-
/**
|
|
2562
|
-
*
|
|
2563
|
-
* @type {string}
|
|
2564
|
-
* @memberof ClusterLogApiQuerySlowLogs
|
|
2565
|
-
*/
|
|
2566
|
-
readonly appNameContains?: string;
|
|
2567
2439
|
/**
|
|
2568
2440
|
*
|
|
2569
2441
|
* @type {string}
|