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
|
@@ -439,7 +439,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
439
439
|
};
|
|
440
440
|
},
|
|
441
441
|
/**
|
|
442
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
442
|
+
* 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.
|
|
443
443
|
* @summary Aggregate cluster slow logs
|
|
444
444
|
* @param {string} orgName
|
|
445
445
|
* @param {string} clusterName
|
|
@@ -3613,10 +3613,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3613
3613
|
* @param {string} [componentName]
|
|
3614
3614
|
* @param {string} [instanceName]
|
|
3615
3615
|
* @param {string} [query]
|
|
3616
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3617
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3618
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3619
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3620
|
+
* @param {number} [minRowsExamined]
|
|
3621
|
+
* @param {number} [maxRowsExamined]
|
|
3622
|
+
* @param {number} [minRowsSent]
|
|
3623
|
+
* @param {number} [maxRowsSent]
|
|
3624
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
3625
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
3626
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
3627
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
3616
3628
|
* @param {*} [options] Override http request option.
|
|
3617
3629
|
* @throws {RequiredError}
|
|
3618
3630
|
*/
|
|
3619
|
-
explainSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3631
|
+
explainSlowLogTemplate: async (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> => {
|
|
3620
3632
|
// verify required parameter 'orgName' is not null or undefined
|
|
3621
3633
|
assertParamExists('explainSlowLogTemplate', 'orgName', orgName)
|
|
3622
3634
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3669,6 +3681,54 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3669
3681
|
localVarQueryParameter['query'] = query;
|
|
3670
3682
|
}
|
|
3671
3683
|
|
|
3684
|
+
if (minExecutionTime !== undefined) {
|
|
3685
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
if (maxExecutionTime !== undefined) {
|
|
3689
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
if (minLockTime !== undefined) {
|
|
3693
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
if (maxLockTime !== undefined) {
|
|
3697
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
if (minRowsExamined !== undefined) {
|
|
3701
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
if (maxRowsExamined !== undefined) {
|
|
3705
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
if (minRowsSent !== undefined) {
|
|
3709
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
if (maxRowsSent !== undefined) {
|
|
3713
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
if (dbName !== undefined) {
|
|
3717
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
if (userName !== undefined) {
|
|
3721
|
+
localVarQueryParameter['userName'] = userName;
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
if (clientIp !== undefined) {
|
|
3725
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
if (appName !== undefined) {
|
|
3729
|
+
localVarQueryParameter['appName'] = appName;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3672
3732
|
|
|
3673
3733
|
|
|
3674
3734
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5839,7 +5899,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5839
5899
|
};
|
|
5840
5900
|
},
|
|
5841
5901
|
/**
|
|
5842
|
-
* Get statistics summary for slow logs of a cluster
|
|
5902
|
+
* 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.
|
|
5843
5903
|
* @summary Get cluster slow log statistics
|
|
5844
5904
|
* @param {string} orgName
|
|
5845
5905
|
* @param {string} clusterName
|
|
@@ -5993,10 +6053,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5993
6053
|
* @param {string} [componentName]
|
|
5994
6054
|
* @param {string} [instanceName]
|
|
5995
6055
|
* @param {string} [query]
|
|
6056
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
6057
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
6058
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
6059
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
6060
|
+
* @param {number} [minRowsExamined]
|
|
6061
|
+
* @param {number} [maxRowsExamined]
|
|
6062
|
+
* @param {number} [minRowsSent]
|
|
6063
|
+
* @param {number} [maxRowsSent]
|
|
6064
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
6065
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
6066
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
6067
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
5996
6068
|
* @param {*} [options] Override http request option.
|
|
5997
6069
|
* @throws {RequiredError}
|
|
5998
6070
|
*/
|
|
5999
|
-
getSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6071
|
+
getSlowLogTemplate: async (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> => {
|
|
6000
6072
|
// verify required parameter 'orgName' is not null or undefined
|
|
6001
6073
|
assertParamExists('getSlowLogTemplate', 'orgName', orgName)
|
|
6002
6074
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -6049,6 +6121,54 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6049
6121
|
localVarQueryParameter['query'] = query;
|
|
6050
6122
|
}
|
|
6051
6123
|
|
|
6124
|
+
if (minExecutionTime !== undefined) {
|
|
6125
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
6126
|
+
}
|
|
6127
|
+
|
|
6128
|
+
if (maxExecutionTime !== undefined) {
|
|
6129
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
if (minLockTime !== undefined) {
|
|
6133
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
6134
|
+
}
|
|
6135
|
+
|
|
6136
|
+
if (maxLockTime !== undefined) {
|
|
6137
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
6138
|
+
}
|
|
6139
|
+
|
|
6140
|
+
if (minRowsExamined !== undefined) {
|
|
6141
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
6142
|
+
}
|
|
6143
|
+
|
|
6144
|
+
if (maxRowsExamined !== undefined) {
|
|
6145
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
6146
|
+
}
|
|
6147
|
+
|
|
6148
|
+
if (minRowsSent !== undefined) {
|
|
6149
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
6150
|
+
}
|
|
6151
|
+
|
|
6152
|
+
if (maxRowsSent !== undefined) {
|
|
6153
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6156
|
+
if (dbName !== undefined) {
|
|
6157
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
if (userName !== undefined) {
|
|
6161
|
+
localVarQueryParameter['userName'] = userName;
|
|
6162
|
+
}
|
|
6163
|
+
|
|
6164
|
+
if (clientIp !== undefined) {
|
|
6165
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
if (appName !== undefined) {
|
|
6169
|
+
localVarQueryParameter['appName'] = appName;
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6052
6172
|
|
|
6053
6173
|
|
|
6054
6174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10257,7 +10377,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10257
10377
|
};
|
|
10258
10378
|
},
|
|
10259
10379
|
/**
|
|
10260
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
10380
|
+
* 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.
|
|
10261
10381
|
* @summary Query log hits histogram
|
|
10262
10382
|
* @param {string} orgName
|
|
10263
10383
|
* @param {string} clusterName
|
|
@@ -13377,7 +13497,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13377
13497
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13378
13498
|
},
|
|
13379
13499
|
/**
|
|
13380
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
13500
|
+
* 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.
|
|
13381
13501
|
* @summary Aggregate cluster slow logs
|
|
13382
13502
|
* @param {string} orgName
|
|
13383
13503
|
* @param {string} clusterName
|
|
@@ -14319,11 +14439,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14319
14439
|
* @param {string} [componentName]
|
|
14320
14440
|
* @param {string} [instanceName]
|
|
14321
14441
|
* @param {string} [query]
|
|
14442
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
14443
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
14444
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
14445
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
14446
|
+
* @param {number} [minRowsExamined]
|
|
14447
|
+
* @param {number} [maxRowsExamined]
|
|
14448
|
+
* @param {number} [minRowsSent]
|
|
14449
|
+
* @param {number} [maxRowsSent]
|
|
14450
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
14451
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
14452
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
14453
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
14322
14454
|
* @param {*} [options] Override http request option.
|
|
14323
14455
|
* @throws {RequiredError}
|
|
14324
14456
|
*/
|
|
14325
|
-
async 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>> {
|
|
14326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
14457
|
+
async 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>> {
|
|
14458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options);
|
|
14327
14459
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14328
14460
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.explainSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
|
|
14329
14461
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14973,7 +15105,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14973
15105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14974
15106
|
},
|
|
14975
15107
|
/**
|
|
14976
|
-
* Get statistics summary for slow logs of a cluster
|
|
15108
|
+
* 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.
|
|
14977
15109
|
* @summary Get cluster slow log statistics
|
|
14978
15110
|
* @param {string} orgName
|
|
14979
15111
|
* @param {string} clusterName
|
|
@@ -15016,11 +15148,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15016
15148
|
* @param {string} [componentName]
|
|
15017
15149
|
* @param {string} [instanceName]
|
|
15018
15150
|
* @param {string} [query]
|
|
15151
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
15152
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
15153
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
15154
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
15155
|
+
* @param {number} [minRowsExamined]
|
|
15156
|
+
* @param {number} [maxRowsExamined]
|
|
15157
|
+
* @param {number} [minRowsSent]
|
|
15158
|
+
* @param {number} [maxRowsSent]
|
|
15159
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
15160
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
15161
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
15162
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
15019
15163
|
* @param {*} [options] Override http request option.
|
|
15020
15164
|
* @throws {RequiredError}
|
|
15021
15165
|
*/
|
|
15022
|
-
async 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>> {
|
|
15023
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
15166
|
+
async 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>> {
|
|
15167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options);
|
|
15024
15168
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15025
15169
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
|
|
15026
15170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16263,7 +16407,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16263
16407
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16264
16408
|
},
|
|
16265
16409
|
/**
|
|
16266
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
16410
|
+
* 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.
|
|
16267
16411
|
* @summary Query log hits histogram
|
|
16268
16412
|
* @param {string} orgName
|
|
16269
16413
|
* @param {string} clusterName
|
|
@@ -17150,7 +17294,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17150
17294
|
return localVarFp.addOrgMember(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17151
17295
|
},
|
|
17152
17296
|
/**
|
|
17153
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
17297
|
+
* 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.
|
|
17154
17298
|
* @summary Aggregate cluster slow logs
|
|
17155
17299
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
17156
17300
|
* @param {*} [options] Override http request option.
|
|
@@ -17767,7 +17911,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17767
17911
|
* @throws {RequiredError}
|
|
17768
17912
|
*/
|
|
17769
17913
|
explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
|
|
17770
|
-
return localVarFp.explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
17914
|
+
return localVarFp.explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, options).then((request) => request(axios, basePath));
|
|
17771
17915
|
},
|
|
17772
17916
|
/**
|
|
17773
17917
|
*
|
|
@@ -18190,7 +18334,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18190
18334
|
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
18191
18335
|
},
|
|
18192
18336
|
/**
|
|
18193
|
-
* Get statistics summary for slow logs of a cluster
|
|
18337
|
+
* 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.
|
|
18194
18338
|
* @summary Get cluster slow log statistics
|
|
18195
18339
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
18196
18340
|
* @param {*} [options] Override http request option.
|
|
@@ -18207,7 +18351,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18207
18351
|
* @throws {RequiredError}
|
|
18208
18352
|
*/
|
|
18209
18353
|
getSlowLogTemplate(requestParameters: SharedApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate> {
|
|
18210
|
-
return localVarFp.getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
18354
|
+
return localVarFp.getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, options).then((request) => request(axios, basePath));
|
|
18211
18355
|
},
|
|
18212
18356
|
/**
|
|
18213
18357
|
* Query the SQL audit log switch status for a cluster component
|
|
@@ -19026,7 +19170,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19026
19170
|
return localVarFp.queryImportObjects(requestParameters.orgName, requestParameters.clusterName, requestParameters.importQueryObjectsRequest, options).then((request) => request(axios, basePath));
|
|
19027
19171
|
},
|
|
19028
19172
|
/**
|
|
19029
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
19173
|
+
* 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.
|
|
19030
19174
|
* @summary Query log hits histogram
|
|
19031
19175
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
19032
19176
|
* @param {*} [options] Override http request option.
|
|
@@ -19553,7 +19697,7 @@ export interface SharedApiInterface {
|
|
|
19553
19697
|
addOrgMember(requestParameters: SharedApiAddOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
|
|
19554
19698
|
|
|
19555
19699
|
/**
|
|
19556
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
19700
|
+
* 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.
|
|
19557
19701
|
* @summary Aggregate cluster slow logs
|
|
19558
19702
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
19559
19703
|
* @param {*} [options] Override http request option.
|
|
@@ -20593,7 +20737,7 @@ export interface SharedApiInterface {
|
|
|
20593
20737
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
20594
20738
|
|
|
20595
20739
|
/**
|
|
20596
|
-
* Get statistics summary for slow logs of a cluster
|
|
20740
|
+
* 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.
|
|
20597
20741
|
* @summary Get cluster slow log statistics
|
|
20598
20742
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
20599
20743
|
* @param {*} [options] Override http request option.
|
|
@@ -21429,7 +21573,7 @@ export interface SharedApiInterface {
|
|
|
21429
21573
|
queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
|
|
21430
21574
|
|
|
21431
21575
|
/**
|
|
21432
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
21576
|
+
* 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.
|
|
21433
21577
|
* @summary Query log hits histogram
|
|
21434
21578
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
21435
21579
|
* @param {*} [options] Override http request option.
|
|
@@ -23833,6 +23977,90 @@ export interface SharedApiExplainSlowLogTemplateRequest {
|
|
|
23833
23977
|
* @memberof SharedApiExplainSlowLogTemplate
|
|
23834
23978
|
*/
|
|
23835
23979
|
readonly query?: string
|
|
23980
|
+
|
|
23981
|
+
/**
|
|
23982
|
+
* Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
23983
|
+
* @type {number}
|
|
23984
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
23985
|
+
*/
|
|
23986
|
+
readonly minExecutionTime?: number
|
|
23987
|
+
|
|
23988
|
+
/**
|
|
23989
|
+
* Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
23990
|
+
* @type {number}
|
|
23991
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
23992
|
+
*/
|
|
23993
|
+
readonly maxExecutionTime?: number
|
|
23994
|
+
|
|
23995
|
+
/**
|
|
23996
|
+
* Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
23997
|
+
* @type {number}
|
|
23998
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
23999
|
+
*/
|
|
24000
|
+
readonly minLockTime?: number
|
|
24001
|
+
|
|
24002
|
+
/**
|
|
24003
|
+
* Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
24004
|
+
* @type {number}
|
|
24005
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24006
|
+
*/
|
|
24007
|
+
readonly maxLockTime?: number
|
|
24008
|
+
|
|
24009
|
+
/**
|
|
24010
|
+
*
|
|
24011
|
+
* @type {number}
|
|
24012
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24013
|
+
*/
|
|
24014
|
+
readonly minRowsExamined?: number
|
|
24015
|
+
|
|
24016
|
+
/**
|
|
24017
|
+
*
|
|
24018
|
+
* @type {number}
|
|
24019
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24020
|
+
*/
|
|
24021
|
+
readonly maxRowsExamined?: number
|
|
24022
|
+
|
|
24023
|
+
/**
|
|
24024
|
+
*
|
|
24025
|
+
* @type {number}
|
|
24026
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24027
|
+
*/
|
|
24028
|
+
readonly minRowsSent?: number
|
|
24029
|
+
|
|
24030
|
+
/**
|
|
24031
|
+
*
|
|
24032
|
+
* @type {number}
|
|
24033
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24034
|
+
*/
|
|
24035
|
+
readonly maxRowsSent?: number
|
|
24036
|
+
|
|
24037
|
+
/**
|
|
24038
|
+
* Filter slow logs whose database name contains this value.
|
|
24039
|
+
* @type {string}
|
|
24040
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24041
|
+
*/
|
|
24042
|
+
readonly dbName?: string
|
|
24043
|
+
|
|
24044
|
+
/**
|
|
24045
|
+
* Filter slow logs whose user name contains this value.
|
|
24046
|
+
* @type {string}
|
|
24047
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24048
|
+
*/
|
|
24049
|
+
readonly userName?: string
|
|
24050
|
+
|
|
24051
|
+
/**
|
|
24052
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
24053
|
+
* @type {string}
|
|
24054
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24055
|
+
*/
|
|
24056
|
+
readonly clientIp?: string
|
|
24057
|
+
|
|
24058
|
+
/**
|
|
24059
|
+
* Filter slow logs whose application name contains this value.
|
|
24060
|
+
* @type {string}
|
|
24061
|
+
* @memberof SharedApiExplainSlowLogTemplate
|
|
24062
|
+
*/
|
|
24063
|
+
readonly appName?: string
|
|
23836
24064
|
}
|
|
23837
24065
|
|
|
23838
24066
|
/**
|
|
@@ -25324,6 +25552,90 @@ export interface SharedApiGetSlowLogTemplateRequest {
|
|
|
25324
25552
|
* @memberof SharedApiGetSlowLogTemplate
|
|
25325
25553
|
*/
|
|
25326
25554
|
readonly query?: string
|
|
25555
|
+
|
|
25556
|
+
/**
|
|
25557
|
+
* Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
25558
|
+
* @type {number}
|
|
25559
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25560
|
+
*/
|
|
25561
|
+
readonly minExecutionTime?: number
|
|
25562
|
+
|
|
25563
|
+
/**
|
|
25564
|
+
* Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
25565
|
+
* @type {number}
|
|
25566
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25567
|
+
*/
|
|
25568
|
+
readonly maxExecutionTime?: number
|
|
25569
|
+
|
|
25570
|
+
/**
|
|
25571
|
+
* Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
25572
|
+
* @type {number}
|
|
25573
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25574
|
+
*/
|
|
25575
|
+
readonly minLockTime?: number
|
|
25576
|
+
|
|
25577
|
+
/**
|
|
25578
|
+
* Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
25579
|
+
* @type {number}
|
|
25580
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25581
|
+
*/
|
|
25582
|
+
readonly maxLockTime?: number
|
|
25583
|
+
|
|
25584
|
+
/**
|
|
25585
|
+
*
|
|
25586
|
+
* @type {number}
|
|
25587
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25588
|
+
*/
|
|
25589
|
+
readonly minRowsExamined?: number
|
|
25590
|
+
|
|
25591
|
+
/**
|
|
25592
|
+
*
|
|
25593
|
+
* @type {number}
|
|
25594
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25595
|
+
*/
|
|
25596
|
+
readonly maxRowsExamined?: number
|
|
25597
|
+
|
|
25598
|
+
/**
|
|
25599
|
+
*
|
|
25600
|
+
* @type {number}
|
|
25601
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25602
|
+
*/
|
|
25603
|
+
readonly minRowsSent?: number
|
|
25604
|
+
|
|
25605
|
+
/**
|
|
25606
|
+
*
|
|
25607
|
+
* @type {number}
|
|
25608
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25609
|
+
*/
|
|
25610
|
+
readonly maxRowsSent?: number
|
|
25611
|
+
|
|
25612
|
+
/**
|
|
25613
|
+
* Filter slow logs whose database name contains this value.
|
|
25614
|
+
* @type {string}
|
|
25615
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25616
|
+
*/
|
|
25617
|
+
readonly dbName?: string
|
|
25618
|
+
|
|
25619
|
+
/**
|
|
25620
|
+
* Filter slow logs whose user name contains this value.
|
|
25621
|
+
* @type {string}
|
|
25622
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25623
|
+
*/
|
|
25624
|
+
readonly userName?: string
|
|
25625
|
+
|
|
25626
|
+
/**
|
|
25627
|
+
* Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
25628
|
+
* @type {string}
|
|
25629
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25630
|
+
*/
|
|
25631
|
+
readonly clientIp?: string
|
|
25632
|
+
|
|
25633
|
+
/**
|
|
25634
|
+
* Filter slow logs whose application name contains this value.
|
|
25635
|
+
* @type {string}
|
|
25636
|
+
* @memberof SharedApiGetSlowLogTemplate
|
|
25637
|
+
*/
|
|
25638
|
+
readonly appName?: string
|
|
25327
25639
|
}
|
|
25328
25640
|
|
|
25329
25641
|
/**
|
|
@@ -29791,7 +30103,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
29791
30103
|
}
|
|
29792
30104
|
|
|
29793
30105
|
/**
|
|
29794
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
30106
|
+
* 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.
|
|
29795
30107
|
* @summary Aggregate cluster slow logs
|
|
29796
30108
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
29797
30109
|
* @param {*} [options] Override http request option.
|
|
@@ -30531,7 +30843,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30531
30843
|
* @memberof SharedApi
|
|
30532
30844
|
*/
|
|
30533
30845
|
public explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
|
|
30534
|
-
return SharedApiFp(this.configuration).explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
30846
|
+
return SharedApiFp(this.configuration).explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, options).then((request) => request(this.axios, this.basePath));
|
|
30535
30847
|
}
|
|
30536
30848
|
|
|
30537
30849
|
/**
|
|
@@ -31039,7 +31351,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31039
31351
|
}
|
|
31040
31352
|
|
|
31041
31353
|
/**
|
|
31042
|
-
* Get statistics summary for slow logs of a cluster
|
|
31354
|
+
* 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.
|
|
31043
31355
|
* @summary Get cluster slow log statistics
|
|
31044
31356
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
31045
31357
|
* @param {*} [options] Override http request option.
|
|
@@ -31059,7 +31371,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31059
31371
|
* @memberof SharedApi
|
|
31060
31372
|
*/
|
|
31061
31373
|
public getSlowLogTemplate(requestParameters: SharedApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
|
|
31062
|
-
return SharedApiFp(this.configuration).getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
31374
|
+
return SharedApiFp(this.configuration).getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, options).then((request) => request(this.axios, this.basePath));
|
|
31063
31375
|
}
|
|
31064
31376
|
|
|
31065
31377
|
/**
|
|
@@ -32043,7 +32355,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32043
32355
|
}
|
|
32044
32356
|
|
|
32045
32357
|
/**
|
|
32046
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
32358
|
+
* 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.
|
|
32047
32359
|
* @summary Query log hits histogram
|
|
32048
32360
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
32049
32361
|
* @param {*} [options] Override http request option.
|