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.
Files changed (145) hide show
  1. package/dist/adminapi/apis/cluster-log-api.d.ts +211 -19
  2. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-log-api.js +142 -22
  4. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  5. package/dist/adminapi/apis/diagnostics-api.d.ts +64 -0
  6. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/diagnostics-api.js +74 -0
  8. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +211 -19
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +142 -22
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +10 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +10 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/postgresql-database-space.d.ts +43 -0
  18. package/dist/adminapi/models/postgresql-database-space.d.ts.map +1 -0
  19. package/dist/adminapi/models/postgresql-database-space.js +16 -0
  20. package/dist/adminapi/models/postgresql-database-space.js.map +1 -0
  21. package/dist/adminapi/models/postgresql-index-space.d.ts +103 -0
  22. package/dist/adminapi/models/postgresql-index-space.d.ts.map +1 -0
  23. package/dist/adminapi/models/postgresql-index-space.js +16 -0
  24. package/dist/adminapi/models/postgresql-index-space.js.map +1 -0
  25. package/dist/adminapi/models/postgresql-space-analysis.d.ts +88 -0
  26. package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -0
  27. package/dist/adminapi/models/postgresql-space-analysis.js +16 -0
  28. package/dist/adminapi/models/postgresql-space-analysis.js.map +1 -0
  29. package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts +43 -0
  30. package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
  31. package/dist/adminapi/models/postgresql-space-cannot-prove.js +16 -0
  32. package/dist/adminapi/models/postgresql-space-cannot-prove.js.map +1 -0
  33. package/dist/adminapi/models/postgresql-space-pvc.d.ts +43 -0
  34. package/dist/adminapi/models/postgresql-space-pvc.d.ts.map +1 -0
  35. package/dist/adminapi/models/postgresql-space-pvc.js +16 -0
  36. package/dist/adminapi/models/postgresql-space-pvc.js.map +1 -0
  37. package/dist/adminapi/models/postgresql-space-risk-hint.d.ts +61 -0
  38. package/dist/adminapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
  39. package/dist/adminapi/models/postgresql-space-risk-hint.js +16 -0
  40. package/dist/adminapi/models/postgresql-space-risk-hint.js.map +1 -0
  41. package/dist/adminapi/models/postgresql-space-source.d.ts +49 -0
  42. package/dist/adminapi/models/postgresql-space-source.d.ts.map +1 -0
  43. package/dist/adminapi/models/postgresql-space-source.js +16 -0
  44. package/dist/adminapi/models/postgresql-space-source.js.map +1 -0
  45. package/dist/adminapi/models/postgresql-space-summary.d.ts +85 -0
  46. package/dist/adminapi/models/postgresql-space-summary.d.ts.map +1 -0
  47. package/dist/adminapi/models/postgresql-space-summary.js +16 -0
  48. package/dist/adminapi/models/postgresql-space-summary.js.map +1 -0
  49. package/dist/adminapi/models/postgresql-table-space.d.ts +133 -0
  50. package/dist/adminapi/models/postgresql-table-space.d.ts.map +1 -0
  51. package/dist/adminapi/models/postgresql-table-space.js +16 -0
  52. package/dist/adminapi/models/postgresql-table-space.js.map +1 -0
  53. package/dist/adminapi/models/postgresql-toast-relation-space.d.ts +67 -0
  54. package/dist/adminapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
  55. package/dist/adminapi/models/postgresql-toast-relation-space.js +16 -0
  56. package/dist/adminapi/models/postgresql-toast-relation-space.js.map +1 -0
  57. package/dist/openapi/apis/cluster-log-api.d.ts +214 -22
  58. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  59. package/dist/openapi/apis/cluster-log-api.js +144 -24
  60. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  61. package/dist/openapi/apis/diagnostics-api.d.ts +64 -0
  62. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  63. package/dist/openapi/apis/diagnostics-api.js +74 -0
  64. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  65. package/dist/openapi/apis/shared-api.d.ts +214 -22
  66. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  67. package/dist/openapi/apis/shared-api.js +144 -24
  68. package/dist/openapi/apis/shared-api.js.map +1 -1
  69. package/dist/openapi/models/index.d.ts +10 -0
  70. package/dist/openapi/models/index.d.ts.map +1 -1
  71. package/dist/openapi/models/index.js +10 -0
  72. package/dist/openapi/models/index.js.map +1 -1
  73. package/dist/openapi/models/postgresql-database-space.d.ts +43 -0
  74. package/dist/openapi/models/postgresql-database-space.d.ts.map +1 -0
  75. package/dist/openapi/models/postgresql-database-space.js +16 -0
  76. package/dist/openapi/models/postgresql-database-space.js.map +1 -0
  77. package/dist/openapi/models/postgresql-index-space.d.ts +103 -0
  78. package/dist/openapi/models/postgresql-index-space.d.ts.map +1 -0
  79. package/dist/openapi/models/postgresql-index-space.js +16 -0
  80. package/dist/openapi/models/postgresql-index-space.js.map +1 -0
  81. package/dist/openapi/models/postgresql-space-analysis.d.ts +88 -0
  82. package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -0
  83. package/dist/openapi/models/postgresql-space-analysis.js +16 -0
  84. package/dist/openapi/models/postgresql-space-analysis.js.map +1 -0
  85. package/dist/openapi/models/postgresql-space-cannot-prove.d.ts +43 -0
  86. package/dist/openapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
  87. package/dist/openapi/models/postgresql-space-cannot-prove.js +16 -0
  88. package/dist/openapi/models/postgresql-space-cannot-prove.js.map +1 -0
  89. package/dist/openapi/models/postgresql-space-pvc.d.ts +43 -0
  90. package/dist/openapi/models/postgresql-space-pvc.d.ts.map +1 -0
  91. package/dist/openapi/models/postgresql-space-pvc.js +16 -0
  92. package/dist/openapi/models/postgresql-space-pvc.js.map +1 -0
  93. package/dist/openapi/models/postgresql-space-risk-hint.d.ts +61 -0
  94. package/dist/openapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
  95. package/dist/openapi/models/postgresql-space-risk-hint.js +16 -0
  96. package/dist/openapi/models/postgresql-space-risk-hint.js.map +1 -0
  97. package/dist/openapi/models/postgresql-space-source.d.ts +49 -0
  98. package/dist/openapi/models/postgresql-space-source.d.ts.map +1 -0
  99. package/dist/openapi/models/postgresql-space-source.js +16 -0
  100. package/dist/openapi/models/postgresql-space-source.js.map +1 -0
  101. package/dist/openapi/models/postgresql-space-summary.d.ts +85 -0
  102. package/dist/openapi/models/postgresql-space-summary.d.ts.map +1 -0
  103. package/dist/openapi/models/postgresql-space-summary.js +16 -0
  104. package/dist/openapi/models/postgresql-space-summary.js.map +1 -0
  105. package/dist/openapi/models/postgresql-table-space.d.ts +133 -0
  106. package/dist/openapi/models/postgresql-table-space.d.ts.map +1 -0
  107. package/dist/openapi/models/postgresql-table-space.js +16 -0
  108. package/dist/openapi/models/postgresql-table-space.js.map +1 -0
  109. package/dist/openapi/models/postgresql-toast-relation-space.d.ts +67 -0
  110. package/dist/openapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
  111. package/dist/openapi/models/postgresql-toast-relation-space.js +16 -0
  112. package/dist/openapi/models/postgresql-toast-relation-space.js.map +1 -0
  113. package/package.json +1 -1
  114. package/src/adminapi/.openapi-generator/FILES +10 -0
  115. package/src/adminapi/apis/cluster-log-api.ts +337 -25
  116. package/src/adminapi/apis/diagnostics-api.ts +114 -0
  117. package/src/adminapi/apis/shared-api.ts +337 -25
  118. package/src/adminapi/models/index.ts +10 -0
  119. package/src/adminapi/models/postgresql-database-space.ts +48 -0
  120. package/src/adminapi/models/postgresql-index-space.ts +108 -0
  121. package/src/adminapi/models/postgresql-space-analysis.ts +111 -0
  122. package/src/adminapi/models/postgresql-space-cannot-prove.ts +48 -0
  123. package/src/adminapi/models/postgresql-space-pvc.ts +48 -0
  124. package/src/adminapi/models/postgresql-space-risk-hint.ts +66 -0
  125. package/src/adminapi/models/postgresql-space-source.ts +54 -0
  126. package/src/adminapi/models/postgresql-space-summary.ts +90 -0
  127. package/src/adminapi/models/postgresql-table-space.ts +138 -0
  128. package/src/adminapi/models/postgresql-toast-relation-space.ts +72 -0
  129. package/src/adminapi.yaml +460 -3
  130. package/src/openapi/.openapi-generator/FILES +10 -0
  131. package/src/openapi/apis/cluster-log-api.ts +340 -28
  132. package/src/openapi/apis/diagnostics-api.ts +114 -0
  133. package/src/openapi/apis/shared-api.ts +340 -28
  134. package/src/openapi/models/index.ts +10 -0
  135. package/src/openapi/models/postgresql-database-space.ts +48 -0
  136. package/src/openapi/models/postgresql-index-space.ts +108 -0
  137. package/src/openapi/models/postgresql-space-analysis.ts +111 -0
  138. package/src/openapi/models/postgresql-space-cannot-prove.ts +48 -0
  139. package/src/openapi/models/postgresql-space-pvc.ts +48 -0
  140. package/src/openapi/models/postgresql-space-risk-hint.ts +66 -0
  141. package/src/openapi/models/postgresql-space-source.ts +54 -0
  142. package/src/openapi/models/postgresql-space-summary.ts +90 -0
  143. package/src/openapi/models/postgresql-table-space.ts +138 -0
  144. package/src/openapi/models/postgresql-toast-relation-space.ts +72 -0
  145. package/src/openapi.yaml +461 -4
@@ -519,7 +519,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
519
519
  };
520
520
  },
521
521
  /**
522
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
522
+ * 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.
523
523
  * @summary Aggregate cluster slow logs
524
524
  * @param {string} orgName
525
525
  * @param {string} clusterName
@@ -3855,10 +3855,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3855
3855
  * @param {string} [componentName]
3856
3856
  * @param {string} [instanceName]
3857
3857
  * @param {string} [query]
3858
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
3859
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
3860
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
3861
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
3862
+ * @param {number} [minRowsExamined]
3863
+ * @param {number} [maxRowsExamined]
3864
+ * @param {number} [minRowsSent]
3865
+ * @param {number} [maxRowsSent]
3866
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
3867
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
3868
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
3869
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
3858
3870
  * @param {*} [options] Override http request option.
3859
3871
  * @throws {RequiredError}
3860
3872
  */
3861
- explainSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3873
+ 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> => {
3862
3874
  // verify required parameter 'orgName' is not null or undefined
3863
3875
  assertParamExists('explainSlowLogTemplate', 'orgName', orgName)
3864
3876
  // verify required parameter 'clusterName' is not null or undefined
@@ -3911,6 +3923,54 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3911
3923
  localVarQueryParameter['query'] = query;
3912
3924
  }
3913
3925
 
3926
+ if (minExecutionTime !== undefined) {
3927
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
3928
+ }
3929
+
3930
+ if (maxExecutionTime !== undefined) {
3931
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
3932
+ }
3933
+
3934
+ if (minLockTime !== undefined) {
3935
+ localVarQueryParameter['minLockTime'] = minLockTime;
3936
+ }
3937
+
3938
+ if (maxLockTime !== undefined) {
3939
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
3940
+ }
3941
+
3942
+ if (minRowsExamined !== undefined) {
3943
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
3944
+ }
3945
+
3946
+ if (maxRowsExamined !== undefined) {
3947
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
3948
+ }
3949
+
3950
+ if (minRowsSent !== undefined) {
3951
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
3952
+ }
3953
+
3954
+ if (maxRowsSent !== undefined) {
3955
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
3956
+ }
3957
+
3958
+ if (dbName !== undefined) {
3959
+ localVarQueryParameter['dbName'] = dbName;
3960
+ }
3961
+
3962
+ if (userName !== undefined) {
3963
+ localVarQueryParameter['userName'] = userName;
3964
+ }
3965
+
3966
+ if (clientIp !== undefined) {
3967
+ localVarQueryParameter['clientIp'] = clientIp;
3968
+ }
3969
+
3970
+ if (appName !== undefined) {
3971
+ localVarQueryParameter['appName'] = appName;
3972
+ }
3973
+
3914
3974
 
3915
3975
 
3916
3976
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3930,7 +3990,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3930
3990
  * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
3931
3991
  * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
3932
3992
  * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
3933
- * @param {string} [format] Export format: csv, raw, jsonl
3993
+ * @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.
3934
3994
  * @param {string} [query] Optional search query
3935
3995
  * @param {string} [filename] Optional log filename filter
3936
3996
  * @param {string} [componentName] Optional component name filter
@@ -6322,7 +6382,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6322
6382
  };
6323
6383
  },
6324
6384
  /**
6325
- * Get statistics summary for slow logs of a cluster
6385
+ * 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.
6326
6386
  * @summary Get cluster slow log statistics
6327
6387
  * @param {string} orgName
6328
6388
  * @param {string} clusterName
@@ -6476,10 +6536,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6476
6536
  * @param {string} [componentName]
6477
6537
  * @param {string} [instanceName]
6478
6538
  * @param {string} [query]
6539
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
6540
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
6541
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
6542
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
6543
+ * @param {number} [minRowsExamined]
6544
+ * @param {number} [maxRowsExamined]
6545
+ * @param {number} [minRowsSent]
6546
+ * @param {number} [maxRowsSent]
6547
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
6548
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
6549
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
6550
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
6479
6551
  * @param {*} [options] Override http request option.
6480
6552
  * @throws {RequiredError}
6481
6553
  */
6482
- getSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6554
+ 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> => {
6483
6555
  // verify required parameter 'orgName' is not null or undefined
6484
6556
  assertParamExists('getSlowLogTemplate', 'orgName', orgName)
6485
6557
  // verify required parameter 'clusterName' is not null or undefined
@@ -6532,6 +6604,54 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6532
6604
  localVarQueryParameter['query'] = query;
6533
6605
  }
6534
6606
 
6607
+ if (minExecutionTime !== undefined) {
6608
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
6609
+ }
6610
+
6611
+ if (maxExecutionTime !== undefined) {
6612
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
6613
+ }
6614
+
6615
+ if (minLockTime !== undefined) {
6616
+ localVarQueryParameter['minLockTime'] = minLockTime;
6617
+ }
6618
+
6619
+ if (maxLockTime !== undefined) {
6620
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
6621
+ }
6622
+
6623
+ if (minRowsExamined !== undefined) {
6624
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
6625
+ }
6626
+
6627
+ if (maxRowsExamined !== undefined) {
6628
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
6629
+ }
6630
+
6631
+ if (minRowsSent !== undefined) {
6632
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
6633
+ }
6634
+
6635
+ if (maxRowsSent !== undefined) {
6636
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
6637
+ }
6638
+
6639
+ if (dbName !== undefined) {
6640
+ localVarQueryParameter['dbName'] = dbName;
6641
+ }
6642
+
6643
+ if (userName !== undefined) {
6644
+ localVarQueryParameter['userName'] = userName;
6645
+ }
6646
+
6647
+ if (clientIp !== undefined) {
6648
+ localVarQueryParameter['clientIp'] = clientIp;
6649
+ }
6650
+
6651
+ if (appName !== undefined) {
6652
+ localVarQueryParameter['appName'] = appName;
6653
+ }
6654
+
6535
6655
 
6536
6656
 
6537
6657
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10476,7 +10596,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10476
10596
  };
10477
10597
  },
10478
10598
  /**
10479
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
10599
+ * 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.
10480
10600
  * @summary Query log hits histogram
10481
10601
  * @param {string} orgName
10482
10602
  * @param {string} clusterName
@@ -13928,7 +14048,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
13928
14048
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13929
14049
  },
13930
14050
  /**
13931
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
14051
+ * 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.
13932
14052
  * @summary Aggregate cluster slow logs
13933
14053
  * @param {string} orgName
13934
14054
  * @param {string} clusterName
@@ -14919,11 +15039,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
14919
15039
  * @param {string} [componentName]
14920
15040
  * @param {string} [instanceName]
14921
15041
  * @param {string} [query]
15042
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
15043
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
15044
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
15045
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
15046
+ * @param {number} [minRowsExamined]
15047
+ * @param {number} [maxRowsExamined]
15048
+ * @param {number} [minRowsSent]
15049
+ * @param {number} [maxRowsSent]
15050
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
15051
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
15052
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
15053
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
14922
15054
  * @param {*} [options] Override http request option.
14923
15055
  * @throws {RequiredError}
14924
15056
  */
14925
- 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>> {
14926
- const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
15057
+ 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>> {
15058
+ 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);
14927
15059
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14928
15060
  const localVarOperationServerBasePath = operationServerMap['SharedApi.explainSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
14929
15061
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14936,7 +15068,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
14936
15068
  * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
14937
15069
  * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
14938
15070
  * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
14939
- * @param {string} [format] Export format: csv, raw, jsonl
15071
+ * @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.
14940
15072
  * @param {string} [query] Optional search query
14941
15073
  * @param {string} [filename] Optional log filename filter
14942
15074
  * @param {string} [componentName] Optional component name filter
@@ -15635,7 +15767,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
15635
15767
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15636
15768
  },
15637
15769
  /**
15638
- * Get statistics summary for slow logs of a cluster
15770
+ * 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.
15639
15771
  * @summary Get cluster slow log statistics
15640
15772
  * @param {string} orgName
15641
15773
  * @param {string} clusterName
@@ -15678,11 +15810,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
15678
15810
  * @param {string} [componentName]
15679
15811
  * @param {string} [instanceName]
15680
15812
  * @param {string} [query]
15813
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
15814
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
15815
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
15816
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
15817
+ * @param {number} [minRowsExamined]
15818
+ * @param {number} [maxRowsExamined]
15819
+ * @param {number} [minRowsSent]
15820
+ * @param {number} [maxRowsSent]
15821
+ * @param {string} [dbName] Filter slow logs whose database name contains this value.
15822
+ * @param {string} [userName] Filter slow logs whose user name contains this value.
15823
+ * @param {string} [clientIp] Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
15824
+ * @param {string} [appName] Filter slow logs whose application name contains this value.
15681
15825
  * @param {*} [options] Override http request option.
15682
15826
  * @throws {RequiredError}
15683
15827
  */
15684
- 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>> {
15685
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
15828
+ 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>> {
15829
+ 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);
15686
15830
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15687
15831
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
15688
15832
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16845,7 +16989,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
16845
16989
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16846
16990
  },
16847
16991
  /**
16848
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
16992
+ * 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.
16849
16993
  * @summary Query log hits histogram
16850
16994
  * @param {string} orgName
16851
16995
  * @param {string} clusterName
@@ -17833,7 +17977,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17833
17977
  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));
17834
17978
  },
17835
17979
  /**
17836
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
17980
+ * 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.
17837
17981
  * @summary Aggregate cluster slow logs
17838
17982
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
17839
17983
  * @param {*} [options] Override http request option.
@@ -18481,7 +18625,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18481
18625
  * @throws {RequiredError}
18482
18626
  */
18483
18627
  explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
18484
- 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));
18628
+ 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));
18485
18629
  },
18486
18630
  /**
18487
18631
  * Export cluster logs and return as a file download
@@ -18933,7 +19077,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18933
19077
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
18934
19078
  },
18935
19079
  /**
18936
- * Get statistics summary for slow logs of a cluster
19080
+ * 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.
18937
19081
  * @summary Get cluster slow log statistics
18938
19082
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
18939
19083
  * @param {*} [options] Override http request option.
@@ -18950,7 +19094,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18950
19094
  * @throws {RequiredError}
18951
19095
  */
18952
19096
  getSlowLogTemplate(requestParameters: SharedApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate> {
18953
- 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));
19097
+ 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));
18954
19098
  },
18955
19099
  /**
18956
19100
  * Query the SQL audit log switch status for a cluster component
@@ -19711,7 +19855,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19711
19855
  return localVarFp.queryImportObjects(requestParameters.orgName, requestParameters.clusterName, requestParameters.importQueryObjectsRequest, options).then((request) => request(axios, basePath));
19712
19856
  },
19713
19857
  /**
19714
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
19858
+ * 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.
19715
19859
  * @summary Query log hits histogram
19716
19860
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
19717
19861
  * @param {*} [options] Override http request option.
@@ -20308,7 +20452,7 @@ export interface SharedApiInterface {
20308
20452
  aggregateAuditLogs(requestParameters: SharedApiAggregateAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse>;
20309
20453
 
20310
20454
  /**
20311
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
20455
+ * 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.
20312
20456
  * @summary Aggregate cluster slow logs
20313
20457
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
20314
20458
  * @param {*} [options] Override http request option.
@@ -21408,7 +21552,7 @@ export interface SharedApiInterface {
21408
21552
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
21409
21553
 
21410
21554
  /**
21411
- * Get statistics summary for slow logs of a cluster
21555
+ * 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.
21412
21556
  * @summary Get cluster slow log statistics
21413
21557
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
21414
21558
  * @param {*} [options] Override http request option.
@@ -22186,7 +22330,7 @@ export interface SharedApiInterface {
22186
22330
  queryImportObjects(requestParameters: SharedApiQueryImportObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReplicationObjectTree>;
22187
22331
 
22188
22332
  /**
22189
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
22333
+ * 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.
22190
22334
  * @summary Query log hits histogram
22191
22335
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
22192
22336
  * @param {*} [options] Override http request option.
@@ -24853,6 +24997,90 @@ export interface SharedApiExplainSlowLogTemplateRequest {
24853
24997
  * @memberof SharedApiExplainSlowLogTemplate
24854
24998
  */
24855
24999
  readonly query?: string
25000
+
25001
+ /**
25002
+ * Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
25003
+ * @type {number}
25004
+ * @memberof SharedApiExplainSlowLogTemplate
25005
+ */
25006
+ readonly minExecutionTime?: number
25007
+
25008
+ /**
25009
+ * Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
25010
+ * @type {number}
25011
+ * @memberof SharedApiExplainSlowLogTemplate
25012
+ */
25013
+ readonly maxExecutionTime?: number
25014
+
25015
+ /**
25016
+ * Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
25017
+ * @type {number}
25018
+ * @memberof SharedApiExplainSlowLogTemplate
25019
+ */
25020
+ readonly minLockTime?: number
25021
+
25022
+ /**
25023
+ * Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
25024
+ * @type {number}
25025
+ * @memberof SharedApiExplainSlowLogTemplate
25026
+ */
25027
+ readonly maxLockTime?: number
25028
+
25029
+ /**
25030
+ *
25031
+ * @type {number}
25032
+ * @memberof SharedApiExplainSlowLogTemplate
25033
+ */
25034
+ readonly minRowsExamined?: number
25035
+
25036
+ /**
25037
+ *
25038
+ * @type {number}
25039
+ * @memberof SharedApiExplainSlowLogTemplate
25040
+ */
25041
+ readonly maxRowsExamined?: number
25042
+
25043
+ /**
25044
+ *
25045
+ * @type {number}
25046
+ * @memberof SharedApiExplainSlowLogTemplate
25047
+ */
25048
+ readonly minRowsSent?: number
25049
+
25050
+ /**
25051
+ *
25052
+ * @type {number}
25053
+ * @memberof SharedApiExplainSlowLogTemplate
25054
+ */
25055
+ readonly maxRowsSent?: number
25056
+
25057
+ /**
25058
+ * Filter slow logs whose database name contains this value.
25059
+ * @type {string}
25060
+ * @memberof SharedApiExplainSlowLogTemplate
25061
+ */
25062
+ readonly dbName?: string
25063
+
25064
+ /**
25065
+ * Filter slow logs whose user name contains this value.
25066
+ * @type {string}
25067
+ * @memberof SharedApiExplainSlowLogTemplate
25068
+ */
25069
+ readonly userName?: string
25070
+
25071
+ /**
25072
+ * Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
25073
+ * @type {string}
25074
+ * @memberof SharedApiExplainSlowLogTemplate
25075
+ */
25076
+ readonly clientIp?: string
25077
+
25078
+ /**
25079
+ * Filter slow logs whose application name contains this value.
25080
+ * @type {string}
25081
+ * @memberof SharedApiExplainSlowLogTemplate
25082
+ */
25083
+ readonly appName?: string
24856
25084
  }
24857
25085
 
24858
25086
  /**
@@ -24897,7 +25125,7 @@ export interface SharedApiExportClusterLogsRequest {
24897
25125
  readonly endTime?: number
24898
25126
 
24899
25127
  /**
24900
- * Export format: csv, raw, jsonl
25128
+ * Export format: csv, raw, jsonl. The JSON-style slow log export format is newline-delimited JSON (jsonl), not a single JSON array.
24901
25129
  * @type {string}
24902
25130
  * @memberof SharedApiExportClusterLogs
24903
25131
  */
@@ -26554,6 +26782,90 @@ export interface SharedApiGetSlowLogTemplateRequest {
26554
26782
  * @memberof SharedApiGetSlowLogTemplate
26555
26783
  */
26556
26784
  readonly query?: string
26785
+
26786
+ /**
26787
+ * Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
26788
+ * @type {number}
26789
+ * @memberof SharedApiGetSlowLogTemplate
26790
+ */
26791
+ readonly minExecutionTime?: number
26792
+
26793
+ /**
26794
+ * Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
26795
+ * @type {number}
26796
+ * @memberof SharedApiGetSlowLogTemplate
26797
+ */
26798
+ readonly maxExecutionTime?: number
26799
+
26800
+ /**
26801
+ * Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
26802
+ * @type {number}
26803
+ * @memberof SharedApiGetSlowLogTemplate
26804
+ */
26805
+ readonly minLockTime?: number
26806
+
26807
+ /**
26808
+ * Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
26809
+ * @type {number}
26810
+ * @memberof SharedApiGetSlowLogTemplate
26811
+ */
26812
+ readonly maxLockTime?: number
26813
+
26814
+ /**
26815
+ *
26816
+ * @type {number}
26817
+ * @memberof SharedApiGetSlowLogTemplate
26818
+ */
26819
+ readonly minRowsExamined?: number
26820
+
26821
+ /**
26822
+ *
26823
+ * @type {number}
26824
+ * @memberof SharedApiGetSlowLogTemplate
26825
+ */
26826
+ readonly maxRowsExamined?: number
26827
+
26828
+ /**
26829
+ *
26830
+ * @type {number}
26831
+ * @memberof SharedApiGetSlowLogTemplate
26832
+ */
26833
+ readonly minRowsSent?: number
26834
+
26835
+ /**
26836
+ *
26837
+ * @type {number}
26838
+ * @memberof SharedApiGetSlowLogTemplate
26839
+ */
26840
+ readonly maxRowsSent?: number
26841
+
26842
+ /**
26843
+ * Filter slow logs whose database name contains this value.
26844
+ * @type {string}
26845
+ * @memberof SharedApiGetSlowLogTemplate
26846
+ */
26847
+ readonly dbName?: string
26848
+
26849
+ /**
26850
+ * Filter slow logs whose user name contains this value.
26851
+ * @type {string}
26852
+ * @memberof SharedApiGetSlowLogTemplate
26853
+ */
26854
+ readonly userName?: string
26855
+
26856
+ /**
26857
+ * Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
26858
+ * @type {string}
26859
+ * @memberof SharedApiGetSlowLogTemplate
26860
+ */
26861
+ readonly clientIp?: string
26862
+
26863
+ /**
26864
+ * Filter slow logs whose application name contains this value.
26865
+ * @type {string}
26866
+ * @memberof SharedApiGetSlowLogTemplate
26867
+ */
26868
+ readonly appName?: string
26557
26869
  }
26558
26870
 
26559
26871
  /**
@@ -31124,7 +31436,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31124
31436
  }
31125
31437
 
31126
31438
  /**
31127
- * Aggregate slow logs of a cluster (Victoria Logs backend only)
31439
+ * 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.
31128
31440
  * @summary Aggregate cluster slow logs
31129
31441
  * @param {SharedApiAggregateSlowLogsRequest} requestParameters Request parameters.
31130
31442
  * @param {*} [options] Override http request option.
@@ -31901,7 +32213,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31901
32213
  * @memberof SharedApi
31902
32214
  */
31903
32215
  public explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
31904
- 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));
32216
+ 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));
31905
32217
  }
31906
32218
 
31907
32219
  /**
@@ -32444,7 +32756,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32444
32756
  }
32445
32757
 
32446
32758
  /**
32447
- * Get statistics summary for slow logs of a cluster
32759
+ * 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.
32448
32760
  * @summary Get cluster slow log statistics
32449
32761
  * @param {SharedApiGetSlowLogStatsRequest} requestParameters Request parameters.
32450
32762
  * @param {*} [options] Override http request option.
@@ -32464,7 +32776,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32464
32776
  * @memberof SharedApi
32465
32777
  */
32466
32778
  public getSlowLogTemplate(requestParameters: SharedApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
32467
- 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));
32779
+ 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));
32468
32780
  }
32469
32781
 
32470
32782
  /**
@@ -33378,7 +33690,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33378
33690
  }
33379
33691
 
33380
33692
  /**
33381
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
33693
+ * 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.
33382
33694
  * @summary Query log hits histogram
33383
33695
  * @param {SharedApiQueryLogHitsRequest} requestParameters Request parameters.
33384
33696
  * @param {*} [options] Override http request option.
@@ -563,10 +563,20 @@ export * from './phone-verification-request';
563
563
  export * from './platform-parameter';
564
564
  export * from './platform-parameter-constraints';
565
565
  export * from './platform-parameter-list';
566
+ export * from './postgresql-database-space';
566
567
  export * from './postgresql-deadlock-evidence';
568
+ export * from './postgresql-index-space';
567
569
  export * from './postgresql-lock-analysis';
568
570
  export * from './postgresql-lock-row';
569
571
  export * from './postgresql-session';
572
+ export * from './postgresql-space-analysis';
573
+ export * from './postgresql-space-cannot-prove';
574
+ export * from './postgresql-space-pvc';
575
+ export * from './postgresql-space-risk-hint';
576
+ export * from './postgresql-space-source';
577
+ export * from './postgresql-space-summary';
578
+ export * from './postgresql-table-space';
579
+ export * from './postgresql-toast-relation-space';
570
580
  export * from './postgresql-wait-graph';
571
581
  export * from './postgresql-wait-graph-edge';
572
582
  export * from './postgresql-wait-graph-edge-evidence';
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PostgresqlDatabaseSpace
21
+ */
22
+ export interface PostgresqlDatabaseSpace {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof PostgresqlDatabaseSpace
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof PostgresqlDatabaseSpace
33
+ */
34
+ 'sizeBytes'?: number;
35
+ /**
36
+ *
37
+ * @type {boolean}
38
+ * @memberof PostgresqlDatabaseSpace
39
+ */
40
+ 'noHistoryYet': boolean;
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof PostgresqlDatabaseSpace
45
+ */
46
+ 'cannotProveGrowth': boolean;
47
+ }
48
+