kb-cloud-client-typescript 2.3.0-alpha.116 → 2.3.0-alpha.118
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/diagnostics-api.d.ts +64 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +74 -0
- package/dist/adminapi/apis/diagnostics-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/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-database-space.d.ts +43 -0
- package/dist/adminapi/models/postgresql-database-space.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-database-space.js +16 -0
- package/dist/adminapi/models/postgresql-database-space.js.map +1 -0
- package/dist/adminapi/models/postgresql-index-space.d.ts +103 -0
- package/dist/adminapi/models/postgresql-index-space.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-index-space.js +16 -0
- package/dist/adminapi/models/postgresql-index-space.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-analysis.d.ts +88 -0
- package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-analysis.js +16 -0
- package/dist/adminapi/models/postgresql-space-analysis.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts +43 -0
- package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-cannot-prove.js +16 -0
- package/dist/adminapi/models/postgresql-space-cannot-prove.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-pvc.d.ts +43 -0
- package/dist/adminapi/models/postgresql-space-pvc.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-pvc.js +16 -0
- package/dist/adminapi/models/postgresql-space-pvc.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-risk-hint.d.ts +61 -0
- package/dist/adminapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-risk-hint.js +16 -0
- package/dist/adminapi/models/postgresql-space-risk-hint.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-source.d.ts +49 -0
- package/dist/adminapi/models/postgresql-space-source.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-source.js +16 -0
- package/dist/adminapi/models/postgresql-space-source.js.map +1 -0
- package/dist/adminapi/models/postgresql-space-summary.d.ts +85 -0
- package/dist/adminapi/models/postgresql-space-summary.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-space-summary.js +16 -0
- package/dist/adminapi/models/postgresql-space-summary.js.map +1 -0
- package/dist/adminapi/models/postgresql-table-space.d.ts +133 -0
- package/dist/adminapi/models/postgresql-table-space.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-table-space.js +16 -0
- package/dist/adminapi/models/postgresql-table-space.js.map +1 -0
- package/dist/adminapi/models/postgresql-toast-relation-space.d.ts +67 -0
- package/dist/adminapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-toast-relation-space.js +16 -0
- package/dist/adminapi/models/postgresql-toast-relation-space.js.map +1 -0
- 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/diagnostics-api.d.ts +64 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +74 -0
- package/dist/openapi/apis/diagnostics-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/dist/openapi/models/index.d.ts +10 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-database-space.d.ts +43 -0
- package/dist/openapi/models/postgresql-database-space.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-database-space.js +16 -0
- package/dist/openapi/models/postgresql-database-space.js.map +1 -0
- package/dist/openapi/models/postgresql-index-space.d.ts +103 -0
- package/dist/openapi/models/postgresql-index-space.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-index-space.js +16 -0
- package/dist/openapi/models/postgresql-index-space.js.map +1 -0
- package/dist/openapi/models/postgresql-space-analysis.d.ts +88 -0
- package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-analysis.js +16 -0
- package/dist/openapi/models/postgresql-space-analysis.js.map +1 -0
- package/dist/openapi/models/postgresql-space-cannot-prove.d.ts +43 -0
- package/dist/openapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-cannot-prove.js +16 -0
- package/dist/openapi/models/postgresql-space-cannot-prove.js.map +1 -0
- package/dist/openapi/models/postgresql-space-pvc.d.ts +43 -0
- package/dist/openapi/models/postgresql-space-pvc.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-pvc.js +16 -0
- package/dist/openapi/models/postgresql-space-pvc.js.map +1 -0
- package/dist/openapi/models/postgresql-space-risk-hint.d.ts +61 -0
- package/dist/openapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-risk-hint.js +16 -0
- package/dist/openapi/models/postgresql-space-risk-hint.js.map +1 -0
- package/dist/openapi/models/postgresql-space-source.d.ts +49 -0
- package/dist/openapi/models/postgresql-space-source.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-source.js +16 -0
- package/dist/openapi/models/postgresql-space-source.js.map +1 -0
- package/dist/openapi/models/postgresql-space-summary.d.ts +85 -0
- package/dist/openapi/models/postgresql-space-summary.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-space-summary.js +16 -0
- package/dist/openapi/models/postgresql-space-summary.js.map +1 -0
- package/dist/openapi/models/postgresql-table-space.d.ts +133 -0
- package/dist/openapi/models/postgresql-table-space.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-table-space.js +16 -0
- package/dist/openapi/models/postgresql-table-space.js.map +1 -0
- package/dist/openapi/models/postgresql-toast-relation-space.d.ts +67 -0
- package/dist/openapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-toast-relation-space.js +16 -0
- package/dist/openapi/models/postgresql-toast-relation-space.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +10 -0
- package/src/adminapi/apis/cluster-log-api.ts +337 -25
- package/src/adminapi/apis/diagnostics-api.ts +114 -0
- package/src/adminapi/apis/shared-api.ts +337 -25
- package/src/adminapi/models/index.ts +10 -0
- package/src/adminapi/models/postgresql-database-space.ts +48 -0
- package/src/adminapi/models/postgresql-index-space.ts +108 -0
- package/src/adminapi/models/postgresql-space-analysis.ts +111 -0
- package/src/adminapi/models/postgresql-space-cannot-prove.ts +48 -0
- package/src/adminapi/models/postgresql-space-pvc.ts +48 -0
- package/src/adminapi/models/postgresql-space-risk-hint.ts +66 -0
- package/src/adminapi/models/postgresql-space-source.ts +54 -0
- package/src/adminapi/models/postgresql-space-summary.ts +90 -0
- package/src/adminapi/models/postgresql-table-space.ts +138 -0
- package/src/adminapi/models/postgresql-toast-relation-space.ts +72 -0
- package/src/adminapi.yaml +460 -3
- package/src/openapi/.openapi-generator/FILES +10 -0
- package/src/openapi/apis/cluster-log-api.ts +340 -28
- package/src/openapi/apis/diagnostics-api.ts +114 -0
- package/src/openapi/apis/shared-api.ts +340 -28
- package/src/openapi/models/index.ts +10 -0
- package/src/openapi/models/postgresql-database-space.ts +48 -0
- package/src/openapi/models/postgresql-index-space.ts +108 -0
- package/src/openapi/models/postgresql-space-analysis.ts +111 -0
- package/src/openapi/models/postgresql-space-cannot-prove.ts +48 -0
- package/src/openapi/models/postgresql-space-pvc.ts +48 -0
- package/src/openapi/models/postgresql-space-risk-hint.ts +66 -0
- package/src/openapi/models/postgresql-space-source.ts +54 -0
- package/src/openapi/models/postgresql-space-summary.ts +90 -0
- package/src/openapi/models/postgresql-table-space.ts +138 -0
- package/src/openapi/models/postgresql-toast-relation-space.ts +72 -0
- package/src/openapi.yaml +461 -4
|
@@ -147,7 +147,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
};
|
|
148
148
|
},
|
|
149
149
|
/**
|
|
150
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
150
|
+
* 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.
|
|
151
151
|
* @summary Aggregate cluster slow logs
|
|
152
152
|
* @param {string} orgName
|
|
153
153
|
* @param {string} clusterName
|
|
@@ -2969,10 +2969,22 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
2969
2969
|
* @param {string} [componentName]
|
|
2970
2970
|
* @param {string} [instanceName]
|
|
2971
2971
|
* @param {string} [query]
|
|
2972
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2973
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2974
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2975
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2976
|
+
* @param {number} [minRowsExamined]
|
|
2977
|
+
* @param {number} [maxRowsExamined]
|
|
2978
|
+
* @param {number} [minRowsSent]
|
|
2979
|
+
* @param {number} [maxRowsSent]
|
|
2980
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
2981
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
2982
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2983
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
2972
2984
|
* @param {*} [options] Override http request option.
|
|
2973
2985
|
* @throws {RequiredError}
|
|
2974
2986
|
*/
|
|
2975
|
-
explainSlowLogTemplate: async (orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options = {}) => {
|
|
2987
|
+
explainSlowLogTemplate: async (orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options = {}) => {
|
|
2976
2988
|
// verify required parameter 'orgName' is not null or undefined
|
|
2977
2989
|
(0, common_1.assertParamExists)('explainSlowLogTemplate', 'orgName', orgName);
|
|
2978
2990
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3016,6 +3028,42 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3016
3028
|
if (query !== undefined) {
|
|
3017
3029
|
localVarQueryParameter['query'] = query;
|
|
3018
3030
|
}
|
|
3031
|
+
if (minExecutionTime !== undefined) {
|
|
3032
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
3033
|
+
}
|
|
3034
|
+
if (maxExecutionTime !== undefined) {
|
|
3035
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
3036
|
+
}
|
|
3037
|
+
if (minLockTime !== undefined) {
|
|
3038
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
3039
|
+
}
|
|
3040
|
+
if (maxLockTime !== undefined) {
|
|
3041
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
3042
|
+
}
|
|
3043
|
+
if (minRowsExamined !== undefined) {
|
|
3044
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
3045
|
+
}
|
|
3046
|
+
if (maxRowsExamined !== undefined) {
|
|
3047
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
3048
|
+
}
|
|
3049
|
+
if (minRowsSent !== undefined) {
|
|
3050
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
3051
|
+
}
|
|
3052
|
+
if (maxRowsSent !== undefined) {
|
|
3053
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
3054
|
+
}
|
|
3055
|
+
if (dbName !== undefined) {
|
|
3056
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
3057
|
+
}
|
|
3058
|
+
if (userName !== undefined) {
|
|
3059
|
+
localVarQueryParameter['userName'] = userName;
|
|
3060
|
+
}
|
|
3061
|
+
if (clientIp !== undefined) {
|
|
3062
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
3063
|
+
}
|
|
3064
|
+
if (appName !== undefined) {
|
|
3065
|
+
localVarQueryParameter['appName'] = appName;
|
|
3066
|
+
}
|
|
3019
3067
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3020
3068
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3021
3069
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3032,7 +3080,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3032
3080
|
* @param {string} logType Log type: runninglog, errorlog, slow, auditlog
|
|
3033
3081
|
* @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
|
|
3034
3082
|
* @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
|
|
3035
|
-
* @param {string} [format] Export format: csv, raw, jsonl
|
|
3083
|
+
* @param {string} [format] Export format: csv, raw, jsonl. The JSON-style slow log export format is newline-delimited JSON (jsonl), not a single JSON array.
|
|
3036
3084
|
* @param {string} [query] Optional search query
|
|
3037
3085
|
* @param {string} [filename] Optional log filename filter
|
|
3038
3086
|
* @param {string} [componentName] Optional component name filter
|
|
@@ -5053,7 +5101,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5053
5101
|
};
|
|
5054
5102
|
},
|
|
5055
5103
|
/**
|
|
5056
|
-
* Get statistics summary for slow logs of a cluster
|
|
5104
|
+
* 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.
|
|
5057
5105
|
* @summary Get cluster slow log statistics
|
|
5058
5106
|
* @param {string} orgName
|
|
5059
5107
|
* @param {string} clusterName
|
|
@@ -5181,10 +5229,22 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5181
5229
|
* @param {string} [componentName]
|
|
5182
5230
|
* @param {string} [instanceName]
|
|
5183
5231
|
* @param {string} [query]
|
|
5232
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
5233
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
5234
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
5235
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
5236
|
+
* @param {number} [minRowsExamined]
|
|
5237
|
+
* @param {number} [maxRowsExamined]
|
|
5238
|
+
* @param {number} [minRowsSent]
|
|
5239
|
+
* @param {number} [maxRowsSent]
|
|
5240
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
5241
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
5242
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
5243
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
5184
5244
|
* @param {*} [options] Override http request option.
|
|
5185
5245
|
* @throws {RequiredError}
|
|
5186
5246
|
*/
|
|
5187
|
-
getSlowLogTemplate: async (orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options = {}) => {
|
|
5247
|
+
getSlowLogTemplate: async (orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options = {}) => {
|
|
5188
5248
|
// verify required parameter 'orgName' is not null or undefined
|
|
5189
5249
|
(0, common_1.assertParamExists)('getSlowLogTemplate', 'orgName', orgName);
|
|
5190
5250
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -5228,6 +5288,42 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5228
5288
|
if (query !== undefined) {
|
|
5229
5289
|
localVarQueryParameter['query'] = query;
|
|
5230
5290
|
}
|
|
5291
|
+
if (minExecutionTime !== undefined) {
|
|
5292
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
5293
|
+
}
|
|
5294
|
+
if (maxExecutionTime !== undefined) {
|
|
5295
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
5296
|
+
}
|
|
5297
|
+
if (minLockTime !== undefined) {
|
|
5298
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
5299
|
+
}
|
|
5300
|
+
if (maxLockTime !== undefined) {
|
|
5301
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
5302
|
+
}
|
|
5303
|
+
if (minRowsExamined !== undefined) {
|
|
5304
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
5305
|
+
}
|
|
5306
|
+
if (maxRowsExamined !== undefined) {
|
|
5307
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
5308
|
+
}
|
|
5309
|
+
if (minRowsSent !== undefined) {
|
|
5310
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
5311
|
+
}
|
|
5312
|
+
if (maxRowsSent !== undefined) {
|
|
5313
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
5314
|
+
}
|
|
5315
|
+
if (dbName !== undefined) {
|
|
5316
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
5317
|
+
}
|
|
5318
|
+
if (userName !== undefined) {
|
|
5319
|
+
localVarQueryParameter['userName'] = userName;
|
|
5320
|
+
}
|
|
5321
|
+
if (clientIp !== undefined) {
|
|
5322
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
5323
|
+
}
|
|
5324
|
+
if (appName !== undefined) {
|
|
5325
|
+
localVarQueryParameter['appName'] = appName;
|
|
5326
|
+
}
|
|
5231
5327
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5232
5328
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5233
5329
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8550,7 +8646,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8550
8646
|
};
|
|
8551
8647
|
},
|
|
8552
8648
|
/**
|
|
8553
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
8649
|
+
* 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.
|
|
8554
8650
|
* @summary Query log hits histogram
|
|
8555
8651
|
* @param {string} orgName
|
|
8556
8652
|
* @param {string} clusterName
|
|
@@ -11464,7 +11560,7 @@ const SharedApiFp = function (configuration) {
|
|
|
11464
11560
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11465
11561
|
},
|
|
11466
11562
|
/**
|
|
11467
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
11563
|
+
* 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.
|
|
11468
11564
|
* @summary Aggregate cluster slow logs
|
|
11469
11565
|
* @param {string} orgName
|
|
11470
11566
|
* @param {string} clusterName
|
|
@@ -12519,12 +12615,24 @@ const SharedApiFp = function (configuration) {
|
|
|
12519
12615
|
* @param {string} [componentName]
|
|
12520
12616
|
* @param {string} [instanceName]
|
|
12521
12617
|
* @param {string} [query]
|
|
12618
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
12619
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
12620
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
12621
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
12622
|
+
* @param {number} [minRowsExamined]
|
|
12623
|
+
* @param {number} [maxRowsExamined]
|
|
12624
|
+
* @param {number} [minRowsSent]
|
|
12625
|
+
* @param {number} [maxRowsSent]
|
|
12626
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
12627
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
12628
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
12629
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
12522
12630
|
* @param {*} [options] Override http request option.
|
|
12523
12631
|
* @throws {RequiredError}
|
|
12524
12632
|
*/
|
|
12525
|
-
async explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options) {
|
|
12633
|
+
async explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options) {
|
|
12526
12634
|
var _a, _b, _c;
|
|
12527
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
12635
|
+
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);
|
|
12528
12636
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12529
12637
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.explainSlowLogTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12530
12638
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12537,7 +12645,7 @@ const SharedApiFp = function (configuration) {
|
|
|
12537
12645
|
* @param {string} logType Log type: runninglog, errorlog, slow, auditlog
|
|
12538
12646
|
* @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
|
|
12539
12647
|
* @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
|
|
12540
|
-
* @param {string} [format] Export format: csv, raw, jsonl
|
|
12648
|
+
* @param {string} [format] Export format: csv, raw, jsonl. The JSON-style slow log export format is newline-delimited JSON (jsonl), not a single JSON array.
|
|
12541
12649
|
* @param {string} [query] Optional search query
|
|
12542
12650
|
* @param {string} [filename] Optional log filename filter
|
|
12543
12651
|
* @param {string} [componentName] Optional component name filter
|
|
@@ -13281,7 +13389,7 @@ const SharedApiFp = function (configuration) {
|
|
|
13281
13389
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13282
13390
|
},
|
|
13283
13391
|
/**
|
|
13284
|
-
* Get statistics summary for slow logs of a cluster
|
|
13392
|
+
* 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.
|
|
13285
13393
|
* @summary Get cluster slow log statistics
|
|
13286
13394
|
* @param {string} orgName
|
|
13287
13395
|
* @param {string} clusterName
|
|
@@ -13325,12 +13433,24 @@ const SharedApiFp = function (configuration) {
|
|
|
13325
13433
|
* @param {string} [componentName]
|
|
13326
13434
|
* @param {string} [instanceName]
|
|
13327
13435
|
* @param {string} [query]
|
|
13436
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
13437
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
13438
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
13439
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
13440
|
+
* @param {number} [minRowsExamined]
|
|
13441
|
+
* @param {number} [maxRowsExamined]
|
|
13442
|
+
* @param {number} [minRowsSent]
|
|
13443
|
+
* @param {number} [maxRowsSent]
|
|
13444
|
+
* @param {string} [dbName] Filter slow logs whose database name contains this value.
|
|
13445
|
+
* @param {string} [userName] Filter slow logs whose user name contains this value.
|
|
13446
|
+
* @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
13447
|
+
* @param {string} [appName] Filter slow logs whose application name contains this value.
|
|
13328
13448
|
* @param {*} [options] Override http request option.
|
|
13329
13449
|
* @throws {RequiredError}
|
|
13330
13450
|
*/
|
|
13331
|
-
async getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options) {
|
|
13451
|
+
async getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, options) {
|
|
13332
13452
|
var _a, _b, _c;
|
|
13333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
13453
|
+
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);
|
|
13334
13454
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13335
13455
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getSlowLogTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13336
13456
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14569,7 +14689,7 @@ const SharedApiFp = function (configuration) {
|
|
|
14569
14689
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14570
14690
|
},
|
|
14571
14691
|
/**
|
|
14572
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
14692
|
+
* 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.
|
|
14573
14693
|
* @summary Query log hits histogram
|
|
14574
14694
|
* @param {string} orgName
|
|
14575
14695
|
* @param {string} clusterName
|
|
@@ -15614,7 +15734,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
15614
15734
|
return localVarFp.aggregateAuditLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(axios, basePath));
|
|
15615
15735
|
},
|
|
15616
15736
|
/**
|
|
15617
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
15737
|
+
* 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.
|
|
15618
15738
|
* @summary Aggregate cluster slow logs
|
|
15619
15739
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
15620
15740
|
* @param {*} [options] Override http request option.
|
|
@@ -16262,7 +16382,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16262
16382
|
* @throws {RequiredError}
|
|
16263
16383
|
*/
|
|
16264
16384
|
explainSlowLogTemplate(requestParameters, options) {
|
|
16265
|
-
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));
|
|
16385
|
+
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));
|
|
16266
16386
|
},
|
|
16267
16387
|
/**
|
|
16268
16388
|
* Export cluster logs and return as a file download
|
|
@@ -16714,7 +16834,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16714
16834
|
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
16715
16835
|
},
|
|
16716
16836
|
/**
|
|
16717
|
-
* Get statistics summary for slow logs of a cluster
|
|
16837
|
+
* 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.
|
|
16718
16838
|
* @summary Get cluster slow log statistics
|
|
16719
16839
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
16720
16840
|
* @param {*} [options] Override http request option.
|
|
@@ -16731,7 +16851,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16731
16851
|
* @throws {RequiredError}
|
|
16732
16852
|
*/
|
|
16733
16853
|
getSlowLogTemplate(requestParameters, options) {
|
|
16734
|
-
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));
|
|
16854
|
+
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));
|
|
16735
16855
|
},
|
|
16736
16856
|
/**
|
|
16737
16857
|
* Query the SQL audit log switch status for a cluster component
|
|
@@ -17492,7 +17612,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17492
17612
|
return localVarFp.queryImportObjects(requestParameters.orgName, requestParameters.clusterName, requestParameters.importQueryObjectsRequest, options).then((request) => request(axios, basePath));
|
|
17493
17613
|
},
|
|
17494
17614
|
/**
|
|
17495
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
17615
|
+
* 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.
|
|
17496
17616
|
* @summary Query log hits histogram
|
|
17497
17617
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
17498
17618
|
* @param {*} [options] Override http request option.
|
|
@@ -18092,7 +18212,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
18092
18212
|
return (0, exports.SharedApiFp)(this.configuration).aggregateAuditLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(this.axios, this.basePath));
|
|
18093
18213
|
}
|
|
18094
18214
|
/**
|
|
18095
|
-
* Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
18215
|
+
* 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.
|
|
18096
18216
|
* @summary Aggregate cluster slow logs
|
|
18097
18217
|
* @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
|
|
18098
18218
|
* @param {*} [options] Override http request option.
|
|
@@ -18805,7 +18925,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
18805
18925
|
* @memberof SharedApi
|
|
18806
18926
|
*/
|
|
18807
18927
|
explainSlowLogTemplate(requestParameters, options) {
|
|
18808
|
-
return (0, exports.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));
|
|
18928
|
+
return (0, exports.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));
|
|
18809
18929
|
}
|
|
18810
18930
|
/**
|
|
18811
18931
|
* Export cluster logs and return as a file download
|
|
@@ -19302,7 +19422,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19302
19422
|
return (0, exports.SharedApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
19303
19423
|
}
|
|
19304
19424
|
/**
|
|
19305
|
-
* Get statistics summary for slow logs of a cluster
|
|
19425
|
+
* 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.
|
|
19306
19426
|
* @summary Get cluster slow log statistics
|
|
19307
19427
|
* @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
|
|
19308
19428
|
* @param {*} [options] Override http request option.
|
|
@@ -19321,7 +19441,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19321
19441
|
* @memberof SharedApi
|
|
19322
19442
|
*/
|
|
19323
19443
|
getSlowLogTemplate(requestParameters, options) {
|
|
19324
|
-
return (0, exports.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));
|
|
19444
|
+
return (0, exports.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));
|
|
19325
19445
|
}
|
|
19326
19446
|
/**
|
|
19327
19447
|
* Query the SQL audit log switch status for a cluster component
|
|
@@ -20158,7 +20278,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
20158
20278
|
return (0, exports.SharedApiFp)(this.configuration).queryImportObjects(requestParameters.orgName, requestParameters.clusterName, requestParameters.importQueryObjectsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20159
20279
|
}
|
|
20160
20280
|
/**
|
|
20161
|
-
* Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
20281
|
+
* 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.
|
|
20162
20282
|
* @summary Query log hits histogram
|
|
20163
20283
|
* @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
|
|
20164
20284
|
* @param {*} [options] Override http request option.
|