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.
@@ -218,7 +218,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
218
218
  */
219
219
  aggregateAuditLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
220
220
  /**
221
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
221
+ * 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.
222
222
  * @summary Aggregate cluster slow logs
223
223
  * @param {string} orgName
224
224
  * @param {string} clusterName
@@ -889,10 +889,22 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
889
889
  * @param {string} [componentName]
890
890
  * @param {string} [instanceName]
891
891
  * @param {string} [query]
892
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
893
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
894
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
895
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
896
+ * @param {number} [minRowsExamined]
897
+ * @param {number} [maxRowsExamined]
898
+ * @param {number} [minRowsSent]
899
+ * @param {number} [maxRowsSent]
900
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
901
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
902
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
903
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
892
904
  * @param {*} [options] Override http request option.
893
905
  * @throws {RequiredError}
894
906
  */
895
- explainSlowLogTemplate: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
907
+ 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>;
896
908
  /**
897
909
  * Export cluster logs and return as a file download
898
910
  * @summary Export cluster logs
@@ -901,7 +913,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
901
913
  * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
902
914
  * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
903
915
  * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
904
- * @param {string} [format] Export format: csv, raw, jsonl
916
+ * @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.
905
917
  * @param {string} [query] Optional search query
906
918
  * @param {string} [filename] Optional log filename filter
907
919
  * @param {string} [componentName] Optional component name filter
@@ -1375,7 +1387,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1375
1387
  */
1376
1388
  getSchemaList: (orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1377
1389
  /**
1378
- * Get statistics summary for slow logs of a cluster
1390
+ * 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.
1379
1391
  * @summary Get cluster slow log statistics
1380
1392
  * @param {string} orgName
1381
1393
  * @param {string} clusterName
@@ -1413,10 +1425,22 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1413
1425
  * @param {string} [componentName]
1414
1426
  * @param {string} [instanceName]
1415
1427
  * @param {string} [query]
1428
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
1429
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
1430
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
1431
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
1432
+ * @param {number} [minRowsExamined]
1433
+ * @param {number} [maxRowsExamined]
1434
+ * @param {number} [minRowsSent]
1435
+ * @param {number} [maxRowsSent]
1436
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
1437
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
1438
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
1439
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
1416
1440
  * @param {*} [options] Override http request option.
1417
1441
  * @throws {RequiredError}
1418
1442
  */
1419
- getSlowLogTemplate: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1443
+ 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>;
1420
1444
  /**
1421
1445
  * Query the SQL audit log switch status for a cluster component
1422
1446
  * @summary Get SQL audit log status
@@ -2195,7 +2219,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2195
2219
  */
2196
2220
  queryImportObjects: (orgName: string, clusterName: string, importQueryObjectsRequest: ImportQueryObjectsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2197
2221
  /**
2198
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
2222
+ * 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.
2199
2223
  * @summary Query log hits histogram
2200
2224
  * @param {string} orgName
2201
2225
  * @param {string} clusterName
@@ -2903,7 +2927,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
2903
2927
  */
2904
2928
  aggregateAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>>;
2905
2929
  /**
2906
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
2930
+ * 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.
2907
2931
  * @summary Aggregate cluster slow logs
2908
2932
  * @param {string} orgName
2909
2933
  * @param {string} clusterName
@@ -3574,10 +3598,22 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3574
3598
  * @param {string} [componentName]
3575
3599
  * @param {string} [instanceName]
3576
3600
  * @param {string} [query]
3601
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
3602
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
3603
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
3604
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
3605
+ * @param {number} [minRowsExamined]
3606
+ * @param {number} [maxRowsExamined]
3607
+ * @param {number} [minRowsSent]
3608
+ * @param {number} [maxRowsSent]
3609
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
3610
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
3611
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
3612
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
3577
3613
  * @param {*} [options] Override http request option.
3578
3614
  * @throws {RequiredError}
3579
3615
  */
3580
- 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>>;
3616
+ 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>>;
3581
3617
  /**
3582
3618
  * Export cluster logs and return as a file download
3583
3619
  * @summary Export cluster logs
@@ -3586,7 +3622,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3586
3622
  * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
3587
3623
  * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
3588
3624
  * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
3589
- * @param {string} [format] Export format: csv, raw, jsonl
3625
+ * @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.
3590
3626
  * @param {string} [query] Optional search query
3591
3627
  * @param {string} [filename] Optional log filename filter
3592
3628
  * @param {string} [componentName] Optional component name filter
@@ -4060,7 +4096,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4060
4096
  */
4061
4097
  getSchemaList(orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4062
4098
  /**
4063
- * Get statistics summary for slow logs of a cluster
4099
+ * 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.
4064
4100
  * @summary Get cluster slow log statistics
4065
4101
  * @param {string} orgName
4066
4102
  * @param {string} clusterName
@@ -4098,10 +4134,22 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4098
4134
  * @param {string} [componentName]
4099
4135
  * @param {string} [instanceName]
4100
4136
  * @param {string} [query]
4137
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
4138
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
4139
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
4140
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
4141
+ * @param {number} [minRowsExamined]
4142
+ * @param {number} [maxRowsExamined]
4143
+ * @param {number} [minRowsSent]
4144
+ * @param {number} [maxRowsSent]
4145
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
4146
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
4147
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
4148
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
4101
4149
  * @param {*} [options] Override http request option.
4102
4150
  * @throws {RequiredError}
4103
4151
  */
4104
- 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>>;
4152
+ 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>>;
4105
4153
  /**
4106
4154
  * Query the SQL audit log switch status for a cluster component
4107
4155
  * @summary Get SQL audit log status
@@ -4880,7 +4928,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4880
4928
  */
4881
4929
  queryImportObjects(orgName: string, clusterName: string, importQueryObjectsRequest: ImportQueryObjectsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReplicationObjectTree>>;
4882
4930
  /**
4883
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
4931
+ * 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.
4884
4932
  * @summary Query log hits histogram
4885
4933
  * @param {string} orgName
4886
4934
  * @param {string} clusterName
@@ -5577,7 +5625,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
5577
5625
  */
5578
5626
  aggregateAuditLogs(requestParameters: SharedApiAggregateAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse>;
5579
5627
  /**
5580
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
5628
+ * 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.
5581
5629
  * @summary Aggregate cluster slow logs
5582
5630
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
5583
5631
  * @param {*} [options] Override http request option.
@@ -6457,7 +6505,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6457
6505
  */
6458
6506
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
6459
6507
  /**
6460
- * Get statistics summary for slow logs of a cluster
6508
+ * 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.
6461
6509
  * @summary Get cluster slow log statistics
6462
6510
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
6463
6511
  * @param {*} [options] Override http request option.
@@ -7079,7 +7127,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
7079
7127
  */
7080
7128
  queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
7081
7129
  /**
7082
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
7130
+ * 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.
7083
7131
  * @summary Query log hits histogram
7084
7132
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
7085
7133
  * @param {*} [options] Override http request option.
@@ -7558,7 +7606,7 @@ export interface SharedApiInterface {
7558
7606
  */
7559
7607
  aggregateAuditLogs(requestParameters: SharedApiAggregateAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse>;
7560
7608
  /**
7561
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
7609
+ * 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.
7562
7610
  * @summary Aggregate cluster slow logs
7563
7611
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
7564
7612
  * @param {*} [options] Override http request option.
@@ -8548,7 +8596,7 @@ export interface SharedApiInterface {
8548
8596
  */
8549
8597
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
8550
8598
  /**
8551
- * Get statistics summary for slow logs of a cluster
8599
+ * 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.
8552
8600
  * @summary Get cluster slow log statistics
8553
8601
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
8554
8602
  * @param {*} [options] Override http request option.
@@ -9248,7 +9296,7 @@ export interface SharedApiInterface {
9248
9296
  */
9249
9297
  queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
9250
9298
  /**
9251
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
9299
+ * 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.
9252
9300
  * @summary Query log hits histogram
9253
9301
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
9254
9302
  * @param {*} [options] Override http request option.
@@ -11625,6 +11673,78 @@ export interface SharedApiExplainSlowLogTemplateRequest {
11625
11673
  * @memberof SharedApiExplainSlowLogTemplate
11626
11674
  */
11627
11675
  readonly query?: string;
11676
+ /**
11677
+ * Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
11678
+ * @type {number}
11679
+ * @memberof SharedApiExplainSlowLogTemplate
11680
+ */
11681
+ readonly minExecutionTime?: number;
11682
+ /**
11683
+ * Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
11684
+ * @type {number}
11685
+ * @memberof SharedApiExplainSlowLogTemplate
11686
+ */
11687
+ readonly maxExecutionTime?: number;
11688
+ /**
11689
+ * Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
11690
+ * @type {number}
11691
+ * @memberof SharedApiExplainSlowLogTemplate
11692
+ */
11693
+ readonly minLockTime?: number;
11694
+ /**
11695
+ * Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
11696
+ * @type {number}
11697
+ * @memberof SharedApiExplainSlowLogTemplate
11698
+ */
11699
+ readonly maxLockTime?: number;
11700
+ /**
11701
+ *
11702
+ * @type {number}
11703
+ * @memberof SharedApiExplainSlowLogTemplate
11704
+ */
11705
+ readonly minRowsExamined?: number;
11706
+ /**
11707
+ *
11708
+ * @type {number}
11709
+ * @memberof SharedApiExplainSlowLogTemplate
11710
+ */
11711
+ readonly maxRowsExamined?: number;
11712
+ /**
11713
+ *
11714
+ * @type {number}
11715
+ * @memberof SharedApiExplainSlowLogTemplate
11716
+ */
11717
+ readonly minRowsSent?: number;
11718
+ /**
11719
+ *
11720
+ * @type {number}
11721
+ * @memberof SharedApiExplainSlowLogTemplate
11722
+ */
11723
+ readonly maxRowsSent?: number;
11724
+ /**
11725
+ * Filter slow logs whose database name contains this value.
11726
+ * @type {string}
11727
+ * @memberof SharedApiExplainSlowLogTemplate
11728
+ */
11729
+ readonly dbName?: string;
11730
+ /**
11731
+ * Filter slow logs whose user name contains this value.
11732
+ * @type {string}
11733
+ * @memberof SharedApiExplainSlowLogTemplate
11734
+ */
11735
+ readonly userName?: string;
11736
+ /**
11737
+ * Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
11738
+ * @type {string}
11739
+ * @memberof SharedApiExplainSlowLogTemplate
11740
+ */
11741
+ readonly clientIp?: string;
11742
+ /**
11743
+ * Filter slow logs whose application name contains this value.
11744
+ * @type {string}
11745
+ * @memberof SharedApiExplainSlowLogTemplate
11746
+ */
11747
+ readonly appName?: string;
11628
11748
  }
11629
11749
  /**
11630
11750
  * Request parameters for exportClusterLogs operation in SharedApi.
@@ -11663,7 +11783,7 @@ export interface SharedApiExportClusterLogsRequest {
11663
11783
  */
11664
11784
  readonly endTime?: number;
11665
11785
  /**
11666
- * Export format: csv, raw, jsonl
11786
+ * Export format: csv, raw, jsonl. The JSON-style slow log export format is newline-delimited JSON (jsonl), not a single JSON array.
11667
11787
  * @type {string}
11668
11788
  * @memberof SharedApiExportClusterLogs
11669
11789
  */
@@ -13130,6 +13250,78 @@ export interface SharedApiGetSlowLogTemplateRequest {
13130
13250
  * @memberof SharedApiGetSlowLogTemplate
13131
13251
  */
13132
13252
  readonly query?: string;
13253
+ /**
13254
+ * Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
13255
+ * @type {number}
13256
+ * @memberof SharedApiGetSlowLogTemplate
13257
+ */
13258
+ readonly minExecutionTime?: number;
13259
+ /**
13260
+ * Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
13261
+ * @type {number}
13262
+ * @memberof SharedApiGetSlowLogTemplate
13263
+ */
13264
+ readonly maxExecutionTime?: number;
13265
+ /**
13266
+ * Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
13267
+ * @type {number}
13268
+ * @memberof SharedApiGetSlowLogTemplate
13269
+ */
13270
+ readonly minLockTime?: number;
13271
+ /**
13272
+ * Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
13273
+ * @type {number}
13274
+ * @memberof SharedApiGetSlowLogTemplate
13275
+ */
13276
+ readonly maxLockTime?: number;
13277
+ /**
13278
+ *
13279
+ * @type {number}
13280
+ * @memberof SharedApiGetSlowLogTemplate
13281
+ */
13282
+ readonly minRowsExamined?: number;
13283
+ /**
13284
+ *
13285
+ * @type {number}
13286
+ * @memberof SharedApiGetSlowLogTemplate
13287
+ */
13288
+ readonly maxRowsExamined?: number;
13289
+ /**
13290
+ *
13291
+ * @type {number}
13292
+ * @memberof SharedApiGetSlowLogTemplate
13293
+ */
13294
+ readonly minRowsSent?: number;
13295
+ /**
13296
+ *
13297
+ * @type {number}
13298
+ * @memberof SharedApiGetSlowLogTemplate
13299
+ */
13300
+ readonly maxRowsSent?: number;
13301
+ /**
13302
+ * Filter slow logs whose database name contains this value.
13303
+ * @type {string}
13304
+ * @memberof SharedApiGetSlowLogTemplate
13305
+ */
13306
+ readonly dbName?: string;
13307
+ /**
13308
+ * Filter slow logs whose user name contains this value.
13309
+ * @type {string}
13310
+ * @memberof SharedApiGetSlowLogTemplate
13311
+ */
13312
+ readonly userName?: string;
13313
+ /**
13314
+ * Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
13315
+ * @type {string}
13316
+ * @memberof SharedApiGetSlowLogTemplate
13317
+ */
13318
+ readonly clientIp?: string;
13319
+ /**
13320
+ * Filter slow logs whose application name contains this value.
13321
+ * @type {string}
13322
+ * @memberof SharedApiGetSlowLogTemplate
13323
+ */
13324
+ readonly appName?: string;
13133
13325
  }
13134
13326
  /**
13135
13327
  * Request parameters for getSqlAudit operation in SharedApi.
@@ -17176,7 +17368,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
17176
17368
  */
17177
17369
  aggregateAuditLogs(requestParameters: SharedApiAggregateAuditLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterExecutionLogAggregateResponse, any, {}>>;
17178
17370
  /**
17179
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
17371
+ * 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.
17180
17372
  * @summary Aggregate cluster slow logs
17181
17373
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
17182
17374
  * @param {*} [options] Override http request option.
@@ -18166,7 +18358,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
18166
18358
  */
18167
18359
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
18168
18360
  /**
18169
- * Get statistics summary for slow logs of a cluster
18361
+ * 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.
18170
18362
  * @summary Get cluster slow log statistics
18171
18363
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
18172
18364
  * @param {*} [options] Override http request option.
@@ -18866,7 +19058,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
18866
19058
  */
18867
19059
  queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReplicationObjectTree, any, {}>>;
18868
19060
  /**
18869
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
19061
+ * 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.
18870
19062
  * @summary Query log hits histogram
18871
19063
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
18872
19064
  * @param {*} [options] Override http request option.