kb-cloud-client-typescript 2.3.0-alpha.116 → 2.3.0-alpha.117
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 +211 -19
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +142 -22
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +211 -19
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +142 -22
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +214 -22
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +144 -24
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +214 -22
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +144 -24
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-log-api.ts +337 -25
- package/src/adminapi/apis/shared-api.ts +337 -25
- package/src/adminapi.yaml +131 -3
- package/src/openapi/apis/cluster-log-api.ts +340 -28
- package/src/openapi/apis/shared-api.ts +340 -28
- package/src/openapi.yaml +132 -4
|
@@ -207,7 +207,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
207
207
|
*/
|
|
208
208
|
addOrgMember: (orgName: string, body: OrgMemberAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
209
209
|
/**
|
|
210
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
210
|
+
* Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
211
211
|
* @summary Aggregate cluster slow logs
|
|
212
212
|
* @param {string} orgName
|
|
213
213
|
* @param {string} clusterName
|
|
@@ -844,10 +844,22 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
844
844
|
* @param {string} [componentName]
|
|
845
845
|
* @param {string} [instanceName]
|
|
846
846
|
* @param {string} [query]
|
|
847
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
848
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
849
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
850
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
851
|
+
* @param {number} [minRowsExamined]
|
|
852
|
+
* @param {number} [maxRowsExamined]
|
|
853
|
+
* @param {number} [minRowsSent]
|
|
854
|
+
* @param {number} [maxRowsSent]
|
|
855
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
856
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
857
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
858
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
847
859
|
* @param {*} [options] Override http request option.
|
|
848
860
|
* @throws {RequiredError}
|
|
849
861
|
*/
|
|
850
|
-
explainSlowLogTemplate: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
862
|
+
explainSlowLogTemplate: (orgName: string, clusterName: string, templateId: 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, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
851
863
|
/**
|
|
852
864
|
*
|
|
853
865
|
* @summary Export parameter template from cluster
|
|
@@ -1283,7 +1295,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1283
1295
|
*/
|
|
1284
1296
|
getSchemaList: (orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1285
1297
|
/**
|
|
1286
|
-
* Get statistics summary for slow logs of a cluster
|
|
1298
|
+
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
1287
1299
|
* @summary Get cluster slow log statistics
|
|
1288
1300
|
* @param {string} orgName
|
|
1289
1301
|
* @param {string} clusterName
|
|
@@ -1321,10 +1333,22 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1321
1333
|
* @param {string} [componentName]
|
|
1322
1334
|
* @param {string} [instanceName]
|
|
1323
1335
|
* @param {string} [query]
|
|
1336
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1337
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1338
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1339
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1340
|
+
* @param {number} [minRowsExamined]
|
|
1341
|
+
* @param {number} [maxRowsExamined]
|
|
1342
|
+
* @param {number} [minRowsSent]
|
|
1343
|
+
* @param {number} [maxRowsSent]
|
|
1344
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
1345
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
1346
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
1347
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
1324
1348
|
* @param {*} [options] Override http request option.
|
|
1325
1349
|
* @throws {RequiredError}
|
|
1326
1350
|
*/
|
|
1327
|
-
getSlowLogTemplate: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1351
|
+
getSlowLogTemplate: (orgName: string, clusterName: string, templateId: 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, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1328
1352
|
/**
|
|
1329
1353
|
* Query the SQL audit log switch status for a cluster component
|
|
1330
1354
|
* @summary Get SQL audit log status
|
|
@@ -2153,7 +2177,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2153
2177
|
*/
|
|
2154
2178
|
queryImportObjects: (orgName: string, clusterName: string, importQueryObjectsRequest: ImportQueryObjectsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2155
2179
|
/**
|
|
2156
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
2180
|
+
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
2157
2181
|
* @summary Query log hits histogram
|
|
2158
2182
|
* @param {string} orgName
|
|
2159
2183
|
* @param {string} clusterName
|
|
@@ -2782,7 +2806,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
2782
2806
|
*/
|
|
2783
2807
|
addOrgMember(orgName: string, body: OrgMemberAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgMember>>;
|
|
2784
2808
|
/**
|
|
2785
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
2809
|
+
* Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
2786
2810
|
* @summary Aggregate cluster slow logs
|
|
2787
2811
|
* @param {string} orgName
|
|
2788
2812
|
* @param {string} clusterName
|
|
@@ -3419,10 +3443,22 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3419
3443
|
* @param {string} [componentName]
|
|
3420
3444
|
* @param {string} [instanceName]
|
|
3421
3445
|
* @param {string} [query]
|
|
3446
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3447
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3448
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3449
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3450
|
+
* @param {number} [minRowsExamined]
|
|
3451
|
+
* @param {number} [maxRowsExamined]
|
|
3452
|
+
* @param {number} [minRowsSent]
|
|
3453
|
+
* @param {number} [maxRowsSent]
|
|
3454
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
3455
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
3456
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
3457
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
3422
3458
|
* @param {*} [options] Override http request option.
|
|
3423
3459
|
* @throws {RequiredError}
|
|
3424
3460
|
*/
|
|
3425
|
-
explainSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>>;
|
|
3461
|
+
explainSlowLogTemplate(orgName: string, clusterName: string, templateId: 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, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>>;
|
|
3426
3462
|
/**
|
|
3427
3463
|
*
|
|
3428
3464
|
* @summary Export parameter template from cluster
|
|
@@ -3858,7 +3894,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3858
3894
|
*/
|
|
3859
3895
|
getSchemaList(orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
3860
3896
|
/**
|
|
3861
|
-
* Get statistics summary for slow logs of a cluster
|
|
3897
|
+
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
3862
3898
|
* @summary Get cluster slow log statistics
|
|
3863
3899
|
* @param {string} orgName
|
|
3864
3900
|
* @param {string} clusterName
|
|
@@ -3896,10 +3932,22 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3896
3932
|
* @param {string} [componentName]
|
|
3897
3933
|
* @param {string} [instanceName]
|
|
3898
3934
|
* @param {string} [query]
|
|
3935
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3936
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3937
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3938
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3939
|
+
* @param {number} [minRowsExamined]
|
|
3940
|
+
* @param {number} [maxRowsExamined]
|
|
3941
|
+
* @param {number} [minRowsSent]
|
|
3942
|
+
* @param {number} [maxRowsSent]
|
|
3943
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
3944
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
3945
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
3946
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
3899
3947
|
* @param {*} [options] Override http request option.
|
|
3900
3948
|
* @throws {RequiredError}
|
|
3901
3949
|
*/
|
|
3902
|
-
getSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplate>>;
|
|
3950
|
+
getSlowLogTemplate(orgName: string, clusterName: string, templateId: 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, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplate>>;
|
|
3903
3951
|
/**
|
|
3904
3952
|
* Query the SQL audit log switch status for a cluster component
|
|
3905
3953
|
* @summary Get SQL audit log status
|
|
@@ -4728,7 +4776,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
4728
4776
|
*/
|
|
4729
4777
|
queryImportObjects(orgName: string, clusterName: string, importQueryObjectsRequest: ImportQueryObjectsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReplicationObjectTree>>;
|
|
4730
4778
|
/**
|
|
4731
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
4779
|
+
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
4732
4780
|
* @summary Query log hits histogram
|
|
4733
4781
|
* @param {string} orgName
|
|
4734
4782
|
* @param {string} clusterName
|
|
@@ -5356,7 +5404,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
5356
5404
|
*/
|
|
5357
5405
|
addOrgMember(requestParameters: SharedApiAddOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
|
|
5358
5406
|
/**
|
|
5359
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
5407
|
+
* Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
5360
5408
|
* @summary Aggregate cluster slow logs
|
|
5361
5409
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
5362
5410
|
* @param {*} [options] Override http request option.
|
|
@@ -6188,7 +6236,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
6188
6236
|
*/
|
|
6189
6237
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
6190
6238
|
/**
|
|
6191
|
-
* Get statistics summary for slow logs of a cluster
|
|
6239
|
+
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
6192
6240
|
* @summary Get cluster slow log statistics
|
|
6193
6241
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
6194
6242
|
* @param {*} [options] Override http request option.
|
|
@@ -6856,7 +6904,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
6856
6904
|
*/
|
|
6857
6905
|
queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
|
|
6858
6906
|
/**
|
|
6859
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
6907
|
+
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
6860
6908
|
* @summary Query log hits histogram
|
|
6861
6909
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
6862
6910
|
* @param {*} [options] Override http request option.
|
|
@@ -7278,7 +7326,7 @@ export interface SharedApiInterface {
|
|
|
7278
7326
|
*/
|
|
7279
7327
|
addOrgMember(requestParameters: SharedApiAddOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
|
|
7280
7328
|
/**
|
|
7281
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
7329
|
+
* Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
7282
7330
|
* @summary Aggregate cluster slow logs
|
|
7283
7331
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
7284
7332
|
* @param {*} [options] Override http request option.
|
|
@@ -8214,7 +8262,7 @@ export interface SharedApiInterface {
|
|
|
8214
8262
|
*/
|
|
8215
8263
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
8216
8264
|
/**
|
|
8217
|
-
* Get statistics summary for slow logs of a cluster
|
|
8265
|
+
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
8218
8266
|
* @summary Get cluster slow log statistics
|
|
8219
8267
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
8220
8268
|
* @param {*} [options] Override http request option.
|
|
@@ -8966,7 +9014,7 @@ export interface SharedApiInterface {
|
|
|
8966
9014
|
*/
|
|
8967
9015
|
queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
|
|
8968
9016
|
/**
|
|
8969
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
9017
|
+
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
8970
9018
|
* @summary Query log hits histogram
|
|
8971
9019
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
8972
9020
|
* @param {*} [options] Override http request option.
|
|
@@ -11110,6 +11158,78 @@ export interface SharedApiExplainSlowLogTemplateRequest {
|
|
|
11110
11158
|
* @memberof SharedApiExplainSlowLogTemplate
|
|
11111
11159
|
*/
|
|
11112
11160
|
readonly query?: string;
|
|
11161
|
+
/**
|
|
11162
|
+
* Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
11163
|
+
* @type {number}
|
|
11164
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11165
|
+
*/
|
|
11166
|
+
readonly minExecutionTime?: number;
|
|
11167
|
+
/**
|
|
11168
|
+
* Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
11169
|
+
* @type {number}
|
|
11170
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11171
|
+
*/
|
|
11172
|
+
readonly maxExecutionTime?: number;
|
|
11173
|
+
/**
|
|
11174
|
+
* Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
11175
|
+
* @type {number}
|
|
11176
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11177
|
+
*/
|
|
11178
|
+
readonly minLockTime?: number;
|
|
11179
|
+
/**
|
|
11180
|
+
* Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
11181
|
+
* @type {number}
|
|
11182
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11183
|
+
*/
|
|
11184
|
+
readonly maxLockTime?: number;
|
|
11185
|
+
/**
|
|
11186
|
+
*
|
|
11187
|
+
* @type {number}
|
|
11188
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11189
|
+
*/
|
|
11190
|
+
readonly minRowsExamined?: number;
|
|
11191
|
+
/**
|
|
11192
|
+
*
|
|
11193
|
+
* @type {number}
|
|
11194
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11195
|
+
*/
|
|
11196
|
+
readonly maxRowsExamined?: number;
|
|
11197
|
+
/**
|
|
11198
|
+
*
|
|
11199
|
+
* @type {number}
|
|
11200
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11201
|
+
*/
|
|
11202
|
+
readonly minRowsSent?: number;
|
|
11203
|
+
/**
|
|
11204
|
+
*
|
|
11205
|
+
* @type {number}
|
|
11206
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11207
|
+
*/
|
|
11208
|
+
readonly maxRowsSent?: number;
|
|
11209
|
+
/**
|
|
11210
|
+
* Filter slow logs whose database name contains this value.
|
|
11211
|
+
* @type {string}
|
|
11212
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11213
|
+
*/
|
|
11214
|
+
readonly dbName?: string;
|
|
11215
|
+
/**
|
|
11216
|
+
* Filter slow logs whose user name contains this value.
|
|
11217
|
+
* @type {string}
|
|
11218
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11219
|
+
*/
|
|
11220
|
+
readonly userName?: string;
|
|
11221
|
+
/**
|
|
11222
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
11223
|
+
* @type {string}
|
|
11224
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11225
|
+
*/
|
|
11226
|
+
readonly clientIp?: string;
|
|
11227
|
+
/**
|
|
11228
|
+
* Filter slow logs whose application name contains this value.
|
|
11229
|
+
* @type {string}
|
|
11230
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
11231
|
+
*/
|
|
11232
|
+
readonly appName?: string;
|
|
11113
11233
|
}
|
|
11114
11234
|
/**
|
|
11115
11235
|
* Request parameters for exportParameterTemplateFromCluster operation in SharedApi.
|
|
@@ -12432,6 +12552,78 @@ export interface SharedApiGetSlowLogTemplateRequest {
|
|
|
12432
12552
|
* @memberof SharedApiGetSlowLogTemplate
|
|
12433
12553
|
*/
|
|
12434
12554
|
readonly query?: string;
|
|
12555
|
+
/**
|
|
12556
|
+
* Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
12557
|
+
* @type {number}
|
|
12558
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12559
|
+
*/
|
|
12560
|
+
readonly minExecutionTime?: number;
|
|
12561
|
+
/**
|
|
12562
|
+
* Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
12563
|
+
* @type {number}
|
|
12564
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12565
|
+
*/
|
|
12566
|
+
readonly maxExecutionTime?: number;
|
|
12567
|
+
/**
|
|
12568
|
+
* Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
12569
|
+
* @type {number}
|
|
12570
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12571
|
+
*/
|
|
12572
|
+
readonly minLockTime?: number;
|
|
12573
|
+
/**
|
|
12574
|
+
* Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
12575
|
+
* @type {number}
|
|
12576
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12577
|
+
*/
|
|
12578
|
+
readonly maxLockTime?: number;
|
|
12579
|
+
/**
|
|
12580
|
+
*
|
|
12581
|
+
* @type {number}
|
|
12582
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12583
|
+
*/
|
|
12584
|
+
readonly minRowsExamined?: number;
|
|
12585
|
+
/**
|
|
12586
|
+
*
|
|
12587
|
+
* @type {number}
|
|
12588
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12589
|
+
*/
|
|
12590
|
+
readonly maxRowsExamined?: number;
|
|
12591
|
+
/**
|
|
12592
|
+
*
|
|
12593
|
+
* @type {number}
|
|
12594
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12595
|
+
*/
|
|
12596
|
+
readonly minRowsSent?: number;
|
|
12597
|
+
/**
|
|
12598
|
+
*
|
|
12599
|
+
* @type {number}
|
|
12600
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12601
|
+
*/
|
|
12602
|
+
readonly maxRowsSent?: number;
|
|
12603
|
+
/**
|
|
12604
|
+
* Filter slow logs whose database name contains this value.
|
|
12605
|
+
* @type {string}
|
|
12606
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12607
|
+
*/
|
|
12608
|
+
readonly dbName?: string;
|
|
12609
|
+
/**
|
|
12610
|
+
* Filter slow logs whose user name contains this value.
|
|
12611
|
+
* @type {string}
|
|
12612
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12613
|
+
*/
|
|
12614
|
+
readonly userName?: string;
|
|
12615
|
+
/**
|
|
12616
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
12617
|
+
* @type {string}
|
|
12618
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12619
|
+
*/
|
|
12620
|
+
readonly clientIp?: string;
|
|
12621
|
+
/**
|
|
12622
|
+
* Filter slow logs whose application name contains this value.
|
|
12623
|
+
* @type {string}
|
|
12624
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
12625
|
+
*/
|
|
12626
|
+
readonly appName?: string;
|
|
12435
12627
|
}
|
|
12436
12628
|
/**
|
|
12437
12629
|
* Request parameters for getSqlAudit operation in SharedApi.
|
|
@@ -16389,7 +16581,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
16389
16581
|
*/
|
|
16390
16582
|
addOrgMember(requestParameters: SharedApiAddOrgMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgMember, any, {}>>;
|
|
16391
16583
|
/**
|
|
16392
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
16584
|
+
* Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
16393
16585
|
* @summary Aggregate cluster slow logs
|
|
16394
16586
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
16395
16587
|
* @param {*} [options] Override http request option.
|
|
@@ -17325,7 +17517,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
17325
17517
|
*/
|
|
17326
17518
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
17327
17519
|
/**
|
|
17328
|
-
* Get statistics summary for slow logs of a cluster
|
|
17520
|
+
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
17329
17521
|
* @summary Get cluster slow log statistics
|
|
17330
17522
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
17331
17523
|
* @param {*} [options] Override http request option.
|
|
@@ -18077,7 +18269,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
18077
18269
|
*/
|
|
18078
18270
|
queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplicationObjectTree, any, {}>>;
|
|
18079
18271
|
/**
|
|
18080
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
18272
|
+
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
18081
18273
|
* @summary Query log hits histogram
|
|
18082
18274
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
18083
18275
|
* @param {*} [options] Override http request option.
|