kb-cloud-client-typescript 2.4.0-alpha.46 → 2.4.0-alpha.48

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 (140) hide show
  1. package/dist/adminapi/api.d.ts +2 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +2 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
  6. package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/dashboard-config-api.js +277 -0
  8. package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
  9. package/dist/adminapi/apis/diagnostics-api.d.ts +229 -0
  10. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/diagnostics-api.js +247 -0
  12. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  13. package/dist/adminapi/apis/oracle-api.d.ts +422 -0
  14. package/dist/adminapi/apis/oracle-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/oracle-api.js +471 -0
  16. package/dist/adminapi/apis/oracle-api.js.map +1 -0
  17. package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
  18. package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
  19. package/dist/adminapi/models/dashboard-config-update.js +16 -0
  20. package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
  21. package/dist/adminapi/models/dashboard-config.d.ts +31 -0
  22. package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
  23. package/dist/adminapi/models/dashboard-config.js +16 -0
  24. package/dist/adminapi/models/dashboard-config.js.map +1 -0
  25. package/dist/adminapi/models/index.d.ts +9 -0
  26. package/dist/adminapi/models/index.d.ts.map +1 -1
  27. package/dist/adminapi/models/index.js +9 -0
  28. package/dist/adminapi/models/index.js.map +1 -1
  29. package/dist/adminapi/models/oracle-tablespace-contents.d.ts +22 -0
  30. package/dist/adminapi/models/oracle-tablespace-contents.d.ts.map +1 -0
  31. package/dist/adminapi/models/oracle-tablespace-contents.js +26 -0
  32. package/dist/adminapi/models/oracle-tablespace-contents.js.map +1 -0
  33. package/dist/adminapi/models/oracle-tablespace-create.d.ts +45 -0
  34. package/dist/adminapi/models/oracle-tablespace-create.d.ts.map +1 -0
  35. package/dist/adminapi/models/oracle-tablespace-create.js +16 -0
  36. package/dist/adminapi/models/oracle-tablespace-create.js.map +1 -0
  37. package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts +22 -0
  38. package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
  39. package/dist/adminapi/models/oracle-tablespace-expand-action.js +26 -0
  40. package/dist/adminapi/models/oracle-tablespace-expand-action.js.map +1 -0
  41. package/dist/adminapi/models/oracle-tablespace-expand.d.ts +45 -0
  42. package/dist/adminapi/models/oracle-tablespace-expand.d.ts.map +1 -0
  43. package/dist/adminapi/models/oracle-tablespace-expand.js +16 -0
  44. package/dist/adminapi/models/oracle-tablespace-expand.js.map +1 -0
  45. package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts +49 -0
  46. package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
  47. package/dist/adminapi/models/oracle-tablespace-file-spec.js +16 -0
  48. package/dist/adminapi/models/oracle-tablespace-file-spec.js.map +1 -0
  49. package/dist/adminapi/models/oracle-tablespace-file.d.ts +67 -0
  50. package/dist/adminapi/models/oracle-tablespace-file.d.ts.map +1 -0
  51. package/dist/adminapi/models/oracle-tablespace-file.js +16 -0
  52. package/dist/adminapi/models/oracle-tablespace-file.js.map +1 -0
  53. package/dist/adminapi/models/oracle-tablespace.d.ts +86 -0
  54. package/dist/adminapi/models/oracle-tablespace.d.ts.map +1 -0
  55. package/dist/adminapi/models/oracle-tablespace.js +16 -0
  56. package/dist/adminapi/models/oracle-tablespace.js.map +1 -0
  57. package/dist/openapi/api.d.ts +2 -0
  58. package/dist/openapi/api.d.ts.map +1 -1
  59. package/dist/openapi/api.js +2 -0
  60. package/dist/openapi/api.js.map +1 -1
  61. package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
  62. package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
  63. package/dist/openapi/apis/dashboard-config-api.js +133 -0
  64. package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
  65. package/dist/openapi/apis/diagnostics-api.d.ts +229 -0
  66. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  67. package/dist/openapi/apis/diagnostics-api.js +247 -0
  68. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  69. package/dist/openapi/apis/oracle-api.d.ts +422 -0
  70. package/dist/openapi/apis/oracle-api.d.ts.map +1 -0
  71. package/dist/openapi/apis/oracle-api.js +471 -0
  72. package/dist/openapi/apis/oracle-api.js.map +1 -0
  73. package/dist/openapi/models/dashboard-config.d.ts +31 -0
  74. package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
  75. package/dist/openapi/models/dashboard-config.js +16 -0
  76. package/dist/openapi/models/dashboard-config.js.map +1 -0
  77. package/dist/openapi/models/index.d.ts +8 -0
  78. package/dist/openapi/models/index.d.ts.map +1 -1
  79. package/dist/openapi/models/index.js +8 -0
  80. package/dist/openapi/models/index.js.map +1 -1
  81. package/dist/openapi/models/oracle-tablespace-contents.d.ts +22 -0
  82. package/dist/openapi/models/oracle-tablespace-contents.d.ts.map +1 -0
  83. package/dist/openapi/models/oracle-tablespace-contents.js +26 -0
  84. package/dist/openapi/models/oracle-tablespace-contents.js.map +1 -0
  85. package/dist/openapi/models/oracle-tablespace-create.d.ts +45 -0
  86. package/dist/openapi/models/oracle-tablespace-create.d.ts.map +1 -0
  87. package/dist/openapi/models/oracle-tablespace-create.js +16 -0
  88. package/dist/openapi/models/oracle-tablespace-create.js.map +1 -0
  89. package/dist/openapi/models/oracle-tablespace-expand-action.d.ts +22 -0
  90. package/dist/openapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
  91. package/dist/openapi/models/oracle-tablespace-expand-action.js +26 -0
  92. package/dist/openapi/models/oracle-tablespace-expand-action.js.map +1 -0
  93. package/dist/openapi/models/oracle-tablespace-expand.d.ts +45 -0
  94. package/dist/openapi/models/oracle-tablespace-expand.d.ts.map +1 -0
  95. package/dist/openapi/models/oracle-tablespace-expand.js +16 -0
  96. package/dist/openapi/models/oracle-tablespace-expand.js.map +1 -0
  97. package/dist/openapi/models/oracle-tablespace-file-spec.d.ts +49 -0
  98. package/dist/openapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
  99. package/dist/openapi/models/oracle-tablespace-file-spec.js +16 -0
  100. package/dist/openapi/models/oracle-tablespace-file-spec.js.map +1 -0
  101. package/dist/openapi/models/oracle-tablespace-file.d.ts +67 -0
  102. package/dist/openapi/models/oracle-tablespace-file.d.ts.map +1 -0
  103. package/dist/openapi/models/oracle-tablespace-file.js +16 -0
  104. package/dist/openapi/models/oracle-tablespace-file.js.map +1 -0
  105. package/dist/openapi/models/oracle-tablespace.d.ts +86 -0
  106. package/dist/openapi/models/oracle-tablespace.d.ts.map +1 -0
  107. package/dist/openapi/models/oracle-tablespace.js +16 -0
  108. package/dist/openapi/models/oracle-tablespace.js.map +1 -0
  109. package/package.json +1 -1
  110. package/src/adminapi/.openapi-generator/FILES +11 -0
  111. package/src/adminapi/api.ts +2 -0
  112. package/src/adminapi/apis/dashboard-config-api.ts +388 -0
  113. package/src/adminapi/apis/diagnostics-api.ts +401 -0
  114. package/src/adminapi/apis/oracle-api.ts +726 -0
  115. package/src/adminapi/models/dashboard-config-update.ts +30 -0
  116. package/src/adminapi/models/dashboard-config.ts +36 -0
  117. package/src/adminapi/models/index.ts +9 -0
  118. package/src/adminapi/models/oracle-tablespace-contents.ts +31 -0
  119. package/src/adminapi/models/oracle-tablespace-create.ts +56 -0
  120. package/src/adminapi/models/oracle-tablespace-expand-action.ts +31 -0
  121. package/src/adminapi/models/oracle-tablespace-expand.ts +56 -0
  122. package/src/adminapi/models/oracle-tablespace-file-spec.ts +54 -0
  123. package/src/adminapi/models/oracle-tablespace-file.ts +72 -0
  124. package/src/adminapi/models/oracle-tablespace.ts +93 -0
  125. package/src/adminapi.yaml +1030 -411
  126. package/src/openapi/.openapi-generator/FILES +10 -0
  127. package/src/openapi/api.ts +2 -0
  128. package/src/openapi/apis/dashboard-config-api.ts +172 -0
  129. package/src/openapi/apis/diagnostics-api.ts +401 -0
  130. package/src/openapi/apis/oracle-api.ts +726 -0
  131. package/src/openapi/models/dashboard-config.ts +36 -0
  132. package/src/openapi/models/index.ts +8 -0
  133. package/src/openapi/models/oracle-tablespace-contents.ts +31 -0
  134. package/src/openapi/models/oracle-tablespace-create.ts +56 -0
  135. package/src/openapi/models/oracle-tablespace-expand-action.ts +31 -0
  136. package/src/openapi/models/oracle-tablespace-expand.ts +56 -0
  137. package/src/openapi/models/oracle-tablespace-file-spec.ts +54 -0
  138. package/src/openapi/models/oracle-tablespace-file.ts +72 -0
  139. package/src/openapi/models/oracle-tablespace.ts +93 -0
  140. package/src/openapi.yaml +902 -341
package/src/adminapi.yaml CHANGED
@@ -16843,6 +16843,78 @@ paths:
16843
16843
  $ref: '#/components/responses/500'
16844
16844
  tags:
16845
16845
  - instance
16846
+ /admin/v1/dashboardConfigs/{key}:
16847
+ get:
16848
+ parameters:
16849
+ - $ref: '#/components/parameters/dashboardConfigKey'
16850
+ tags:
16851
+ - dashboardConfig
16852
+ operationId: getDashboardConfig
16853
+ summary: Get dashboard configuration by key
16854
+ description: Requires platform configuration read access. Missing keys return 200 with a null value.
16855
+ responses:
16856
+ '200':
16857
+ description: Stored configuration or a null value for a missing key.
16858
+ content:
16859
+ application/json:
16860
+ schema:
16861
+ $ref: '#/components/schemas/dashboardConfig'
16862
+ '400':
16863
+ $ref: '#/components/responses/400'
16864
+ '401':
16865
+ $ref: '#/components/responses/401'
16866
+ '403':
16867
+ $ref: '#/components/responses/403'
16868
+ '500':
16869
+ $ref: '#/components/responses/500'
16870
+ put:
16871
+ parameters:
16872
+ - $ref: '#/components/parameters/dashboardConfigKey'
16873
+ tags:
16874
+ - dashboardConfig
16875
+ operationId: putDashboardConfig
16876
+ summary: Create or replace dashboard configuration by key
16877
+ description: Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
16878
+ requestBody:
16879
+ required: true
16880
+ content:
16881
+ application/json:
16882
+ schema:
16883
+ $ref: '#/components/schemas/dashboardConfigUpdate'
16884
+ responses:
16885
+ '200':
16886
+ description: Saved configuration.
16887
+ content:
16888
+ application/json:
16889
+ schema:
16890
+ $ref: '#/components/schemas/dashboardConfig'
16891
+ '400':
16892
+ $ref: '#/components/responses/400'
16893
+ '401':
16894
+ $ref: '#/components/responses/401'
16895
+ '403':
16896
+ $ref: '#/components/responses/403'
16897
+ '500':
16898
+ $ref: '#/components/responses/500'
16899
+ delete:
16900
+ parameters:
16901
+ - $ref: '#/components/parameters/dashboardConfigKey'
16902
+ tags:
16903
+ - dashboardConfig
16904
+ operationId: deleteDashboardConfig
16905
+ summary: Delete dashboard configuration by key
16906
+ description: Requires platform configuration write access. Deleting a missing key succeeds.
16907
+ responses:
16908
+ '204':
16909
+ description: Configuration is absent.
16910
+ '400':
16911
+ $ref: '#/components/responses/400'
16912
+ '401':
16913
+ $ref: '#/components/responses/401'
16914
+ '403':
16915
+ $ref: '#/components/responses/403'
16916
+ '500':
16917
+ $ref: '#/components/responses/500'
16846
16918
  /admin/v1/platformParameters:
16847
16919
  get:
16848
16920
  tags:
@@ -20751,6 +20823,228 @@ paths:
20751
20823
  $ref: '#/components/responses/404'
20752
20824
  '500':
20753
20825
  $ref: '#/components/responses/500'
20826
+ /admin/v1/data/oracle/organizations/{orgName}/clusters/{clusterName}/tablespaces:
20827
+ get:
20828
+ tags:
20829
+ - oracle
20830
+ summary: List Oracle tablespaces
20831
+ description: List tablespaces for a Oracle cluster.
20832
+ operationId: listOracleTablespaces
20833
+ parameters:
20834
+ - name: orgName
20835
+ in: path
20836
+ required: true
20837
+ schema:
20838
+ type: string
20839
+ description: Organization name
20840
+ - name: clusterName
20841
+ in: path
20842
+ required: true
20843
+ schema:
20844
+ type: string
20845
+ description: Cluster name
20846
+ responses:
20847
+ '200':
20848
+ content:
20849
+ application/json:
20850
+ schema:
20851
+ type: array
20852
+ items:
20853
+ $ref: '#/components/schemas/OracleTablespace'
20854
+ description: A successful response.
20855
+ '400':
20856
+ $ref: '#/components/responses/400'
20857
+ '401':
20858
+ $ref: '#/components/responses/401'
20859
+ '403':
20860
+ $ref: '#/components/responses/403'
20861
+ '404':
20862
+ $ref: '#/components/responses/404'
20863
+ '500':
20864
+ $ref: '#/components/responses/500'
20865
+ post:
20866
+ tags:
20867
+ - oracle
20868
+ summary: Create Oracle tablespace
20869
+ description: Create tablespace for a Oracle cluster.
20870
+ operationId: createOracleTablespace
20871
+ parameters:
20872
+ - name: orgName
20873
+ in: path
20874
+ required: true
20875
+ schema:
20876
+ type: string
20877
+ description: Organization name
20878
+ - name: clusterName
20879
+ in: path
20880
+ required: true
20881
+ schema:
20882
+ type: string
20883
+ description: Cluster name
20884
+ requestBody:
20885
+ required: true
20886
+ content:
20887
+ application/json:
20888
+ schema:
20889
+ $ref: '#/components/schemas/OracleTablespaceCreate'
20890
+ responses:
20891
+ '200':
20892
+ content:
20893
+ application/json:
20894
+ schema:
20895
+ $ref: '#/components/schemas/OracleTablespace'
20896
+ description: A successful response.
20897
+ '400':
20898
+ $ref: '#/components/responses/400'
20899
+ '401':
20900
+ $ref: '#/components/responses/401'
20901
+ '403':
20902
+ $ref: '#/components/responses/403'
20903
+ '404':
20904
+ $ref: '#/components/responses/404'
20905
+ '500':
20906
+ $ref: '#/components/responses/500'
20907
+ /admin/v1/data/oracle/organizations/{orgName}/clusters/{clusterName}/tablespaces/{tablespaceName}:
20908
+ get:
20909
+ tags:
20910
+ - oracle
20911
+ summary: Get Oracle tablespace info
20912
+ operationId: getOracleTablespace
20913
+ parameters:
20914
+ - name: orgName
20915
+ in: path
20916
+ required: true
20917
+ schema:
20918
+ type: string
20919
+ description: Organization name
20920
+ - name: clusterName
20921
+ in: path
20922
+ required: true
20923
+ schema:
20924
+ type: string
20925
+ description: Cluster name
20926
+ - name: tablespaceName
20927
+ in: path
20928
+ required: true
20929
+ schema:
20930
+ type: string
20931
+ description: Tablespace name
20932
+ responses:
20933
+ '200':
20934
+ content:
20935
+ application/json:
20936
+ schema:
20937
+ $ref: '#/components/schemas/OracleTablespace'
20938
+ description: A successful response.
20939
+ '400':
20940
+ $ref: '#/components/responses/400'
20941
+ '401':
20942
+ $ref: '#/components/responses/401'
20943
+ '403':
20944
+ $ref: '#/components/responses/403'
20945
+ '404':
20946
+ $ref: '#/components/responses/404'
20947
+ '500':
20948
+ $ref: '#/components/responses/500'
20949
+ delete:
20950
+ tags:
20951
+ - oracle
20952
+ summary: Delete Oracle tablespace
20953
+ description: Delete tablespace for a Oracle cluster.
20954
+ operationId: deleteOracleTablespace
20955
+ parameters:
20956
+ - name: orgName
20957
+ in: path
20958
+ required: true
20959
+ schema:
20960
+ type: string
20961
+ description: Organization name
20962
+ - name: clusterName
20963
+ in: path
20964
+ required: true
20965
+ schema:
20966
+ type: string
20967
+ description: Cluster name
20968
+ - name: tablespaceName
20969
+ in: path
20970
+ required: true
20971
+ schema:
20972
+ type: string
20973
+ description: Tablespace name
20974
+ - name: includingContents
20975
+ in: query
20976
+ schema:
20977
+ type: boolean
20978
+ default: false
20979
+ description: Explicitly delete all objects in the tablespace. Without this flag Oracle rejects nonempty tablespaces.
20980
+ - name: deleteDatafiles
20981
+ in: query
20982
+ schema:
20983
+ type: boolean
20984
+ default: false
20985
+ description: Also remove physical files. Requires includingContents. Otherwise manually managed files are retained.
20986
+ responses:
20987
+ '204':
20988
+ content: {}
20989
+ description: A successful response.
20990
+ '400':
20991
+ $ref: '#/components/responses/400'
20992
+ '401':
20993
+ $ref: '#/components/responses/401'
20994
+ '403':
20995
+ $ref: '#/components/responses/403'
20996
+ '404':
20997
+ $ref: '#/components/responses/404'
20998
+ '500':
20999
+ $ref: '#/components/responses/500'
21000
+ patch:
21001
+ tags:
21002
+ - oracle
21003
+ summary: Expand Oracle tablespace
21004
+ description: Expand one existing datafile/tempfile or add one file in the current container.
21005
+ operationId: expandOracleTablespace
21006
+ parameters:
21007
+ - name: orgName
21008
+ in: path
21009
+ required: true
21010
+ schema:
21011
+ type: string
21012
+ description: Organization name
21013
+ - name: clusterName
21014
+ in: path
21015
+ required: true
21016
+ schema:
21017
+ type: string
21018
+ description: Cluster name
21019
+ - name: tablespaceName
21020
+ in: path
21021
+ required: true
21022
+ schema:
21023
+ type: string
21024
+ description: Tablespace name
21025
+ requestBody:
21026
+ required: true
21027
+ content:
21028
+ application/json:
21029
+ schema:
21030
+ $ref: '#/components/schemas/OracleTablespaceExpand'
21031
+ responses:
21032
+ '200':
21033
+ content:
21034
+ application/json:
21035
+ schema:
21036
+ $ref: '#/components/schemas/OracleTablespace'
21037
+ description: A successful response.
21038
+ '400':
21039
+ $ref: '#/components/responses/400'
21040
+ '401':
21041
+ $ref: '#/components/responses/401'
21042
+ '403':
21043
+ $ref: '#/components/responses/403'
21044
+ '404':
21045
+ $ref: '#/components/responses/404'
21046
+ '500':
21047
+ $ref: '#/components/responses/500'
20754
21048
  /admin/v1/data/damengdb/organizations/{orgName}/clusters/{clusterName}/tablespaces:
20755
21049
  get:
20756
21050
  tags:
@@ -22144,13 +22438,13 @@ paths:
22144
22438
  - session
22145
22439
  - rdbms
22146
22440
  - shared
22147
- /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/spaceAnalysis:
22441
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/spaceAnalysis:
22148
22442
  get:
22149
22443
  tags:
22150
22444
  - diagnostics
22151
- summary: Get MySQL space analysis
22152
- description: Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
22153
- operationId: getDiagnosticsMysqlSpaceAnalysis
22445
+ summary: Get MariaDB space analysis
22446
+ description: Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
22447
+ operationId: getDiagnosticsMariaDBSpaceAnalysis
22154
22448
  parameters:
22155
22449
  - name: orgName
22156
22450
  in: path
@@ -22185,34 +22479,172 @@ paths:
22185
22479
  $ref: '#/components/responses/404'
22186
22480
  '500':
22187
22481
  $ref: '#/components/responses/500'
22188
- /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions:
22482
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/sqlAnalysis:
22189
22483
  get:
22190
22484
  tags:
22191
22485
  - diagnostics
22192
- operationId: listDiagnosticsMssqlSessions
22193
- summary: List SQL Server sessions
22486
+ summary: Get MariaDB SQL analysis
22487
+ description: Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
22488
+ operationId: getDiagnosticsMariaDBSQLAnalysis
22194
22489
  parameters:
22195
22490
  - name: orgName
22196
22491
  in: path
22492
+ description: Organization name
22197
22493
  required: true
22198
22494
  schema:
22199
22495
  type: string
22200
22496
  - name: clusterName
22201
22497
  in: path
22498
+ description: Cluster name
22202
22499
  required: true
22203
22500
  schema:
22204
22501
  type: string
22205
22502
  - name: limit
22206
22503
  in: query
22504
+ description: Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
22207
22505
  required: false
22208
22506
  schema:
22209
22507
  type: integer
22210
22508
  format: int64
22211
- minimum: 1
22212
- maximum: 1000
22213
- default: 500
22214
- responses:
22215
- '200':
22509
+ - name: orderBy
22510
+ in: query
22511
+ description: Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
22512
+ required: false
22513
+ schema:
22514
+ type: string
22515
+ responses:
22516
+ '200':
22517
+ description: OK
22518
+ content:
22519
+ application/json:
22520
+ schema:
22521
+ $ref: '#/components/schemas/mysqlSQLAnalysis'
22522
+ '400':
22523
+ $ref: '#/components/responses/400'
22524
+ '401':
22525
+ $ref: '#/components/responses/401'
22526
+ '403':
22527
+ $ref: '#/components/responses/403'
22528
+ '404':
22529
+ $ref: '#/components/responses/404'
22530
+ '500':
22531
+ $ref: '#/components/responses/500'
22532
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/performanceTrends:
22533
+ get:
22534
+ tags:
22535
+ - diagnostics
22536
+ summary: Get MariaDB performance trends
22537
+ description: Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
22538
+ operationId: getDiagnosticsMariaDBPerformanceTrends
22539
+ parameters:
22540
+ - name: orgName
22541
+ in: path
22542
+ description: Organization name
22543
+ required: true
22544
+ schema:
22545
+ type: string
22546
+ - name: clusterName
22547
+ in: path
22548
+ description: Cluster name
22549
+ required: true
22550
+ schema:
22551
+ type: string
22552
+ - name: range
22553
+ in: query
22554
+ description: Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
22555
+ required: false
22556
+ schema:
22557
+ type: string
22558
+ - name: step
22559
+ in: query
22560
+ description: Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
22561
+ required: false
22562
+ schema:
22563
+ type: string
22564
+ responses:
22565
+ '200':
22566
+ description: OK
22567
+ content:
22568
+ application/json:
22569
+ schema:
22570
+ $ref: '#/components/schemas/performanceTrends'
22571
+ '400':
22572
+ $ref: '#/components/responses/400'
22573
+ '401':
22574
+ $ref: '#/components/responses/401'
22575
+ '403':
22576
+ $ref: '#/components/responses/403'
22577
+ '500':
22578
+ $ref: '#/components/responses/500'
22579
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/spaceAnalysis:
22580
+ get:
22581
+ tags:
22582
+ - diagnostics
22583
+ summary: Get MySQL space analysis
22584
+ description: Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
22585
+ operationId: getDiagnosticsMysqlSpaceAnalysis
22586
+ parameters:
22587
+ - name: orgName
22588
+ in: path
22589
+ required: true
22590
+ schema:
22591
+ type: string
22592
+ - name: clusterName
22593
+ in: path
22594
+ required: true
22595
+ schema:
22596
+ type: string
22597
+ - name: databaseName
22598
+ in: query
22599
+ description: Optional database name for table and index details. When omitted, the largest non-system database is selected.
22600
+ required: false
22601
+ schema:
22602
+ type: string
22603
+ responses:
22604
+ '200':
22605
+ description: OK
22606
+ content:
22607
+ application/json:
22608
+ schema:
22609
+ $ref: '#/components/schemas/mysqlSpaceAnalysis'
22610
+ '400':
22611
+ $ref: '#/components/responses/400'
22612
+ '401':
22613
+ $ref: '#/components/responses/401'
22614
+ '403':
22615
+ $ref: '#/components/responses/403'
22616
+ '404':
22617
+ $ref: '#/components/responses/404'
22618
+ '500':
22619
+ $ref: '#/components/responses/500'
22620
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions:
22621
+ get:
22622
+ tags:
22623
+ - diagnostics
22624
+ operationId: listDiagnosticsMssqlSessions
22625
+ summary: List SQL Server sessions
22626
+ parameters:
22627
+ - name: orgName
22628
+ in: path
22629
+ required: true
22630
+ schema:
22631
+ type: string
22632
+ - name: clusterName
22633
+ in: path
22634
+ required: true
22635
+ schema:
22636
+ type: string
22637
+ - name: limit
22638
+ in: query
22639
+ required: false
22640
+ schema:
22641
+ type: integer
22642
+ format: int64
22643
+ minimum: 1
22644
+ maximum: 1000
22645
+ default: 500
22646
+ responses:
22647
+ '200':
22216
22648
  description: OK
22217
22649
  content:
22218
22650
  application/json:
@@ -40378,6 +40810,27 @@ components:
40378
40810
  isVariable:
40379
40811
  type: boolean
40380
40812
  description: whether the param is tenant variable or param
40813
+ dashboardConfig:
40814
+ type: object
40815
+ required:
40816
+ - key
40817
+ properties:
40818
+ key:
40819
+ type: string
40820
+ description: Frontend-defined platform-wide key. Organization identifiers in this key do not enforce tenant isolation.
40821
+ minLength: 1
40822
+ maxLength: 512
40823
+ value:
40824
+ description: Stored JSON value, or null when the key has no configuration.
40825
+ x-omitempty: false
40826
+ dashboardConfigUpdate:
40827
+ type: object
40828
+ required:
40829
+ - value
40830
+ properties:
40831
+ value:
40832
+ description: Any non-null JSON value. Replaces the complete stored value.
40833
+ x-omitempty: false
40381
40834
  platformParameterCategory:
40382
40835
  type: string
40383
40836
  description: platformParameter category, representing the platformParameter group
@@ -42452,6 +42905,163 @@ components:
42452
42905
  type: array
42453
42906
  items:
42454
42907
  $ref: '#/components/schemas/RbmqExchange'
42908
+ OracleTablespaceFile:
42909
+ type: object
42910
+ required:
42911
+ - id
42912
+ - name
42913
+ - status
42914
+ - allocatedSizeMB
42915
+ - usedSizeMB
42916
+ - autoExtend
42917
+ - nextSizeMB
42918
+ - maxSizeMB
42919
+ properties:
42920
+ id:
42921
+ type: integer
42922
+ format: int64
42923
+ name:
42924
+ type: string
42925
+ status:
42926
+ type: string
42927
+ allocatedSizeMB:
42928
+ type: number
42929
+ format: double
42930
+ usedSizeMB:
42931
+ type: number
42932
+ format: double
42933
+ autoExtend:
42934
+ type: boolean
42935
+ nextSizeMB:
42936
+ type: number
42937
+ format: double
42938
+ maxSizeMB:
42939
+ type: number
42940
+ format: double
42941
+ OracleTablespace:
42942
+ type: object
42943
+ description: Oracle tablespace in the datasource connection's current container. Sizes are in MiB. Supports Oracle 12c and 19c.
42944
+ required:
42945
+ - name
42946
+ - contents
42947
+ - status
42948
+ - bigfile
42949
+ - blockSize
42950
+ - containerName
42951
+ - isDefault
42952
+ - allocatedSizeMB
42953
+ - usedSizeMB
42954
+ - maxSizeMB
42955
+ - files
42956
+ properties:
42957
+ name:
42958
+ type: string
42959
+ contents:
42960
+ type: string
42961
+ description: PERMANENT, TEMPORARY, or UNDO.
42962
+ status:
42963
+ type: string
42964
+ bigfile:
42965
+ type: boolean
42966
+ blockSize:
42967
+ type: integer
42968
+ format: int64
42969
+ containerName:
42970
+ type: string
42971
+ isDefault:
42972
+ type: boolean
42973
+ description: Whether this is a default permanent or temporary tablespace, including default temporary group members.
42974
+ allocatedSizeMB:
42975
+ type: number
42976
+ format: double
42977
+ usedSizeMB:
42978
+ type: number
42979
+ format: double
42980
+ description: Allocated file space minus free extents, or temporary file space currently allocated to temporary segments.
42981
+ maxSizeMB:
42982
+ type: number
42983
+ format: double
42984
+ description: Configured file growth limit; does not imply available disk capacity.
42985
+ files:
42986
+ type: array
42987
+ items:
42988
+ $ref: '#/components/schemas/OracleTablespaceFile'
42989
+ OracleTablespaceContents:
42990
+ type: string
42991
+ enum:
42992
+ - PERMANENT
42993
+ - TEMPORARY
42994
+ description: New tablespaces default to PERMANENT when omitted.
42995
+ OracleTablespaceFileSpec:
42996
+ type: object
42997
+ required:
42998
+ - sizeMB
42999
+ properties:
43000
+ name:
43001
+ type: string
43002
+ description: Absolute database-server file path or ASM destination. Omit to use Oracle Managed Files (DB_CREATE_FILE_DEST must be configured). Existing files are never reused.
43003
+ maxLength: 1024
43004
+ sizeMB:
43005
+ type: integer
43006
+ format: int64
43007
+ minimum: 1
43008
+ autoExtend:
43009
+ type: boolean
43010
+ default: false
43011
+ nextSizeMB:
43012
+ type: integer
43013
+ format: int64
43014
+ minimum: 0
43015
+ description: Required positive increment when autoExtend is true; otherwise omit.
43016
+ maxSizeMB:
43017
+ type: integer
43018
+ format: int64
43019
+ minimum: 0
43020
+ description: Maximum size when autoExtend is true; zero or omitted means UNLIMITED. Otherwise omit.
43021
+ OracleTablespaceCreate:
43022
+ type: object
43023
+ required:
43024
+ - name
43025
+ - files
43026
+ properties:
43027
+ name:
43028
+ type: string
43029
+ pattern: ^[A-Za-z][A-Za-z0-9_$#]{0,29}$
43030
+ description: Converted to uppercase. Limited to 30 ASCII bytes for compatibility with Oracle 12.1.
43031
+ contents:
43032
+ $ref: '#/components/schemas/OracleTablespaceContents'
43033
+ bigfile:
43034
+ type: boolean
43035
+ default: false
43036
+ files:
43037
+ type: array
43038
+ minItems: 1
43039
+ description: Exactly one file for BIGFILE tablespaces.
43040
+ items:
43041
+ $ref: '#/components/schemas/OracleTablespaceFileSpec'
43042
+ OracleTablespaceExpandAction:
43043
+ type: string
43044
+ enum:
43045
+ - resize
43046
+ - addFile
43047
+ OracleTablespaceExpand:
43048
+ type: object
43049
+ description: One DDL operation per request. Use resize with fileId and sizeMB, or addFile with file. Shrinking and adding files to BIGFILE tablespaces are rejected.
43050
+ required:
43051
+ - action
43052
+ properties:
43053
+ action:
43054
+ $ref: '#/components/schemas/OracleTablespaceExpandAction'
43055
+ fileId:
43056
+ type: integer
43057
+ format: int64
43058
+ minimum: 1
43059
+ sizeMB:
43060
+ type: integer
43061
+ format: int64
43062
+ minimum: 1
43063
+ file:
43064
+ $ref: '#/components/schemas/OracleTablespaceFileSpec'
42455
43065
  DmFile:
42456
43066
  type: object
42457
43067
  required:
@@ -42970,10 +43580,351 @@ components:
42970
43580
  collectedAt:
42971
43581
  type: string
42972
43582
  description: Backend collection timestamp in UTC.
42973
- mssqlRequest:
43583
+ mysqlSQLFingerprint:
42974
43584
  type: object
42975
43585
  required:
42976
- - requestId
43586
+ - queryID
43587
+ - fingerprint
43588
+ - querySummary
43589
+ - calls
43590
+ - totalTimeMs
43591
+ - meanTimeMs
43592
+ - maxTimeMs
43593
+ - rows
43594
+ - rowsSent
43595
+ - rowsAffected
43596
+ - rowsExamined
43597
+ - lockTimeMs
43598
+ - errors
43599
+ - warnings
43600
+ - tmpTables
43601
+ - tmpDiskTables
43602
+ - noIndexUsed
43603
+ - noGoodIndexUsed
43604
+ - database
43605
+ properties:
43606
+ queryID:
43607
+ type: string
43608
+ description: MySQL Performance Schema DIGEST value.
43609
+ fingerprint:
43610
+ type: string
43611
+ description: Stable SQL fingerprint identifier. M1 uses DIGEST.
43612
+ querySummary:
43613
+ type: string
43614
+ description: Normalized DIGEST_TEXT. Raw SQL text is intentionally not returned.
43615
+ calls:
43616
+ type: integer
43617
+ format: int64
43618
+ description: Number of executions accumulated in the current digest row.
43619
+ totalTimeMs:
43620
+ type: number
43621
+ format: double
43622
+ description: Total statement wait time in milliseconds.
43623
+ meanTimeMs:
43624
+ type: number
43625
+ format: double
43626
+ description: Mean statement wait time in milliseconds.
43627
+ maxTimeMs:
43628
+ type: number
43629
+ format: double
43630
+ description: Maximum statement wait time in milliseconds.
43631
+ rows:
43632
+ type: integer
43633
+ format: int64
43634
+ description: Sum of rows sent and rows affected.
43635
+ rowsSent:
43636
+ type: integer
43637
+ format: int64
43638
+ description: Total rows sent to clients.
43639
+ rowsAffected:
43640
+ type: integer
43641
+ format: int64
43642
+ description: Total rows affected by statements.
43643
+ rowsExamined:
43644
+ type: integer
43645
+ format: int64
43646
+ description: Total rows examined by statements.
43647
+ lockTimeMs:
43648
+ type: number
43649
+ format: double
43650
+ description: Total statement lock time in milliseconds.
43651
+ errors:
43652
+ type: integer
43653
+ format: int64
43654
+ description: Total statement errors.
43655
+ warnings:
43656
+ type: integer
43657
+ format: int64
43658
+ description: Total statement warnings.
43659
+ tmpTables:
43660
+ type: integer
43661
+ format: int64
43662
+ description: Total internal temporary tables created.
43663
+ tmpDiskTables:
43664
+ type: integer
43665
+ format: int64
43666
+ description: Total internal on-disk temporary tables created.
43667
+ noIndexUsed:
43668
+ type: integer
43669
+ format: int64
43670
+ description: Executions that used no index.
43671
+ noGoodIndexUsed:
43672
+ type: integer
43673
+ format: int64
43674
+ description: Executions for which no good index was found.
43675
+ database:
43676
+ type: string
43677
+ description: Default schema name associated with the digest row.
43678
+ firstSeen:
43679
+ type: string
43680
+ description: UTC timestamp when the digest was first observed.
43681
+ lastSeen:
43682
+ type: string
43683
+ description: UTC timestamp when the digest was most recently observed.
43684
+ mysqlSQLAnalysis:
43685
+ type: object
43686
+ required:
43687
+ - source
43688
+ - status
43689
+ - collectedAt
43690
+ - limit
43691
+ - orderBy
43692
+ - items
43693
+ properties:
43694
+ source:
43695
+ type: string
43696
+ description: Data source. M1 uses performance_schema.events_statements_summary_by_digest.
43697
+ status:
43698
+ type: string
43699
+ description: Source status. Expected values are available or unavailable.
43700
+ unavailableReason:
43701
+ type: string
43702
+ description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
43703
+ message:
43704
+ type: string
43705
+ description: User-facing recovery guidance when SQL analysis is unavailable.
43706
+ collectedAt:
43707
+ type: string
43708
+ description: Backend collection timestamp in UTC. It is not a sampling-window end time.
43709
+ firstSeen:
43710
+ type: string
43711
+ description: Earliest FIRST_SEEN timestamp across currently visible digest rows, when available.
43712
+ lastSeen:
43713
+ type: string
43714
+ description: Latest LAST_SEEN timestamp across currently visible digest rows, when available.
43715
+ limit:
43716
+ type: integer
43717
+ format: int64
43718
+ description: Effective row limit after backend normalization.
43719
+ orderBy:
43720
+ type: string
43721
+ description: Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls.
43722
+ totalTimeMsAll:
43723
+ type: number
43724
+ format: double
43725
+ x-nullable: true
43726
+ description: Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items.
43727
+ callsAll:
43728
+ type: integer
43729
+ format: int64
43730
+ x-nullable: true
43731
+ description: Total execution count across all visible digest rows, not limited to the returned top-N items.
43732
+ digestLost:
43733
+ type: integer
43734
+ format: int64
43735
+ x-nullable: true
43736
+ description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
43737
+ items:
43738
+ type: array
43739
+ description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
43740
+ items:
43741
+ $ref: '#/components/schemas/mysqlSQLFingerprint'
43742
+ performanceTrendRange:
43743
+ type: object
43744
+ required:
43745
+ - label
43746
+ - start
43747
+ - end
43748
+ - durationSeconds
43749
+ properties:
43750
+ label:
43751
+ type: string
43752
+ description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
43753
+ start:
43754
+ type: string
43755
+ end:
43756
+ type: string
43757
+ durationSeconds:
43758
+ type: integer
43759
+ format: int64
43760
+ performanceTrendSummary:
43761
+ type: object
43762
+ required:
43763
+ - metric
43764
+ - displayName
43765
+ - category
43766
+ - unit
43767
+ - min
43768
+ - max
43769
+ - avg
43770
+ - latest
43771
+ properties:
43772
+ metric:
43773
+ type: string
43774
+ displayName:
43775
+ $ref: '#/components/schemas/localizedDescription'
43776
+ category:
43777
+ type: string
43778
+ description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
43779
+ dimension:
43780
+ type: string
43781
+ description: Optional series dimension. Values include cluster, instance, pvc, and database.
43782
+ labels:
43783
+ type: object
43784
+ additionalProperties:
43785
+ type: string
43786
+ description: Optional dimension labels, for example instance, pvc, role, or datname.
43787
+ unit:
43788
+ type: string
43789
+ warnThreshold:
43790
+ type: number
43791
+ format: double
43792
+ description: Optional warning threshold in the same unit as this metric.
43793
+ critThreshold:
43794
+ type: number
43795
+ format: double
43796
+ description: Optional critical threshold in the same unit as this metric.
43797
+ thresholdDirection:
43798
+ type: string
43799
+ description: Optional threshold direction. Values are above, below, or boolean.
43800
+ min:
43801
+ type: number
43802
+ format: double
43803
+ max:
43804
+ type: number
43805
+ format: double
43806
+ avg:
43807
+ type: number
43808
+ format: double
43809
+ latest:
43810
+ type: number
43811
+ format: double
43812
+ changeDirection:
43813
+ type: string
43814
+ description: Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
43815
+ performanceTrendPoint:
43816
+ type: object
43817
+ required:
43818
+ - timestamp
43819
+ - value
43820
+ properties:
43821
+ timestamp:
43822
+ type: string
43823
+ value:
43824
+ type: number
43825
+ format: double
43826
+ performanceTrendSeries:
43827
+ type: object
43828
+ required:
43829
+ - metric
43830
+ - displayName
43831
+ - category
43832
+ - unit
43833
+ - points
43834
+ properties:
43835
+ metric:
43836
+ type: string
43837
+ displayName:
43838
+ $ref: '#/components/schemas/localizedDescription'
43839
+ category:
43840
+ type: string
43841
+ description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
43842
+ dimension:
43843
+ type: string
43844
+ description: Optional series dimension. Values include cluster, instance, pvc, and database.
43845
+ labels:
43846
+ type: object
43847
+ additionalProperties:
43848
+ type: string
43849
+ description: Optional dimension labels, for example instance, pvc, role, or datname.
43850
+ unit:
43851
+ type: string
43852
+ warnThreshold:
43853
+ type: number
43854
+ format: double
43855
+ description: Optional warning threshold in the same unit as this metric.
43856
+ critThreshold:
43857
+ type: number
43858
+ format: double
43859
+ description: Optional critical threshold in the same unit as this metric.
43860
+ thresholdDirection:
43861
+ type: string
43862
+ description: Optional threshold direction. Values are above, below, or boolean.
43863
+ points:
43864
+ type: array
43865
+ items:
43866
+ $ref: '#/components/schemas/performanceTrendPoint'
43867
+ performanceTrendSource:
43868
+ type: object
43869
+ required:
43870
+ - name
43871
+ - kind
43872
+ - status
43873
+ - collectedAt
43874
+ properties:
43875
+ name:
43876
+ type: string
43877
+ kind:
43878
+ type: string
43879
+ status:
43880
+ type: string
43881
+ description: Coarse source status. Values are success, partial, failed, skipped, or noData.
43882
+ collectedAt:
43883
+ type: string
43884
+ message:
43885
+ type: string
43886
+ performanceTrends:
43887
+ type: object
43888
+ required:
43889
+ - range
43890
+ - granularity
43891
+ - summary
43892
+ - series
43893
+ - sources
43894
+ - warnings
43895
+ - collectedAt
43896
+ properties:
43897
+ range:
43898
+ $ref: '#/components/schemas/performanceTrendRange'
43899
+ granularity:
43900
+ type: string
43901
+ description: Controlled backend query step.
43902
+ summary:
43903
+ type: array
43904
+ description: Per-series numeric summary. changeDirection is present only when at least two points exist.
43905
+ items:
43906
+ $ref: '#/components/schemas/performanceTrendSummary'
43907
+ series:
43908
+ type: array
43909
+ description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
43910
+ items:
43911
+ $ref: '#/components/schemas/performanceTrendSeries'
43912
+ sources:
43913
+ type: array
43914
+ description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
43915
+ items:
43916
+ $ref: '#/components/schemas/performanceTrendSource'
43917
+ warnings:
43918
+ type: array
43919
+ items:
43920
+ type: string
43921
+ collectedAt:
43922
+ type: string
43923
+ description: Backend collection timestamp in UTC.
43924
+ mssqlRequest:
43925
+ type: object
43926
+ required:
43927
+ - requestId
42977
43928
  - startedAt
42978
43929
  - status
42979
43930
  - command
@@ -43566,213 +44517,16 @@ components:
43566
44517
  type: integer
43567
44518
  format: int64
43568
44519
  description: Rows returned or affected by the fingerprint, as reported by pg_stat_statements.
43569
- database:
43570
- type: string
43571
- description: Database name resolved from pg_stat_statements.dbid when visible.
43572
- user:
43573
- type: string
43574
- description: Database user name resolved from pg_stat_statements.userid when visible.
43575
- topLevel:
43576
- type: boolean
43577
- description: Whether pg_stat_statements recorded the statement as top-level. Legacy PostgreSQL versions without the toplevel column report true.
43578
- postgresqlSQLAnalysis:
43579
- type: object
43580
- required:
43581
- - source
43582
- - status
43583
- - collectedAt
43584
- - limit
43585
- - orderBy
43586
- - items
43587
- properties:
43588
- source:
43589
- type: string
43590
- description: Data source. M1 uses pg_stat_statements only.
43591
- status:
43592
- type: string
43593
- description: Source status. Expected values are available or unavailable.
43594
- unavailableReason:
43595
- type: string
43596
- description: Reason when status is unavailable, such as extension_disabled, permission_denied, or query_failed.
43597
- statsReset:
43598
- type: string
43599
- description: UTC timestamp reported by pg_stat_statements_info.stats_reset when available. Empty means the source did not expose this timestamp.
43600
- collectedAt:
43601
- type: string
43602
- description: Backend collection timestamp in UTC. It is not a sampling-window end time.
43603
- limit:
43604
- type: integer
43605
- format: int64
43606
- description: Effective row limit after backend normalization.
43607
- orderBy:
43608
- type: string
43609
- description: Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls.
43610
- totalTimeMsAll:
43611
- type: number
43612
- format: double
43613
- x-nullable: true
43614
- description: Total execution time in milliseconds across all visible pg_stat_statements rows, not limited to the returned top-N items. Present only when the source is available.
43615
- callsAll:
43616
- type: integer
43617
- format: int64
43618
- x-nullable: true
43619
- description: Total execution count across all visible pg_stat_statements rows, not limited to the returned top-N items. Present only when the source is available.
43620
- items:
43621
- type: array
43622
- description: SQL fingerprint ranking rows from pg_stat_statements. The list may be empty when no statement statistics exist.
43623
- items:
43624
- $ref: '#/components/schemas/postgresqlSQLFingerprint'
43625
- postgresqlSQLFingerprintExplainResponse:
43626
- type: object
43627
- required:
43628
- - queryID
43629
- - fingerprint
43630
- - database
43631
- - user
43632
- - topLevel
43633
- - planMode
43634
- - parameterized
43635
- - explainResult
43636
- properties:
43637
- queryID:
43638
- type: string
43639
- description: PostgreSQL pg_stat_statements queryid represented as a string.
43640
- fingerprint:
43641
- type: string
43642
- description: Stable SQL fingerprint identifier for UI grouping. Currently aligned with PostgreSQL pg_stat_statements queryid.
43643
- database:
43644
- type: string
43645
- description: Database name from the requested SQL fingerprint identity.
43646
- user:
43647
- type: string
43648
- description: Database user from the requested SQL fingerprint identity.
43649
- topLevel:
43650
- type: boolean
43651
- description: Top-level flag from the requested SQL fingerprint identity.
43652
- statementSource:
43653
- type: string
43654
- description: Server-side source used to resolve the parameterized SQL statement. Raw SQL is not returned.
43655
- statementResolvedAt:
43656
- type: string
43657
- description: Timestamp when the parameterized SQL statement was resolved.
43658
- planMode:
43659
- $ref: '#/components/schemas/DmsExecutionPlanPlanningMode'
43660
- description: Whether DMS produced a standard estimated plan or a generic parameterized estimated plan.
43661
- parameterized:
43662
- type: boolean
43663
- description: Whether generic parameterized planning was used (planMode is generic). False means standard planning, not that historical parameter values were used. This endpoint never retrieves historical parameter values.
43664
- x-omitempty: false
43665
- parameterCount:
43666
- type: integer
43667
- format: int64
43668
- nullable: true
43669
- x-omitempty: true
43670
- description: Number of parameters when DMS can determine it. It may be omitted for PostgreSQL generic-plan paths that do not expose the count.
43671
- explainResult:
43672
- $ref: '#/components/schemas/DmsExecutionPlanResult'
43673
- description: Normalized DMS estimated visual plan. The resolved statement and generated EXPLAIN SQL are intentionally removed.
43674
- mysqlSQLFingerprint:
43675
- type: object
43676
- required:
43677
- - queryID
43678
- - fingerprint
43679
- - querySummary
43680
- - calls
43681
- - totalTimeMs
43682
- - meanTimeMs
43683
- - maxTimeMs
43684
- - rows
43685
- - rowsSent
43686
- - rowsAffected
43687
- - rowsExamined
43688
- - lockTimeMs
43689
- - errors
43690
- - warnings
43691
- - tmpTables
43692
- - tmpDiskTables
43693
- - noIndexUsed
43694
- - noGoodIndexUsed
43695
- - database
43696
- properties:
43697
- queryID:
43698
- type: string
43699
- description: MySQL Performance Schema DIGEST value.
43700
- fingerprint:
43701
- type: string
43702
- description: Stable SQL fingerprint identifier. M1 uses DIGEST.
43703
- querySummary:
43704
- type: string
43705
- description: Normalized DIGEST_TEXT. Raw SQL text is intentionally not returned.
43706
- calls:
43707
- type: integer
43708
- format: int64
43709
- description: Number of executions accumulated in the current digest row.
43710
- totalTimeMs:
43711
- type: number
43712
- format: double
43713
- description: Total statement wait time in milliseconds.
43714
- meanTimeMs:
43715
- type: number
43716
- format: double
43717
- description: Mean statement wait time in milliseconds.
43718
- maxTimeMs:
43719
- type: number
43720
- format: double
43721
- description: Maximum statement wait time in milliseconds.
43722
- rows:
43723
- type: integer
43724
- format: int64
43725
- description: Sum of rows sent and rows affected.
43726
- rowsSent:
43727
- type: integer
43728
- format: int64
43729
- description: Total rows sent to clients.
43730
- rowsAffected:
43731
- type: integer
43732
- format: int64
43733
- description: Total rows affected by statements.
43734
- rowsExamined:
43735
- type: integer
43736
- format: int64
43737
- description: Total rows examined by statements.
43738
- lockTimeMs:
43739
- type: number
43740
- format: double
43741
- description: Total statement lock time in milliseconds.
43742
- errors:
43743
- type: integer
43744
- format: int64
43745
- description: Total statement errors.
43746
- warnings:
43747
- type: integer
43748
- format: int64
43749
- description: Total statement warnings.
43750
- tmpTables:
43751
- type: integer
43752
- format: int64
43753
- description: Total internal temporary tables created.
43754
- tmpDiskTables:
43755
- type: integer
43756
- format: int64
43757
- description: Total internal on-disk temporary tables created.
43758
- noIndexUsed:
43759
- type: integer
43760
- format: int64
43761
- description: Executions that used no index.
43762
- noGoodIndexUsed:
43763
- type: integer
43764
- format: int64
43765
- description: Executions for which no good index was found.
43766
- database:
43767
- type: string
43768
- description: Default schema name associated with the digest row.
43769
- firstSeen:
44520
+ database:
43770
44521
  type: string
43771
- description: UTC timestamp when the digest was first observed.
43772
- lastSeen:
44522
+ description: Database name resolved from pg_stat_statements.dbid when visible.
44523
+ user:
43773
44524
  type: string
43774
- description: UTC timestamp when the digest was most recently observed.
43775
- mysqlSQLAnalysis:
44525
+ description: Database user name resolved from pg_stat_statements.userid when visible.
44526
+ topLevel:
44527
+ type: boolean
44528
+ description: Whether pg_stat_statements recorded the statement as top-level. Legacy PostgreSQL versions without the toplevel column report true.
44529
+ postgresqlSQLAnalysis:
43776
44530
  type: object
43777
44531
  required:
43778
44532
  - source
@@ -43784,25 +44538,19 @@ components:
43784
44538
  properties:
43785
44539
  source:
43786
44540
  type: string
43787
- description: Data source. M1 uses performance_schema.events_statements_summary_by_digest.
44541
+ description: Data source. M1 uses pg_stat_statements only.
43788
44542
  status:
43789
44543
  type: string
43790
44544
  description: Source status. Expected values are available or unavailable.
43791
44545
  unavailableReason:
43792
44546
  type: string
43793
- description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
43794
- message:
44547
+ description: Reason when status is unavailable, such as extension_disabled, permission_denied, or query_failed.
44548
+ statsReset:
43795
44549
  type: string
43796
- description: User-facing recovery guidance when SQL analysis is unavailable.
44550
+ description: UTC timestamp reported by pg_stat_statements_info.stats_reset when available. Empty means the source did not expose this timestamp.
43797
44551
  collectedAt:
43798
44552
  type: string
43799
44553
  description: Backend collection timestamp in UTC. It is not a sampling-window end time.
43800
- firstSeen:
43801
- type: string
43802
- description: Earliest FIRST_SEEN timestamp across currently visible digest rows, when available.
43803
- lastSeen:
43804
- type: string
43805
- description: Latest LAST_SEEN timestamp across currently visible digest rows, when available.
43806
44554
  limit:
43807
44555
  type: integer
43808
44556
  format: int64
@@ -43814,204 +44562,66 @@ components:
43814
44562
  type: number
43815
44563
  format: double
43816
44564
  x-nullable: true
43817
- description: Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items.
44565
+ description: Total execution time in milliseconds across all visible pg_stat_statements rows, not limited to the returned top-N items. Present only when the source is available.
43818
44566
  callsAll:
43819
44567
  type: integer
43820
44568
  format: int64
43821
44569
  x-nullable: true
43822
- description: Total execution count across all visible digest rows, not limited to the returned top-N items.
43823
- digestLost:
43824
- type: integer
43825
- format: int64
43826
- x-nullable: true
43827
- description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
44570
+ description: Total execution count across all visible pg_stat_statements rows, not limited to the returned top-N items. Present only when the source is available.
43828
44571
  items:
43829
44572
  type: array
43830
- description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
43831
- items:
43832
- $ref: '#/components/schemas/mysqlSQLFingerprint'
43833
- performanceTrendRange:
43834
- type: object
43835
- required:
43836
- - label
43837
- - start
43838
- - end
43839
- - durationSeconds
43840
- properties:
43841
- label:
43842
- type: string
43843
- description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
43844
- start:
43845
- type: string
43846
- end:
43847
- type: string
43848
- durationSeconds:
43849
- type: integer
43850
- format: int64
43851
- performanceTrendSummary:
43852
- type: object
43853
- required:
43854
- - metric
43855
- - displayName
43856
- - category
43857
- - unit
43858
- - min
43859
- - max
43860
- - avg
43861
- - latest
43862
- properties:
43863
- metric:
43864
- type: string
43865
- displayName:
43866
- $ref: '#/components/schemas/localizedDescription'
43867
- category:
43868
- type: string
43869
- description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
43870
- dimension:
43871
- type: string
43872
- description: Optional series dimension. Values include cluster, instance, pvc, and database.
43873
- labels:
43874
- type: object
43875
- additionalProperties:
43876
- type: string
43877
- description: Optional dimension labels, for example instance, pvc, role, or datname.
43878
- unit:
43879
- type: string
43880
- warnThreshold:
43881
- type: number
43882
- format: double
43883
- description: Optional warning threshold in the same unit as this metric.
43884
- critThreshold:
43885
- type: number
43886
- format: double
43887
- description: Optional critical threshold in the same unit as this metric.
43888
- thresholdDirection:
43889
- type: string
43890
- description: Optional threshold direction. Values are above, below, or boolean.
43891
- min:
43892
- type: number
43893
- format: double
43894
- max:
43895
- type: number
43896
- format: double
43897
- avg:
43898
- type: number
43899
- format: double
43900
- latest:
43901
- type: number
43902
- format: double
43903
- changeDirection:
43904
- type: string
43905
- description: Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
43906
- performanceTrendPoint:
43907
- type: object
43908
- required:
43909
- - timestamp
43910
- - value
43911
- properties:
43912
- timestamp:
43913
- type: string
43914
- value:
43915
- type: number
43916
- format: double
43917
- performanceTrendSeries:
43918
- type: object
43919
- required:
43920
- - metric
43921
- - displayName
43922
- - category
43923
- - unit
43924
- - points
43925
- properties:
43926
- metric:
43927
- type: string
43928
- displayName:
43929
- $ref: '#/components/schemas/localizedDescription'
43930
- category:
43931
- type: string
43932
- description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
43933
- dimension:
43934
- type: string
43935
- description: Optional series dimension. Values include cluster, instance, pvc, and database.
43936
- labels:
43937
- type: object
43938
- additionalProperties:
43939
- type: string
43940
- description: Optional dimension labels, for example instance, pvc, role, or datname.
43941
- unit:
43942
- type: string
43943
- warnThreshold:
43944
- type: number
43945
- format: double
43946
- description: Optional warning threshold in the same unit as this metric.
43947
- critThreshold:
43948
- type: number
43949
- format: double
43950
- description: Optional critical threshold in the same unit as this metric.
43951
- thresholdDirection:
43952
- type: string
43953
- description: Optional threshold direction. Values are above, below, or boolean.
43954
- points:
43955
- type: array
44573
+ description: SQL fingerprint ranking rows from pg_stat_statements. The list may be empty when no statement statistics exist.
43956
44574
  items:
43957
- $ref: '#/components/schemas/performanceTrendPoint'
43958
- performanceTrendSource:
44575
+ $ref: '#/components/schemas/postgresqlSQLFingerprint'
44576
+ postgresqlSQLFingerprintExplainResponse:
43959
44577
  type: object
43960
44578
  required:
43961
- - name
43962
- - kind
43963
- - status
43964
- - collectedAt
44579
+ - queryID
44580
+ - fingerprint
44581
+ - database
44582
+ - user
44583
+ - topLevel
44584
+ - planMode
44585
+ - parameterized
44586
+ - explainResult
43965
44587
  properties:
43966
- name:
43967
- type: string
43968
- kind:
44588
+ queryID:
43969
44589
  type: string
43970
- status:
44590
+ description: PostgreSQL pg_stat_statements queryid represented as a string.
44591
+ fingerprint:
43971
44592
  type: string
43972
- description: Coarse source status. Values are success, partial, failed, skipped, or noData.
43973
- collectedAt:
44593
+ description: Stable SQL fingerprint identifier for UI grouping. Currently aligned with PostgreSQL pg_stat_statements queryid.
44594
+ database:
43974
44595
  type: string
43975
- message:
44596
+ description: Database name from the requested SQL fingerprint identity.
44597
+ user:
43976
44598
  type: string
43977
- performanceTrends:
43978
- type: object
43979
- required:
43980
- - range
43981
- - granularity
43982
- - summary
43983
- - series
43984
- - sources
43985
- - warnings
43986
- - collectedAt
43987
- properties:
43988
- range:
43989
- $ref: '#/components/schemas/performanceTrendRange'
43990
- granularity:
44599
+ description: Database user from the requested SQL fingerprint identity.
44600
+ topLevel:
44601
+ type: boolean
44602
+ description: Top-level flag from the requested SQL fingerprint identity.
44603
+ statementSource:
43991
44604
  type: string
43992
- description: Controlled backend query step.
43993
- summary:
43994
- type: array
43995
- description: Per-series numeric summary. changeDirection is present only when at least two points exist.
43996
- items:
43997
- $ref: '#/components/schemas/performanceTrendSummary'
43998
- series:
43999
- type: array
44000
- description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
44001
- items:
44002
- $ref: '#/components/schemas/performanceTrendSeries'
44003
- sources:
44004
- type: array
44005
- description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
44006
- items:
44007
- $ref: '#/components/schemas/performanceTrendSource'
44008
- warnings:
44009
- type: array
44010
- items:
44011
- type: string
44012
- collectedAt:
44605
+ description: Server-side source used to resolve the parameterized SQL statement. Raw SQL is not returned.
44606
+ statementResolvedAt:
44013
44607
  type: string
44014
- description: Backend collection timestamp in UTC.
44608
+ description: Timestamp when the parameterized SQL statement was resolved.
44609
+ planMode:
44610
+ $ref: '#/components/schemas/DmsExecutionPlanPlanningMode'
44611
+ description: Whether DMS produced a standard estimated plan or a generic parameterized estimated plan.
44612
+ parameterized:
44613
+ type: boolean
44614
+ description: Whether generic parameterized planning was used (planMode is generic). False means standard planning, not that historical parameter values were used. This endpoint never retrieves historical parameter values.
44615
+ x-omitempty: false
44616
+ parameterCount:
44617
+ type: integer
44618
+ format: int64
44619
+ nullable: true
44620
+ x-omitempty: true
44621
+ description: Number of parameters when DMS can determine it. It may be omitted for PostgreSQL generic-plan paths that do not expose the count.
44622
+ explainResult:
44623
+ $ref: '#/components/schemas/DmsExecutionPlanResult'
44624
+ description: Normalized DMS estimated visual plan. The resolved statement and generated EXPLAIN SQL are intentionally removed.
44015
44625
  elasticsearchHotThreadsType:
44016
44626
  type: string
44017
44627
  enum:
@@ -46673,6 +47283,15 @@ components:
46673
47283
  name: query
46674
47284
  schema:
46675
47285
  type: string
47286
+ dashboardConfigKey:
47287
+ in: path
47288
+ name: key
47289
+ required: true
47290
+ description: Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
47291
+ schema:
47292
+ type: string
47293
+ minLength: 1
47294
+ maxLength: 512
46676
47295
  x-tagGroups:
46677
47296
  - name: User
46678
47297
  tags: