kb-cloud-client-typescript 2.3.14 → 2.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/diagnostics-api.d.ts +564 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +566 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.js +26 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts +19 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts.map +1 -1
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts +79 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.js +16 -0
- package/dist/adminapi/models/elasticsearch-task.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/adminapi/models/environment-update.d.ts +6 -0
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +24 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +24 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts +6 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
- package/dist/adminapi/models/scheduling-config.d.ts +6 -0
- package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +564 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +566 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.js +26 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts +19 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts.map +1 -1
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/openapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/openapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.js +16 -0
- package/dist/openapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/openapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/openapi/models/elasticsearch-task.d.ts +79 -0
- package/dist/openapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task.js +16 -0
- package/dist/openapi/models/elasticsearch-task.js.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/openapi/models/index.d.ts +24 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +24 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
- package/dist/openapi/models/postgresql-sqlfingerprint.d.ts +6 -0
- package/dist/openapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +24 -0
- package/src/adminapi/apis/diagnostics-api.ts +1029 -40
- package/src/adminapi/models/dms-execution-plan-planning-mode.ts +31 -0
- package/src/adminapi/models/dms-execution-plan-result.ts +21 -0
- package/src/adminapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/adminapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/adminapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/adminapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/adminapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/adminapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/adminapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/adminapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/adminapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/adminapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/adminapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/adminapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/adminapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/adminapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/adminapi/models/elasticsearch-shard.ts +78 -0
- package/src/adminapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/adminapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/adminapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/adminapi/models/elasticsearch-task.ts +84 -0
- package/src/adminapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/adminapi/models/environment-update.ts +6 -0
- package/src/adminapi/models/index.ts +24 -0
- package/src/adminapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
- package/src/adminapi/models/postgresql-sqlfingerprint.ts +6 -0
- package/src/adminapi/models/scheduling-config.ts +6 -0
- package/src/adminapi.yaml +1056 -117
- package/src/openapi/.openapi-generator/FILES +24 -0
- package/src/openapi/apis/diagnostics-api.ts +1029 -40
- package/src/openapi/models/dms-execution-plan-planning-mode.ts +31 -0
- package/src/openapi/models/dms-execution-plan-result.ts +21 -0
- package/src/openapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/openapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/openapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/openapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/openapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/openapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/openapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/openapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/openapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/openapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/openapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/openapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/openapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/openapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/openapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/openapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/openapi/models/elasticsearch-shard.ts +78 -0
- package/src/openapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/openapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/openapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/openapi/models/elasticsearch-task.ts +84 -0
- package/src/openapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/openapi/models/index.ts +24 -0
- package/src/openapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
- package/src/openapi/models/postgresql-sqlfingerprint.ts +6 -0
- package/src/openapi.yaml +1829 -903
package/src/openapi.yaml
CHANGED
|
@@ -5304,6 +5304,83 @@ paths:
|
|
|
5304
5304
|
$ref: '#/components/responses/404'
|
|
5305
5305
|
'500':
|
|
5306
5306
|
$ref: '#/components/responses/500'
|
|
5307
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sqlAnalysis/queries/{queryID}/explain:
|
|
5308
|
+
post:
|
|
5309
|
+
tags:
|
|
5310
|
+
- diagnostics
|
|
5311
|
+
summary: Explain PostgreSQL SQL fingerprint
|
|
5312
|
+
description: Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
|
|
5313
|
+
operationId: explainDiagnosticsPostgresqlSQLFingerprint
|
|
5314
|
+
parameters:
|
|
5315
|
+
- name: orgName
|
|
5316
|
+
in: path
|
|
5317
|
+
description: Organization name
|
|
5318
|
+
required: true
|
|
5319
|
+
schema:
|
|
5320
|
+
type: string
|
|
5321
|
+
- name: clusterName
|
|
5322
|
+
in: path
|
|
5323
|
+
description: Cluster name
|
|
5324
|
+
required: true
|
|
5325
|
+
schema:
|
|
5326
|
+
type: string
|
|
5327
|
+
- name: queryID
|
|
5328
|
+
in: path
|
|
5329
|
+
description: PostgreSQL pg_stat_statements queryid represented as a string.
|
|
5330
|
+
required: true
|
|
5331
|
+
schema:
|
|
5332
|
+
type: string
|
|
5333
|
+
- name: database
|
|
5334
|
+
in: query
|
|
5335
|
+
description: Database name from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
|
|
5336
|
+
required: true
|
|
5337
|
+
allowEmptyValue: true
|
|
5338
|
+
schema:
|
|
5339
|
+
type: string
|
|
5340
|
+
- name: user
|
|
5341
|
+
in: query
|
|
5342
|
+
description: Database user from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
|
|
5343
|
+
required: true
|
|
5344
|
+
allowEmptyValue: true
|
|
5345
|
+
schema:
|
|
5346
|
+
type: string
|
|
5347
|
+
- name: topLevel
|
|
5348
|
+
in: query
|
|
5349
|
+
description: Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
|
|
5350
|
+
required: true
|
|
5351
|
+
schema:
|
|
5352
|
+
type: boolean
|
|
5353
|
+
- name: fingerprint
|
|
5354
|
+
in: query
|
|
5355
|
+
description: Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
|
|
5356
|
+
required: false
|
|
5357
|
+
schema:
|
|
5358
|
+
type: string
|
|
5359
|
+
responses:
|
|
5360
|
+
'200':
|
|
5361
|
+
description: OK
|
|
5362
|
+
content:
|
|
5363
|
+
application/json:
|
|
5364
|
+
schema:
|
|
5365
|
+
$ref: '#/components/schemas/postgresqlSQLFingerprintExplainResponse'
|
|
5366
|
+
'400':
|
|
5367
|
+
$ref: '#/components/responses/400'
|
|
5368
|
+
'401':
|
|
5369
|
+
$ref: '#/components/responses/401'
|
|
5370
|
+
'403':
|
|
5371
|
+
$ref: '#/components/responses/403'
|
|
5372
|
+
'404':
|
|
5373
|
+
$ref: '#/components/responses/404'
|
|
5374
|
+
'422':
|
|
5375
|
+
description: Unprocessable Entity
|
|
5376
|
+
content:
|
|
5377
|
+
application/json:
|
|
5378
|
+
schema:
|
|
5379
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
|
5380
|
+
'500':
|
|
5381
|
+
$ref: '#/components/responses/500'
|
|
5382
|
+
'503':
|
|
5383
|
+
$ref: '#/components/responses/503'
|
|
5307
5384
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/sqlAnalysis:
|
|
5308
5385
|
get:
|
|
5309
5386
|
tags:
|
|
@@ -5448,150 +5525,157 @@ paths:
|
|
|
5448
5525
|
$ref: '#/components/responses/403'
|
|
5449
5526
|
'500':
|
|
5450
5527
|
$ref: '#/components/responses/500'
|
|
5451
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5528
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/taskAnalysis:
|
|
5452
5529
|
get:
|
|
5453
5530
|
tags:
|
|
5454
5531
|
- diagnostics
|
|
5455
|
-
summary: Get
|
|
5456
|
-
|
|
5457
|
-
operationId: getDiagnosticsPostgresqlSessionLockAnalysis
|
|
5532
|
+
summary: Get Elasticsearch task and hot-thread analysis
|
|
5533
|
+
operationId: getDiagnosticsElasticsearchTaskAnalysis
|
|
5458
5534
|
parameters:
|
|
5459
5535
|
- name: orgName
|
|
5460
5536
|
in: path
|
|
5461
|
-
description: Organization name
|
|
5462
5537
|
required: true
|
|
5463
5538
|
schema:
|
|
5464
5539
|
type: string
|
|
5465
5540
|
- name: clusterName
|
|
5466
5541
|
in: path
|
|
5467
|
-
description: Cluster name
|
|
5468
5542
|
required: true
|
|
5469
5543
|
schema:
|
|
5470
5544
|
type: string
|
|
5471
|
-
- name:
|
|
5472
|
-
in:
|
|
5473
|
-
|
|
5474
|
-
|
|
5545
|
+
- name: type
|
|
5546
|
+
in: query
|
|
5547
|
+
required: false
|
|
5548
|
+
schema:
|
|
5549
|
+
$ref: '#/components/schemas/elasticsearchHotThreadsType'
|
|
5550
|
+
- name: node
|
|
5551
|
+
in: query
|
|
5552
|
+
required: false
|
|
5553
|
+
schema:
|
|
5554
|
+
type: string
|
|
5555
|
+
- name: taskLimit
|
|
5556
|
+
in: query
|
|
5557
|
+
required: false
|
|
5475
5558
|
schema:
|
|
5476
5559
|
type: integer
|
|
5477
|
-
format: int64
|
|
5478
5560
|
minimum: 1
|
|
5561
|
+
maximum: 100
|
|
5562
|
+
default: 20
|
|
5563
|
+
- name: threads
|
|
5564
|
+
in: query
|
|
5565
|
+
required: false
|
|
5566
|
+
schema:
|
|
5567
|
+
type: integer
|
|
5568
|
+
minimum: 1
|
|
5569
|
+
maximum: 10
|
|
5570
|
+
default: 3
|
|
5479
5571
|
responses:
|
|
5480
5572
|
'200':
|
|
5481
5573
|
description: OK
|
|
5482
5574
|
content:
|
|
5483
5575
|
application/json:
|
|
5484
5576
|
schema:
|
|
5485
|
-
$ref: '#/components/schemas/
|
|
5577
|
+
$ref: '#/components/schemas/elasticsearchTaskAnalysis'
|
|
5578
|
+
'400':
|
|
5579
|
+
$ref: '#/components/responses/400'
|
|
5486
5580
|
'401':
|
|
5487
5581
|
$ref: '#/components/responses/401'
|
|
5488
5582
|
'403':
|
|
5489
5583
|
$ref: '#/components/responses/403'
|
|
5490
|
-
'404':
|
|
5491
|
-
$ref: '#/components/responses/404'
|
|
5492
5584
|
'500':
|
|
5493
5585
|
$ref: '#/components/responses/500'
|
|
5494
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5586
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/storageAnalysis:
|
|
5495
5587
|
get:
|
|
5496
5588
|
tags:
|
|
5497
5589
|
- diagnostics
|
|
5498
|
-
summary: Get
|
|
5499
|
-
|
|
5500
|
-
operationId: getDiagnosticsPostgresqlSession
|
|
5590
|
+
summary: Get Elasticsearch storage and index analysis
|
|
5591
|
+
operationId: getDiagnosticsElasticsearchStorageAnalysis
|
|
5501
5592
|
parameters:
|
|
5502
5593
|
- name: orgName
|
|
5503
5594
|
in: path
|
|
5504
|
-
description: Organization name
|
|
5505
5595
|
required: true
|
|
5506
5596
|
schema:
|
|
5507
5597
|
type: string
|
|
5508
5598
|
- name: clusterName
|
|
5509
5599
|
in: path
|
|
5510
|
-
description: Cluster name
|
|
5511
5600
|
required: true
|
|
5512
5601
|
schema:
|
|
5513
5602
|
type: string
|
|
5514
|
-
- name:
|
|
5515
|
-
in:
|
|
5516
|
-
|
|
5517
|
-
required: true
|
|
5603
|
+
- name: node
|
|
5604
|
+
in: query
|
|
5605
|
+
required: false
|
|
5518
5606
|
schema:
|
|
5519
|
-
type:
|
|
5520
|
-
|
|
5521
|
-
|
|
5607
|
+
type: string
|
|
5608
|
+
- name: index
|
|
5609
|
+
in: query
|
|
5610
|
+
required: false
|
|
5611
|
+
schema:
|
|
5612
|
+
type: string
|
|
5613
|
+
- name: sortBy
|
|
5614
|
+
in: query
|
|
5615
|
+
required: false
|
|
5616
|
+
schema:
|
|
5617
|
+
$ref: '#/components/schemas/elasticsearchIndexSortBy'
|
|
5618
|
+
- name: sortOrder
|
|
5619
|
+
in: query
|
|
5620
|
+
required: false
|
|
5621
|
+
schema:
|
|
5622
|
+
$ref: '#/components/schemas/elasticsearchSortOrder'
|
|
5522
5623
|
responses:
|
|
5523
5624
|
'200':
|
|
5524
5625
|
description: OK
|
|
5525
5626
|
content:
|
|
5526
5627
|
application/json:
|
|
5527
5628
|
schema:
|
|
5528
|
-
$ref: '#/components/schemas/
|
|
5629
|
+
$ref: '#/components/schemas/elasticsearchStorageAnalysis'
|
|
5630
|
+
'400':
|
|
5631
|
+
$ref: '#/components/responses/400'
|
|
5529
5632
|
'401':
|
|
5530
5633
|
$ref: '#/components/responses/401'
|
|
5531
5634
|
'403':
|
|
5532
5635
|
$ref: '#/components/responses/403'
|
|
5533
|
-
'404':
|
|
5534
|
-
$ref: '#/components/responses/404'
|
|
5535
5636
|
'500':
|
|
5536
5637
|
$ref: '#/components/responses/500'
|
|
5537
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5638
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/shards:
|
|
5538
5639
|
get:
|
|
5539
5640
|
tags:
|
|
5540
5641
|
- diagnostics
|
|
5541
|
-
summary:
|
|
5542
|
-
|
|
5543
|
-
operationId: getDiagnosticsDamengSpaceAnalysis
|
|
5642
|
+
summary: List Elasticsearch shards
|
|
5643
|
+
operationId: listDiagnosticsElasticsearchShards
|
|
5544
5644
|
parameters:
|
|
5545
5645
|
- name: orgName
|
|
5546
5646
|
in: path
|
|
5547
|
-
description: Organization name
|
|
5548
5647
|
required: true
|
|
5549
5648
|
schema:
|
|
5550
5649
|
type: string
|
|
5551
5650
|
- name: clusterName
|
|
5552
5651
|
in: path
|
|
5553
|
-
description: Cluster name
|
|
5554
5652
|
required: true
|
|
5555
5653
|
schema:
|
|
5556
5654
|
type: string
|
|
5557
|
-
- name:
|
|
5558
|
-
in: query
|
|
5559
|
-
description: Maximum number of top tables to return (0 or omitted = not collected)
|
|
5560
|
-
required: false
|
|
5561
|
-
schema:
|
|
5562
|
-
type: integer
|
|
5563
|
-
format: int64
|
|
5564
|
-
minimum: 0
|
|
5565
|
-
default: 0
|
|
5566
|
-
- name: indexLimit
|
|
5655
|
+
- name: index
|
|
5567
5656
|
in: query
|
|
5568
|
-
description: Maximum number of top indexes to return (0 or omitted = not collected)
|
|
5569
5657
|
required: false
|
|
5658
|
+
description: Index name or pattern
|
|
5570
5659
|
schema:
|
|
5571
|
-
type:
|
|
5572
|
-
|
|
5573
|
-
minimum: 0
|
|
5574
|
-
default: 0
|
|
5575
|
-
- name: schema
|
|
5660
|
+
type: string
|
|
5661
|
+
- name: node
|
|
5576
5662
|
in: query
|
|
5577
|
-
description: Filter tables and indexes by schema (owner). Omit or empty = all schemas.
|
|
5578
5663
|
required: false
|
|
5664
|
+
description: Exact node ID or name
|
|
5579
5665
|
schema:
|
|
5580
5666
|
type: string
|
|
5581
|
-
- name:
|
|
5667
|
+
- name: state
|
|
5582
5668
|
in: query
|
|
5583
|
-
description: Set to true to skip tablespace and schema queries, returning only tables and indexes.
|
|
5584
5669
|
required: false
|
|
5585
5670
|
schema:
|
|
5586
|
-
|
|
5587
|
-
default: false
|
|
5671
|
+
$ref: '#/components/schemas/elasticsearchShardState'
|
|
5588
5672
|
responses:
|
|
5589
5673
|
'200':
|
|
5590
5674
|
description: OK
|
|
5591
5675
|
content:
|
|
5592
5676
|
application/json:
|
|
5593
5677
|
schema:
|
|
5594
|
-
$ref: '#/components/schemas/
|
|
5678
|
+
$ref: '#/components/schemas/elasticsearchShardList'
|
|
5595
5679
|
'400':
|
|
5596
5680
|
$ref: '#/components/responses/400'
|
|
5597
5681
|
'401':
|
|
@@ -5602,40 +5686,42 @@ paths:
|
|
|
5602
5686
|
$ref: '#/components/responses/404'
|
|
5603
5687
|
'500':
|
|
5604
5688
|
$ref: '#/components/responses/500'
|
|
5605
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5689
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/recoveries:
|
|
5606
5690
|
get:
|
|
5607
5691
|
tags:
|
|
5608
5692
|
- diagnostics
|
|
5609
|
-
summary:
|
|
5610
|
-
|
|
5611
|
-
operationId: getDiagnosticsDamengSQLAnalysis
|
|
5693
|
+
summary: List active Elasticsearch shard recoveries
|
|
5694
|
+
operationId: listDiagnosticsElasticsearchRecoveries
|
|
5612
5695
|
parameters:
|
|
5613
5696
|
- name: orgName
|
|
5614
5697
|
in: path
|
|
5615
|
-
description: Organization name
|
|
5616
5698
|
required: true
|
|
5617
5699
|
schema:
|
|
5618
5700
|
type: string
|
|
5619
5701
|
- name: clusterName
|
|
5620
5702
|
in: path
|
|
5621
|
-
description: Cluster name
|
|
5622
5703
|
required: true
|
|
5623
5704
|
schema:
|
|
5624
5705
|
type: string
|
|
5625
|
-
- name:
|
|
5706
|
+
- name: index
|
|
5626
5707
|
in: query
|
|
5627
|
-
description: Maximum number of SQL entries per category. Defaults to 20.
|
|
5628
5708
|
required: false
|
|
5709
|
+
description: Index name or pattern
|
|
5629
5710
|
schema:
|
|
5630
|
-
type:
|
|
5631
|
-
|
|
5711
|
+
type: string
|
|
5712
|
+
- name: node
|
|
5713
|
+
in: query
|
|
5714
|
+
required: false
|
|
5715
|
+
description: Exact target node ID or name
|
|
5716
|
+
schema:
|
|
5717
|
+
type: string
|
|
5632
5718
|
responses:
|
|
5633
5719
|
'200':
|
|
5634
5720
|
description: OK
|
|
5635
5721
|
content:
|
|
5636
5722
|
application/json:
|
|
5637
5723
|
schema:
|
|
5638
|
-
$ref: '#/components/schemas/
|
|
5724
|
+
$ref: '#/components/schemas/elasticsearchRecoveryList'
|
|
5639
5725
|
'400':
|
|
5640
5726
|
$ref: '#/components/responses/400'
|
|
5641
5727
|
'401':
|
|
@@ -5646,40 +5732,53 @@ paths:
|
|
|
5646
5732
|
$ref: '#/components/responses/404'
|
|
5647
5733
|
'500':
|
|
5648
5734
|
$ref: '#/components/responses/500'
|
|
5649
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5735
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/allocationExplain:
|
|
5650
5736
|
get:
|
|
5651
5737
|
tags:
|
|
5652
5738
|
- diagnostics
|
|
5653
|
-
summary:
|
|
5654
|
-
|
|
5655
|
-
operationId: getDiagnosticsDamengSessionLockAnalysis
|
|
5739
|
+
summary: Explain Elasticsearch shard allocation
|
|
5740
|
+
operationId: explainDiagnosticsElasticsearchAllocation
|
|
5656
5741
|
parameters:
|
|
5657
5742
|
- name: orgName
|
|
5658
5743
|
in: path
|
|
5659
|
-
description: Organization name
|
|
5660
5744
|
required: true
|
|
5661
5745
|
schema:
|
|
5662
5746
|
type: string
|
|
5663
5747
|
- name: clusterName
|
|
5664
5748
|
in: path
|
|
5665
|
-
description: Cluster name
|
|
5666
5749
|
required: true
|
|
5667
5750
|
schema:
|
|
5668
5751
|
type: string
|
|
5669
|
-
- name:
|
|
5670
|
-
in:
|
|
5671
|
-
|
|
5752
|
+
- name: index
|
|
5753
|
+
in: query
|
|
5754
|
+
required: true
|
|
5755
|
+
schema:
|
|
5756
|
+
type: string
|
|
5757
|
+
minLength: 1
|
|
5758
|
+
- name: shard
|
|
5759
|
+
in: query
|
|
5672
5760
|
required: true
|
|
5673
5761
|
schema:
|
|
5674
5762
|
type: integer
|
|
5675
5763
|
format: int64
|
|
5764
|
+
minimum: 0
|
|
5765
|
+
- name: primary
|
|
5766
|
+
in: query
|
|
5767
|
+
required: true
|
|
5768
|
+
schema:
|
|
5769
|
+
type: boolean
|
|
5770
|
+
- name: currentNode
|
|
5771
|
+
in: query
|
|
5772
|
+
required: false
|
|
5773
|
+
schema:
|
|
5774
|
+
type: string
|
|
5676
5775
|
responses:
|
|
5677
5776
|
'200':
|
|
5678
5777
|
description: OK
|
|
5679
5778
|
content:
|
|
5680
5779
|
application/json:
|
|
5681
5780
|
schema:
|
|
5682
|
-
$ref: '#/components/schemas/
|
|
5781
|
+
$ref: '#/components/schemas/elasticsearchAllocationExplanation'
|
|
5683
5782
|
'400':
|
|
5684
5783
|
$ref: '#/components/responses/400'
|
|
5685
5784
|
'401':
|
|
@@ -5690,13 +5789,13 @@ paths:
|
|
|
5690
5789
|
$ref: '#/components/responses/404'
|
|
5691
5790
|
'500':
|
|
5692
5791
|
$ref: '#/components/responses/500'
|
|
5693
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5792
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}/lockAnalysis:
|
|
5694
5793
|
get:
|
|
5695
5794
|
tags:
|
|
5696
5795
|
- diagnostics
|
|
5697
|
-
summary: Get
|
|
5698
|
-
description: Get
|
|
5699
|
-
operationId:
|
|
5796
|
+
summary: Get PostgreSQL session lock analysis
|
|
5797
|
+
description: Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
5798
|
+
operationId: getDiagnosticsPostgresqlSessionLockAnalysis
|
|
5700
5799
|
parameters:
|
|
5701
5800
|
- name: orgName
|
|
5702
5801
|
in: path
|
|
@@ -5710,22 +5809,21 @@ paths:
|
|
|
5710
5809
|
required: true
|
|
5711
5810
|
schema:
|
|
5712
5811
|
type: string
|
|
5713
|
-
- name:
|
|
5812
|
+
- name: pid
|
|
5714
5813
|
in: path
|
|
5715
|
-
description:
|
|
5814
|
+
description: PostgreSQL backend process id.
|
|
5716
5815
|
required: true
|
|
5717
5816
|
schema:
|
|
5718
5817
|
type: integer
|
|
5719
5818
|
format: int64
|
|
5819
|
+
minimum: 1
|
|
5720
5820
|
responses:
|
|
5721
5821
|
'200':
|
|
5722
5822
|
description: OK
|
|
5723
5823
|
content:
|
|
5724
5824
|
application/json:
|
|
5725
5825
|
schema:
|
|
5726
|
-
$ref: '#/components/schemas/
|
|
5727
|
-
'400':
|
|
5728
|
-
$ref: '#/components/responses/400'
|
|
5826
|
+
$ref: '#/components/schemas/postgresqlLockAnalysis'
|
|
5729
5827
|
'401':
|
|
5730
5828
|
$ref: '#/components/responses/401'
|
|
5731
5829
|
'403':
|
|
@@ -5734,13 +5832,13 @@ paths:
|
|
|
5734
5832
|
$ref: '#/components/responses/404'
|
|
5735
5833
|
'500':
|
|
5736
5834
|
$ref: '#/components/responses/500'
|
|
5737
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5835
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}:
|
|
5738
5836
|
get:
|
|
5739
5837
|
tags:
|
|
5740
5838
|
- diagnostics
|
|
5741
|
-
summary:
|
|
5742
|
-
description:
|
|
5743
|
-
operationId:
|
|
5839
|
+
summary: Get PostgreSQL session basic diagnostics
|
|
5840
|
+
description: Get one PostgreSQL session basic diagnostics record by backend pid.
|
|
5841
|
+
operationId: getDiagnosticsPostgresqlSession
|
|
5744
5842
|
parameters:
|
|
5745
5843
|
- name: orgName
|
|
5746
5844
|
in: path
|
|
@@ -5754,30 +5852,21 @@ paths:
|
|
|
5754
5852
|
required: true
|
|
5755
5853
|
schema:
|
|
5756
5854
|
type: string
|
|
5757
|
-
- name:
|
|
5758
|
-
in:
|
|
5759
|
-
description:
|
|
5760
|
-
required:
|
|
5855
|
+
- name: pid
|
|
5856
|
+
in: path
|
|
5857
|
+
description: PostgreSQL backend process id.
|
|
5858
|
+
required: true
|
|
5761
5859
|
schema:
|
|
5762
5860
|
type: integer
|
|
5763
5861
|
format: int64
|
|
5764
|
-
|
|
5765
|
-
in: query
|
|
5766
|
-
description: Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
|
|
5767
|
-
required: false
|
|
5768
|
-
schema:
|
|
5769
|
-
type: string
|
|
5862
|
+
minimum: 1
|
|
5770
5863
|
responses:
|
|
5771
5864
|
'200':
|
|
5772
5865
|
description: OK
|
|
5773
5866
|
content:
|
|
5774
5867
|
application/json:
|
|
5775
5868
|
schema:
|
|
5776
|
-
|
|
5777
|
-
items:
|
|
5778
|
-
$ref: '#/components/schemas/damengSessionListItem'
|
|
5779
|
-
'400':
|
|
5780
|
-
$ref: '#/components/responses/400'
|
|
5869
|
+
$ref: '#/components/schemas/postgresqlSession'
|
|
5781
5870
|
'401':
|
|
5782
5871
|
$ref: '#/components/responses/401'
|
|
5783
5872
|
'403':
|
|
@@ -5786,35 +5875,287 @@ paths:
|
|
|
5786
5875
|
$ref: '#/components/responses/404'
|
|
5787
5876
|
'500':
|
|
5788
5877
|
$ref: '#/components/responses/500'
|
|
5789
|
-
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/
|
|
5878
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/spaceAnalysis:
|
|
5790
5879
|
get:
|
|
5791
5880
|
tags:
|
|
5792
5881
|
- diagnostics
|
|
5793
|
-
summary:
|
|
5794
|
-
|
|
5882
|
+
summary: Get Dameng space analysis
|
|
5883
|
+
description: Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
|
|
5884
|
+
operationId: getDiagnosticsDamengSpaceAnalysis
|
|
5795
5885
|
parameters:
|
|
5796
5886
|
- name: orgName
|
|
5797
5887
|
in: path
|
|
5888
|
+
description: Organization name
|
|
5798
5889
|
required: true
|
|
5799
5890
|
schema:
|
|
5800
5891
|
type: string
|
|
5801
5892
|
- name: clusterName
|
|
5802
5893
|
in: path
|
|
5894
|
+
description: Cluster name
|
|
5803
5895
|
required: true
|
|
5804
5896
|
schema:
|
|
5805
5897
|
type: string
|
|
5806
|
-
- name:
|
|
5898
|
+
- name: tableLimit
|
|
5807
5899
|
in: query
|
|
5808
|
-
description: Maximum number of
|
|
5900
|
+
description: Maximum number of top tables to return (0 or omitted = not collected)
|
|
5809
5901
|
required: false
|
|
5810
5902
|
schema:
|
|
5811
5903
|
type: integer
|
|
5812
5904
|
format: int64
|
|
5813
|
-
minimum:
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
description:
|
|
5905
|
+
minimum: 0
|
|
5906
|
+
default: 0
|
|
5907
|
+
- name: indexLimit
|
|
5908
|
+
in: query
|
|
5909
|
+
description: Maximum number of top indexes to return (0 or omitted = not collected)
|
|
5910
|
+
required: false
|
|
5911
|
+
schema:
|
|
5912
|
+
type: integer
|
|
5913
|
+
format: int64
|
|
5914
|
+
minimum: 0
|
|
5915
|
+
default: 0
|
|
5916
|
+
- name: schema
|
|
5917
|
+
in: query
|
|
5918
|
+
description: Filter tables and indexes by schema (owner). Omit or empty = all schemas.
|
|
5919
|
+
required: false
|
|
5920
|
+
schema:
|
|
5921
|
+
type: string
|
|
5922
|
+
- name: skipBasic
|
|
5923
|
+
in: query
|
|
5924
|
+
description: Set to true to skip tablespace and schema queries, returning only tables and indexes.
|
|
5925
|
+
required: false
|
|
5926
|
+
schema:
|
|
5927
|
+
type: boolean
|
|
5928
|
+
default: false
|
|
5929
|
+
responses:
|
|
5930
|
+
'200':
|
|
5931
|
+
description: OK
|
|
5932
|
+
content:
|
|
5933
|
+
application/json:
|
|
5934
|
+
schema:
|
|
5935
|
+
$ref: '#/components/schemas/damengSpaceAnalysis'
|
|
5936
|
+
'400':
|
|
5937
|
+
$ref: '#/components/responses/400'
|
|
5938
|
+
'401':
|
|
5939
|
+
$ref: '#/components/responses/401'
|
|
5940
|
+
'403':
|
|
5941
|
+
$ref: '#/components/responses/403'
|
|
5942
|
+
'404':
|
|
5943
|
+
$ref: '#/components/responses/404'
|
|
5944
|
+
'500':
|
|
5945
|
+
$ref: '#/components/responses/500'
|
|
5946
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sqlAnalysis:
|
|
5947
|
+
get:
|
|
5948
|
+
tags:
|
|
5949
|
+
- diagnostics
|
|
5950
|
+
summary: Get Dameng SQL analysis
|
|
5951
|
+
description: Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
5952
|
+
operationId: getDiagnosticsDamengSQLAnalysis
|
|
5953
|
+
parameters:
|
|
5954
|
+
- name: orgName
|
|
5955
|
+
in: path
|
|
5956
|
+
description: Organization name
|
|
5957
|
+
required: true
|
|
5958
|
+
schema:
|
|
5959
|
+
type: string
|
|
5960
|
+
- name: clusterName
|
|
5961
|
+
in: path
|
|
5962
|
+
description: Cluster name
|
|
5963
|
+
required: true
|
|
5964
|
+
schema:
|
|
5965
|
+
type: string
|
|
5966
|
+
- name: limit
|
|
5967
|
+
in: query
|
|
5968
|
+
description: Maximum number of SQL entries per category. Defaults to 20.
|
|
5969
|
+
required: false
|
|
5970
|
+
schema:
|
|
5971
|
+
type: integer
|
|
5972
|
+
format: int64
|
|
5973
|
+
responses:
|
|
5974
|
+
'200':
|
|
5975
|
+
description: OK
|
|
5976
|
+
content:
|
|
5977
|
+
application/json:
|
|
5978
|
+
schema:
|
|
5979
|
+
$ref: '#/components/schemas/damengSQLAnalysis'
|
|
5980
|
+
'400':
|
|
5981
|
+
$ref: '#/components/responses/400'
|
|
5982
|
+
'401':
|
|
5983
|
+
$ref: '#/components/responses/401'
|
|
5984
|
+
'403':
|
|
5985
|
+
$ref: '#/components/responses/403'
|
|
5986
|
+
'404':
|
|
5987
|
+
$ref: '#/components/responses/404'
|
|
5988
|
+
'500':
|
|
5989
|
+
$ref: '#/components/responses/500'
|
|
5990
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions/{sessionId}/lockAnalysis:
|
|
5991
|
+
get:
|
|
5992
|
+
tags:
|
|
5993
|
+
- diagnostics
|
|
5994
|
+
summary: Get Dameng session lock analysis
|
|
5995
|
+
description: Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
|
|
5996
|
+
operationId: getDiagnosticsDamengSessionLockAnalysis
|
|
5997
|
+
parameters:
|
|
5998
|
+
- name: orgName
|
|
5999
|
+
in: path
|
|
6000
|
+
description: Organization name
|
|
6001
|
+
required: true
|
|
6002
|
+
schema:
|
|
6003
|
+
type: string
|
|
6004
|
+
- name: clusterName
|
|
6005
|
+
in: path
|
|
6006
|
+
description: Cluster name
|
|
6007
|
+
required: true
|
|
6008
|
+
schema:
|
|
6009
|
+
type: string
|
|
6010
|
+
- name: sessionId
|
|
6011
|
+
in: path
|
|
6012
|
+
description: Dameng session ID (SESS_ID)
|
|
6013
|
+
required: true
|
|
6014
|
+
schema:
|
|
6015
|
+
type: integer
|
|
6016
|
+
format: int64
|
|
6017
|
+
responses:
|
|
6018
|
+
'200':
|
|
6019
|
+
description: OK
|
|
6020
|
+
content:
|
|
6021
|
+
application/json:
|
|
6022
|
+
schema:
|
|
6023
|
+
$ref: '#/components/schemas/damengLockAnalysis'
|
|
6024
|
+
'400':
|
|
6025
|
+
$ref: '#/components/responses/400'
|
|
6026
|
+
'401':
|
|
6027
|
+
$ref: '#/components/responses/401'
|
|
6028
|
+
'403':
|
|
6029
|
+
$ref: '#/components/responses/403'
|
|
6030
|
+
'404':
|
|
6031
|
+
$ref: '#/components/responses/404'
|
|
6032
|
+
'500':
|
|
6033
|
+
$ref: '#/components/responses/500'
|
|
6034
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions/{sessionId}:
|
|
6035
|
+
get:
|
|
6036
|
+
tags:
|
|
6037
|
+
- diagnostics
|
|
6038
|
+
summary: Get Dameng session detail
|
|
6039
|
+
description: Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
|
|
6040
|
+
operationId: getDiagnosticsDamengSession
|
|
6041
|
+
parameters:
|
|
6042
|
+
- name: orgName
|
|
6043
|
+
in: path
|
|
6044
|
+
description: Organization name
|
|
6045
|
+
required: true
|
|
6046
|
+
schema:
|
|
6047
|
+
type: string
|
|
6048
|
+
- name: clusterName
|
|
6049
|
+
in: path
|
|
6050
|
+
description: Cluster name
|
|
6051
|
+
required: true
|
|
6052
|
+
schema:
|
|
6053
|
+
type: string
|
|
6054
|
+
- name: sessionId
|
|
6055
|
+
in: path
|
|
6056
|
+
description: Dameng session ID (SESS_ID)
|
|
6057
|
+
required: true
|
|
6058
|
+
schema:
|
|
6059
|
+
type: integer
|
|
6060
|
+
format: int64
|
|
6061
|
+
responses:
|
|
6062
|
+
'200':
|
|
6063
|
+
description: OK
|
|
6064
|
+
content:
|
|
6065
|
+
application/json:
|
|
6066
|
+
schema:
|
|
6067
|
+
$ref: '#/components/schemas/damengSessionDetail'
|
|
6068
|
+
'400':
|
|
6069
|
+
$ref: '#/components/responses/400'
|
|
6070
|
+
'401':
|
|
6071
|
+
$ref: '#/components/responses/401'
|
|
6072
|
+
'403':
|
|
6073
|
+
$ref: '#/components/responses/403'
|
|
6074
|
+
'404':
|
|
6075
|
+
$ref: '#/components/responses/404'
|
|
6076
|
+
'500':
|
|
6077
|
+
$ref: '#/components/responses/500'
|
|
6078
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions:
|
|
6079
|
+
get:
|
|
6080
|
+
tags:
|
|
6081
|
+
- diagnostics
|
|
6082
|
+
summary: List Dameng sessions
|
|
6083
|
+
description: List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
|
|
6084
|
+
operationId: listDiagnosticsDamengSessions
|
|
6085
|
+
parameters:
|
|
6086
|
+
- name: orgName
|
|
6087
|
+
in: path
|
|
6088
|
+
description: Organization name
|
|
6089
|
+
required: true
|
|
6090
|
+
schema:
|
|
6091
|
+
type: string
|
|
6092
|
+
- name: clusterName
|
|
6093
|
+
in: path
|
|
6094
|
+
description: Cluster name
|
|
6095
|
+
required: true
|
|
6096
|
+
schema:
|
|
6097
|
+
type: string
|
|
6098
|
+
- name: limit
|
|
6099
|
+
in: query
|
|
6100
|
+
description: Maximum number of sessions to return. Defaults to 200.
|
|
6101
|
+
required: false
|
|
6102
|
+
schema:
|
|
6103
|
+
type: integer
|
|
6104
|
+
format: int64
|
|
6105
|
+
- name: state
|
|
6106
|
+
in: query
|
|
6107
|
+
description: Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
|
|
6108
|
+
required: false
|
|
6109
|
+
schema:
|
|
6110
|
+
type: string
|
|
6111
|
+
responses:
|
|
6112
|
+
'200':
|
|
6113
|
+
description: OK
|
|
6114
|
+
content:
|
|
6115
|
+
application/json:
|
|
6116
|
+
schema:
|
|
6117
|
+
type: array
|
|
6118
|
+
items:
|
|
6119
|
+
$ref: '#/components/schemas/damengSessionListItem'
|
|
6120
|
+
'400':
|
|
6121
|
+
$ref: '#/components/responses/400'
|
|
6122
|
+
'401':
|
|
6123
|
+
$ref: '#/components/responses/401'
|
|
6124
|
+
'403':
|
|
6125
|
+
$ref: '#/components/responses/403'
|
|
6126
|
+
'404':
|
|
6127
|
+
$ref: '#/components/responses/404'
|
|
6128
|
+
'500':
|
|
6129
|
+
$ref: '#/components/responses/500'
|
|
6130
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions:
|
|
6131
|
+
get:
|
|
6132
|
+
tags:
|
|
6133
|
+
- diagnostics
|
|
6134
|
+
summary: List Kingbase session diagnostics
|
|
6135
|
+
operationId: listDiagnosticsKingbaseSessions
|
|
6136
|
+
parameters:
|
|
6137
|
+
- name: orgName
|
|
6138
|
+
in: path
|
|
6139
|
+
required: true
|
|
6140
|
+
schema:
|
|
6141
|
+
type: string
|
|
6142
|
+
- name: clusterName
|
|
6143
|
+
in: path
|
|
6144
|
+
required: true
|
|
6145
|
+
schema:
|
|
6146
|
+
type: string
|
|
6147
|
+
- name: limit
|
|
6148
|
+
in: query
|
|
6149
|
+
description: Maximum number of sessions to return. Defaults to 200.
|
|
6150
|
+
required: false
|
|
6151
|
+
schema:
|
|
6152
|
+
type: integer
|
|
6153
|
+
format: int64
|
|
6154
|
+
minimum: 1
|
|
6155
|
+
maximum: 200
|
|
6156
|
+
responses:
|
|
6157
|
+
'200':
|
|
6158
|
+
description: OK
|
|
5818
6159
|
content:
|
|
5819
6160
|
application/json:
|
|
5820
6161
|
schema:
|
|
@@ -26088,6 +26429,7 @@ components:
|
|
|
26088
26429
|
- rows
|
|
26089
26430
|
- database
|
|
26090
26431
|
- user
|
|
26432
|
+
- topLevel
|
|
26091
26433
|
properties:
|
|
26092
26434
|
queryID:
|
|
26093
26435
|
type: string
|
|
@@ -26124,6 +26466,9 @@ components:
|
|
|
26124
26466
|
user:
|
|
26125
26467
|
type: string
|
|
26126
26468
|
description: Database user name resolved from pg_stat_statements.userid when visible.
|
|
26469
|
+
topLevel:
|
|
26470
|
+
type: boolean
|
|
26471
|
+
description: Whether pg_stat_statements recorded the statement as top-level. Legacy PostgreSQL versions without the toplevel column report true.
|
|
26127
26472
|
postgresqlSQLAnalysis:
|
|
26128
26473
|
type: object
|
|
26129
26474
|
required:
|
|
@@ -26171,347 +26516,1252 @@ components:
|
|
|
26171
26516
|
description: SQL fingerprint ranking rows from pg_stat_statements. The list may be empty when no statement statistics exist.
|
|
26172
26517
|
items:
|
|
26173
26518
|
$ref: '#/components/schemas/postgresqlSQLFingerprint'
|
|
26174
|
-
|
|
26519
|
+
DmsExecutionPlanPlanningMode:
|
|
26520
|
+
type: string
|
|
26521
|
+
enum:
|
|
26522
|
+
- standard
|
|
26523
|
+
- generic
|
|
26524
|
+
DmsExecutionPlanMode:
|
|
26525
|
+
type: string
|
|
26526
|
+
enum:
|
|
26527
|
+
- estimate
|
|
26528
|
+
- analyze
|
|
26529
|
+
- actual
|
|
26530
|
+
- autotrace
|
|
26531
|
+
DmsExecutionPlanRawFormat:
|
|
26532
|
+
type: string
|
|
26533
|
+
enum:
|
|
26534
|
+
- json
|
|
26535
|
+
- xml
|
|
26536
|
+
- text
|
|
26537
|
+
- table
|
|
26538
|
+
DmsExecutionPlanNodeCategory:
|
|
26539
|
+
type: string
|
|
26540
|
+
enum:
|
|
26541
|
+
- result
|
|
26542
|
+
- sort
|
|
26543
|
+
- join
|
|
26544
|
+
- table_scan
|
|
26545
|
+
- index_scan
|
|
26546
|
+
- lookup
|
|
26547
|
+
- materialize
|
|
26548
|
+
- aggregate
|
|
26549
|
+
- exchange
|
|
26550
|
+
- modify
|
|
26551
|
+
- other
|
|
26552
|
+
DmsExecutionPlanNodeCost:
|
|
26553
|
+
type: object
|
|
26554
|
+
properties:
|
|
26555
|
+
startup:
|
|
26556
|
+
type: number
|
|
26557
|
+
format: double
|
|
26558
|
+
nullable: true
|
|
26559
|
+
x-omitempty: true
|
|
26560
|
+
total:
|
|
26561
|
+
type: number
|
|
26562
|
+
format: double
|
|
26563
|
+
nullable: true
|
|
26564
|
+
x-omitempty: true
|
|
26565
|
+
self:
|
|
26566
|
+
type: number
|
|
26567
|
+
format: double
|
|
26568
|
+
nullable: true
|
|
26569
|
+
x-omitempty: true
|
|
26570
|
+
percent:
|
|
26571
|
+
type: number
|
|
26572
|
+
format: double
|
|
26573
|
+
nullable: true
|
|
26574
|
+
x-omitempty: true
|
|
26575
|
+
DmsExecutionPlanNodeRows:
|
|
26576
|
+
type: object
|
|
26577
|
+
properties:
|
|
26578
|
+
estimated:
|
|
26579
|
+
type: number
|
|
26580
|
+
format: double
|
|
26581
|
+
nullable: true
|
|
26582
|
+
x-omitempty: true
|
|
26583
|
+
actual:
|
|
26584
|
+
type: number
|
|
26585
|
+
format: double
|
|
26586
|
+
nullable: true
|
|
26587
|
+
x-omitempty: true
|
|
26588
|
+
actualPerLoop:
|
|
26589
|
+
type: number
|
|
26590
|
+
format: double
|
|
26591
|
+
nullable: true
|
|
26592
|
+
x-omitempty: true
|
|
26593
|
+
removedByFilter:
|
|
26594
|
+
type: number
|
|
26595
|
+
format: double
|
|
26596
|
+
nullable: true
|
|
26597
|
+
x-omitempty: true
|
|
26598
|
+
mismatchRatio:
|
|
26599
|
+
type: number
|
|
26600
|
+
format: double
|
|
26601
|
+
nullable: true
|
|
26602
|
+
x-omitempty: true
|
|
26603
|
+
DmsExecutionPlanNodeTiming:
|
|
26604
|
+
type: object
|
|
26605
|
+
properties:
|
|
26606
|
+
startupMs:
|
|
26607
|
+
type: number
|
|
26608
|
+
format: double
|
|
26609
|
+
nullable: true
|
|
26610
|
+
x-omitempty: true
|
|
26611
|
+
totalMs:
|
|
26612
|
+
type: number
|
|
26613
|
+
format: double
|
|
26614
|
+
nullable: true
|
|
26615
|
+
x-omitempty: true
|
|
26616
|
+
selfMs:
|
|
26617
|
+
type: number
|
|
26618
|
+
format: double
|
|
26619
|
+
nullable: true
|
|
26620
|
+
x-omitempty: true
|
|
26621
|
+
loops:
|
|
26622
|
+
type: number
|
|
26623
|
+
format: double
|
|
26624
|
+
nullable: true
|
|
26625
|
+
x-omitempty: true
|
|
26626
|
+
DmsExecutionPlanNodeConditions:
|
|
26627
|
+
type: object
|
|
26628
|
+
properties:
|
|
26629
|
+
filter:
|
|
26630
|
+
type: string
|
|
26631
|
+
nullable: true
|
|
26632
|
+
x-omitempty: true
|
|
26633
|
+
indexCond:
|
|
26634
|
+
type: string
|
|
26635
|
+
nullable: true
|
|
26636
|
+
x-omitempty: true
|
|
26637
|
+
joinCond:
|
|
26638
|
+
type: string
|
|
26639
|
+
nullable: true
|
|
26640
|
+
x-omitempty: true
|
|
26641
|
+
hashCond:
|
|
26642
|
+
type: string
|
|
26643
|
+
nullable: true
|
|
26644
|
+
x-omitempty: true
|
|
26645
|
+
sortKey:
|
|
26646
|
+
type: array
|
|
26647
|
+
items:
|
|
26648
|
+
type: string
|
|
26649
|
+
DmsExecutionPlanNode:
|
|
26650
|
+
type: object
|
|
26651
|
+
properties:
|
|
26652
|
+
id:
|
|
26653
|
+
type: string
|
|
26654
|
+
parentIds:
|
|
26655
|
+
type: array
|
|
26656
|
+
items:
|
|
26657
|
+
type: string
|
|
26658
|
+
childIds:
|
|
26659
|
+
type: array
|
|
26660
|
+
items:
|
|
26661
|
+
type: string
|
|
26662
|
+
order:
|
|
26663
|
+
type: integer
|
|
26664
|
+
format: int64
|
|
26665
|
+
nullable: true
|
|
26666
|
+
x-omitempty: true
|
|
26667
|
+
category:
|
|
26668
|
+
$ref: '#/components/schemas/DmsExecutionPlanNodeCategory'
|
|
26669
|
+
nodeType:
|
|
26670
|
+
type: string
|
|
26671
|
+
label:
|
|
26672
|
+
type: string
|
|
26673
|
+
relationName:
|
|
26674
|
+
type: string
|
|
26675
|
+
nullable: true
|
|
26676
|
+
x-omitempty: true
|
|
26677
|
+
schemaName:
|
|
26678
|
+
type: string
|
|
26679
|
+
nullable: true
|
|
26680
|
+
x-omitempty: true
|
|
26681
|
+
alias:
|
|
26682
|
+
type: string
|
|
26683
|
+
nullable: true
|
|
26684
|
+
x-omitempty: true
|
|
26685
|
+
indexName:
|
|
26686
|
+
type: string
|
|
26687
|
+
nullable: true
|
|
26688
|
+
x-omitempty: true
|
|
26689
|
+
cost:
|
|
26690
|
+
$ref: '#/components/schemas/DmsExecutionPlanNodeCost'
|
|
26691
|
+
nullable: true
|
|
26692
|
+
x-omitempty: true
|
|
26693
|
+
rows:
|
|
26694
|
+
$ref: '#/components/schemas/DmsExecutionPlanNodeRows'
|
|
26695
|
+
nullable: true
|
|
26696
|
+
x-omitempty: true
|
|
26697
|
+
timing:
|
|
26698
|
+
$ref: '#/components/schemas/DmsExecutionPlanNodeTiming'
|
|
26699
|
+
nullable: true
|
|
26700
|
+
x-omitempty: true
|
|
26701
|
+
conditions:
|
|
26702
|
+
$ref: '#/components/schemas/DmsExecutionPlanNodeConditions'
|
|
26703
|
+
nullable: true
|
|
26704
|
+
x-omitempty: true
|
|
26705
|
+
details:
|
|
26706
|
+
type: object
|
|
26707
|
+
additionalProperties: true
|
|
26708
|
+
x-omitempty: true
|
|
26709
|
+
DmsExecutionPlanEdgeRows:
|
|
26710
|
+
type: object
|
|
26711
|
+
properties:
|
|
26712
|
+
estimated:
|
|
26713
|
+
type: number
|
|
26714
|
+
format: double
|
|
26715
|
+
nullable: true
|
|
26716
|
+
x-omitempty: true
|
|
26717
|
+
actual:
|
|
26718
|
+
type: number
|
|
26719
|
+
format: double
|
|
26720
|
+
nullable: true
|
|
26721
|
+
x-omitempty: true
|
|
26722
|
+
DmsExecutionPlanEdge:
|
|
26723
|
+
type: object
|
|
26724
|
+
properties:
|
|
26725
|
+
id:
|
|
26726
|
+
type: string
|
|
26727
|
+
source:
|
|
26728
|
+
type: string
|
|
26729
|
+
target:
|
|
26730
|
+
type: string
|
|
26731
|
+
rows:
|
|
26732
|
+
$ref: '#/components/schemas/DmsExecutionPlanEdgeRows'
|
|
26733
|
+
nullable: true
|
|
26734
|
+
x-omitempty: true
|
|
26735
|
+
widthWeight:
|
|
26736
|
+
type: number
|
|
26737
|
+
format: double
|
|
26738
|
+
nullable: true
|
|
26739
|
+
x-omitempty: true
|
|
26740
|
+
label:
|
|
26741
|
+
type: string
|
|
26742
|
+
nullable: true
|
|
26743
|
+
x-omitempty: true
|
|
26744
|
+
DmsExecutionPlanSummary:
|
|
26745
|
+
type: object
|
|
26746
|
+
properties:
|
|
26747
|
+
totalCost:
|
|
26748
|
+
type: number
|
|
26749
|
+
format: double
|
|
26750
|
+
nullable: true
|
|
26751
|
+
x-omitempty: true
|
|
26752
|
+
totalActualTimeMs:
|
|
26753
|
+
type: number
|
|
26754
|
+
format: double
|
|
26755
|
+
nullable: true
|
|
26756
|
+
x-omitempty: true
|
|
26757
|
+
planRows:
|
|
26758
|
+
type: number
|
|
26759
|
+
format: double
|
|
26760
|
+
nullable: true
|
|
26761
|
+
x-omitempty: true
|
|
26762
|
+
actualRows:
|
|
26763
|
+
type: number
|
|
26764
|
+
format: double
|
|
26765
|
+
nullable: true
|
|
26766
|
+
x-omitempty: true
|
|
26767
|
+
nodeCount:
|
|
26768
|
+
type: integer
|
|
26769
|
+
format: int64
|
|
26770
|
+
maxCostNodeId:
|
|
26771
|
+
type: string
|
|
26772
|
+
nullable: true
|
|
26773
|
+
x-omitempty: true
|
|
26774
|
+
maxRowsNodeId:
|
|
26775
|
+
type: string
|
|
26776
|
+
nullable: true
|
|
26777
|
+
x-omitempty: true
|
|
26778
|
+
maxTimeNodeId:
|
|
26779
|
+
type: string
|
|
26780
|
+
nullable: true
|
|
26781
|
+
x-omitempty: true
|
|
26782
|
+
DmsExecutionPlanWarningSeverity:
|
|
26783
|
+
type: string
|
|
26784
|
+
enum:
|
|
26785
|
+
- info
|
|
26786
|
+
- warning
|
|
26787
|
+
- critical
|
|
26788
|
+
DmsExecutionPlanWarning:
|
|
26789
|
+
type: object
|
|
26790
|
+
properties:
|
|
26791
|
+
code:
|
|
26792
|
+
type: string
|
|
26793
|
+
severity:
|
|
26794
|
+
$ref: '#/components/schemas/DmsExecutionPlanWarningSeverity'
|
|
26795
|
+
nodeId:
|
|
26796
|
+
type: string
|
|
26797
|
+
nullable: true
|
|
26798
|
+
x-omitempty: true
|
|
26799
|
+
message:
|
|
26800
|
+
type: string
|
|
26801
|
+
DmsExecutionPlanResult:
|
|
26802
|
+
type: object
|
|
26803
|
+
properties:
|
|
26804
|
+
originSQL:
|
|
26805
|
+
type: string
|
|
26806
|
+
explainSQL:
|
|
26807
|
+
type: string
|
|
26808
|
+
nullable: true
|
|
26809
|
+
x-omitempty: true
|
|
26810
|
+
engineType:
|
|
26811
|
+
type: string
|
|
26812
|
+
mode:
|
|
26813
|
+
$ref: '#/components/schemas/DmsExecutionPlanMode'
|
|
26814
|
+
planMode:
|
|
26815
|
+
$ref: '#/components/schemas/DmsExecutionPlanPlanningMode'
|
|
26816
|
+
parameterized:
|
|
26817
|
+
type: boolean
|
|
26818
|
+
x-omitempty: false
|
|
26819
|
+
parameterCount:
|
|
26820
|
+
type: integer
|
|
26821
|
+
format: int64
|
|
26822
|
+
nullable: true
|
|
26823
|
+
x-omitempty: true
|
|
26824
|
+
hasActualStats:
|
|
26825
|
+
type: boolean
|
|
26826
|
+
x-omitempty: false
|
|
26827
|
+
rawFormat:
|
|
26828
|
+
$ref: '#/components/schemas/DmsExecutionPlanRawFormat'
|
|
26829
|
+
rawPlan:
|
|
26830
|
+
type: object
|
|
26831
|
+
description: Engine-native raw plan payload exposed for fallback display. SDKs model it as a free-form JSON object.
|
|
26832
|
+
additionalProperties: true
|
|
26833
|
+
x-omitempty: true
|
|
26834
|
+
rootNodeIds:
|
|
26835
|
+
type: array
|
|
26836
|
+
items:
|
|
26837
|
+
type: string
|
|
26838
|
+
nodes:
|
|
26839
|
+
type: array
|
|
26840
|
+
items:
|
|
26841
|
+
$ref: '#/components/schemas/DmsExecutionPlanNode'
|
|
26842
|
+
edges:
|
|
26843
|
+
type: array
|
|
26844
|
+
items:
|
|
26845
|
+
$ref: '#/components/schemas/DmsExecutionPlanEdge'
|
|
26846
|
+
summary:
|
|
26847
|
+
$ref: '#/components/schemas/DmsExecutionPlanSummary'
|
|
26848
|
+
nullable: true
|
|
26849
|
+
x-omitempty: true
|
|
26850
|
+
warnings:
|
|
26851
|
+
type: array
|
|
26852
|
+
items:
|
|
26853
|
+
$ref: '#/components/schemas/DmsExecutionPlanWarning'
|
|
26854
|
+
fallbackTable:
|
|
26855
|
+
$ref: '#/components/schemas/DmsQueryResponse'
|
|
26856
|
+
nullable: true
|
|
26857
|
+
x-omitempty: true
|
|
26858
|
+
postgresqlSQLFingerprintExplainResponse:
|
|
26859
|
+
type: object
|
|
26860
|
+
required:
|
|
26861
|
+
- queryID
|
|
26862
|
+
- fingerprint
|
|
26863
|
+
- database
|
|
26864
|
+
- user
|
|
26865
|
+
- topLevel
|
|
26866
|
+
- planMode
|
|
26867
|
+
- parameterized
|
|
26868
|
+
- explainResult
|
|
26869
|
+
properties:
|
|
26870
|
+
queryID:
|
|
26871
|
+
type: string
|
|
26872
|
+
description: PostgreSQL pg_stat_statements queryid represented as a string.
|
|
26873
|
+
fingerprint:
|
|
26874
|
+
type: string
|
|
26875
|
+
description: Stable SQL fingerprint identifier for UI grouping. Currently aligned with PostgreSQL pg_stat_statements queryid.
|
|
26876
|
+
database:
|
|
26877
|
+
type: string
|
|
26878
|
+
description: Database name from the requested SQL fingerprint identity.
|
|
26879
|
+
user:
|
|
26880
|
+
type: string
|
|
26881
|
+
description: Database user from the requested SQL fingerprint identity.
|
|
26882
|
+
topLevel:
|
|
26883
|
+
type: boolean
|
|
26884
|
+
description: Top-level flag from the requested SQL fingerprint identity.
|
|
26885
|
+
statementSource:
|
|
26886
|
+
type: string
|
|
26887
|
+
description: Server-side source used to resolve the parameterized SQL statement. Raw SQL is not returned.
|
|
26888
|
+
statementResolvedAt:
|
|
26889
|
+
type: string
|
|
26890
|
+
description: Timestamp when the parameterized SQL statement was resolved.
|
|
26891
|
+
planMode:
|
|
26892
|
+
$ref: '#/components/schemas/DmsExecutionPlanPlanningMode'
|
|
26893
|
+
description: Whether DMS produced a standard estimated plan or a generic parameterized estimated plan.
|
|
26894
|
+
parameterized:
|
|
26895
|
+
type: boolean
|
|
26896
|
+
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.
|
|
26897
|
+
x-omitempty: false
|
|
26898
|
+
parameterCount:
|
|
26899
|
+
type: integer
|
|
26900
|
+
format: int64
|
|
26901
|
+
nullable: true
|
|
26902
|
+
x-omitempty: true
|
|
26903
|
+
description: Number of parameters when DMS can determine it. It may be omitted for PostgreSQL generic-plan paths that do not expose the count.
|
|
26904
|
+
explainResult:
|
|
26905
|
+
$ref: '#/components/schemas/DmsExecutionPlanResult'
|
|
26906
|
+
description: Normalized DMS estimated visual plan. The resolved statement and generated EXPLAIN SQL are intentionally removed.
|
|
26907
|
+
mysqlSQLFingerprint:
|
|
26908
|
+
type: object
|
|
26909
|
+
required:
|
|
26910
|
+
- queryID
|
|
26911
|
+
- fingerprint
|
|
26912
|
+
- querySummary
|
|
26913
|
+
- calls
|
|
26914
|
+
- totalTimeMs
|
|
26915
|
+
- meanTimeMs
|
|
26916
|
+
- maxTimeMs
|
|
26917
|
+
- rows
|
|
26918
|
+
- rowsSent
|
|
26919
|
+
- rowsAffected
|
|
26920
|
+
- rowsExamined
|
|
26921
|
+
- lockTimeMs
|
|
26922
|
+
- errors
|
|
26923
|
+
- warnings
|
|
26924
|
+
- tmpTables
|
|
26925
|
+
- tmpDiskTables
|
|
26926
|
+
- noIndexUsed
|
|
26927
|
+
- noGoodIndexUsed
|
|
26928
|
+
- database
|
|
26929
|
+
properties:
|
|
26930
|
+
queryID:
|
|
26931
|
+
type: string
|
|
26932
|
+
description: MySQL Performance Schema DIGEST value.
|
|
26933
|
+
fingerprint:
|
|
26934
|
+
type: string
|
|
26935
|
+
description: Stable SQL fingerprint identifier. M1 uses DIGEST.
|
|
26936
|
+
querySummary:
|
|
26937
|
+
type: string
|
|
26938
|
+
description: Normalized DIGEST_TEXT. Raw SQL text is intentionally not returned.
|
|
26939
|
+
calls:
|
|
26940
|
+
type: integer
|
|
26941
|
+
format: int64
|
|
26942
|
+
description: Number of executions accumulated in the current digest row.
|
|
26943
|
+
totalTimeMs:
|
|
26944
|
+
type: number
|
|
26945
|
+
format: double
|
|
26946
|
+
description: Total statement wait time in milliseconds.
|
|
26947
|
+
meanTimeMs:
|
|
26948
|
+
type: number
|
|
26949
|
+
format: double
|
|
26950
|
+
description: Mean statement wait time in milliseconds.
|
|
26951
|
+
maxTimeMs:
|
|
26952
|
+
type: number
|
|
26953
|
+
format: double
|
|
26954
|
+
description: Maximum statement wait time in milliseconds.
|
|
26955
|
+
rows:
|
|
26956
|
+
type: integer
|
|
26957
|
+
format: int64
|
|
26958
|
+
description: Sum of rows sent and rows affected.
|
|
26959
|
+
rowsSent:
|
|
26960
|
+
type: integer
|
|
26961
|
+
format: int64
|
|
26962
|
+
description: Total rows sent to clients.
|
|
26963
|
+
rowsAffected:
|
|
26964
|
+
type: integer
|
|
26965
|
+
format: int64
|
|
26966
|
+
description: Total rows affected by statements.
|
|
26967
|
+
rowsExamined:
|
|
26968
|
+
type: integer
|
|
26969
|
+
format: int64
|
|
26970
|
+
description: Total rows examined by statements.
|
|
26971
|
+
lockTimeMs:
|
|
26972
|
+
type: number
|
|
26973
|
+
format: double
|
|
26974
|
+
description: Total statement lock time in milliseconds.
|
|
26975
|
+
errors:
|
|
26976
|
+
type: integer
|
|
26977
|
+
format: int64
|
|
26978
|
+
description: Total statement errors.
|
|
26979
|
+
warnings:
|
|
26980
|
+
type: integer
|
|
26981
|
+
format: int64
|
|
26982
|
+
description: Total statement warnings.
|
|
26983
|
+
tmpTables:
|
|
26984
|
+
type: integer
|
|
26985
|
+
format: int64
|
|
26986
|
+
description: Total internal temporary tables created.
|
|
26987
|
+
tmpDiskTables:
|
|
26988
|
+
type: integer
|
|
26989
|
+
format: int64
|
|
26990
|
+
description: Total internal on-disk temporary tables created.
|
|
26991
|
+
noIndexUsed:
|
|
26992
|
+
type: integer
|
|
26993
|
+
format: int64
|
|
26994
|
+
description: Executions that used no index.
|
|
26995
|
+
noGoodIndexUsed:
|
|
26996
|
+
type: integer
|
|
26997
|
+
format: int64
|
|
26998
|
+
description: Executions for which no good index was found.
|
|
26999
|
+
database:
|
|
27000
|
+
type: string
|
|
27001
|
+
description: Default schema name associated with the digest row.
|
|
27002
|
+
firstSeen:
|
|
27003
|
+
type: string
|
|
27004
|
+
description: UTC timestamp when the digest was first observed.
|
|
27005
|
+
lastSeen:
|
|
27006
|
+
type: string
|
|
27007
|
+
description: UTC timestamp when the digest was most recently observed.
|
|
27008
|
+
mysqlSQLAnalysis:
|
|
27009
|
+
type: object
|
|
27010
|
+
required:
|
|
27011
|
+
- source
|
|
27012
|
+
- status
|
|
27013
|
+
- collectedAt
|
|
27014
|
+
- limit
|
|
27015
|
+
- orderBy
|
|
27016
|
+
- items
|
|
27017
|
+
properties:
|
|
27018
|
+
source:
|
|
27019
|
+
type: string
|
|
27020
|
+
description: Data source. M1 uses performance_schema.events_statements_summary_by_digest.
|
|
27021
|
+
status:
|
|
27022
|
+
type: string
|
|
27023
|
+
description: Source status. Expected values are available or unavailable.
|
|
27024
|
+
unavailableReason:
|
|
27025
|
+
type: string
|
|
27026
|
+
description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
|
|
27027
|
+
message:
|
|
27028
|
+
type: string
|
|
27029
|
+
description: User-facing recovery guidance when SQL analysis is unavailable.
|
|
27030
|
+
collectedAt:
|
|
27031
|
+
type: string
|
|
27032
|
+
description: Backend collection timestamp in UTC. It is not a sampling-window end time.
|
|
27033
|
+
firstSeen:
|
|
27034
|
+
type: string
|
|
27035
|
+
description: Earliest FIRST_SEEN timestamp across currently visible digest rows, when available.
|
|
27036
|
+
lastSeen:
|
|
27037
|
+
type: string
|
|
27038
|
+
description: Latest LAST_SEEN timestamp across currently visible digest rows, when available.
|
|
27039
|
+
limit:
|
|
27040
|
+
type: integer
|
|
27041
|
+
format: int64
|
|
27042
|
+
description: Effective row limit after backend normalization.
|
|
27043
|
+
orderBy:
|
|
27044
|
+
type: string
|
|
27045
|
+
description: Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls.
|
|
27046
|
+
totalTimeMsAll:
|
|
27047
|
+
type: number
|
|
27048
|
+
format: double
|
|
27049
|
+
x-nullable: true
|
|
27050
|
+
description: Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items.
|
|
27051
|
+
callsAll:
|
|
27052
|
+
type: integer
|
|
27053
|
+
format: int64
|
|
27054
|
+
x-nullable: true
|
|
27055
|
+
description: Total execution count across all visible digest rows, not limited to the returned top-N items.
|
|
27056
|
+
digestLost:
|
|
27057
|
+
type: integer
|
|
27058
|
+
format: int64
|
|
27059
|
+
x-nullable: true
|
|
27060
|
+
description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
|
|
27061
|
+
items:
|
|
27062
|
+
type: array
|
|
27063
|
+
description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
|
|
27064
|
+
items:
|
|
27065
|
+
$ref: '#/components/schemas/mysqlSQLFingerprint'
|
|
27066
|
+
performanceTrendRange:
|
|
27067
|
+
type: object
|
|
27068
|
+
required:
|
|
27069
|
+
- label
|
|
27070
|
+
- start
|
|
27071
|
+
- end
|
|
27072
|
+
- durationSeconds
|
|
27073
|
+
properties:
|
|
27074
|
+
label:
|
|
27075
|
+
type: string
|
|
27076
|
+
description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
|
|
27077
|
+
start:
|
|
27078
|
+
type: string
|
|
27079
|
+
end:
|
|
27080
|
+
type: string
|
|
27081
|
+
durationSeconds:
|
|
27082
|
+
type: integer
|
|
27083
|
+
format: int64
|
|
27084
|
+
performanceTrendSummary:
|
|
27085
|
+
type: object
|
|
27086
|
+
required:
|
|
27087
|
+
- metric
|
|
27088
|
+
- displayName
|
|
27089
|
+
- category
|
|
27090
|
+
- unit
|
|
27091
|
+
- min
|
|
27092
|
+
- max
|
|
27093
|
+
- avg
|
|
27094
|
+
- latest
|
|
27095
|
+
properties:
|
|
27096
|
+
metric:
|
|
27097
|
+
type: string
|
|
27098
|
+
displayName:
|
|
27099
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
27100
|
+
category:
|
|
27101
|
+
type: string
|
|
27102
|
+
description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
|
|
27103
|
+
dimension:
|
|
27104
|
+
type: string
|
|
27105
|
+
description: Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
27106
|
+
labels:
|
|
27107
|
+
type: object
|
|
27108
|
+
additionalProperties:
|
|
27109
|
+
type: string
|
|
27110
|
+
description: Optional dimension labels, for example instance, pvc, role, or datname.
|
|
27111
|
+
unit:
|
|
27112
|
+
type: string
|
|
27113
|
+
warnThreshold:
|
|
27114
|
+
type: number
|
|
27115
|
+
format: double
|
|
27116
|
+
description: Optional warning threshold in the same unit as this metric.
|
|
27117
|
+
critThreshold:
|
|
27118
|
+
type: number
|
|
27119
|
+
format: double
|
|
27120
|
+
description: Optional critical threshold in the same unit as this metric.
|
|
27121
|
+
thresholdDirection:
|
|
27122
|
+
type: string
|
|
27123
|
+
description: Optional threshold direction. Values are above, below, or boolean.
|
|
27124
|
+
min:
|
|
27125
|
+
type: number
|
|
27126
|
+
format: double
|
|
27127
|
+
max:
|
|
27128
|
+
type: number
|
|
27129
|
+
format: double
|
|
27130
|
+
avg:
|
|
27131
|
+
type: number
|
|
27132
|
+
format: double
|
|
27133
|
+
latest:
|
|
27134
|
+
type: number
|
|
27135
|
+
format: double
|
|
27136
|
+
changeDirection:
|
|
27137
|
+
type: string
|
|
27138
|
+
description: Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
|
|
27139
|
+
performanceTrendPoint:
|
|
27140
|
+
type: object
|
|
27141
|
+
required:
|
|
27142
|
+
- timestamp
|
|
27143
|
+
- value
|
|
27144
|
+
properties:
|
|
27145
|
+
timestamp:
|
|
27146
|
+
type: string
|
|
27147
|
+
value:
|
|
27148
|
+
type: number
|
|
27149
|
+
format: double
|
|
27150
|
+
performanceTrendSeries:
|
|
27151
|
+
type: object
|
|
27152
|
+
required:
|
|
27153
|
+
- metric
|
|
27154
|
+
- displayName
|
|
27155
|
+
- category
|
|
27156
|
+
- unit
|
|
27157
|
+
- points
|
|
27158
|
+
properties:
|
|
27159
|
+
metric:
|
|
27160
|
+
type: string
|
|
27161
|
+
displayName:
|
|
27162
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
27163
|
+
category:
|
|
27164
|
+
type: string
|
|
27165
|
+
description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
|
|
27166
|
+
dimension:
|
|
27167
|
+
type: string
|
|
27168
|
+
description: Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
27169
|
+
labels:
|
|
27170
|
+
type: object
|
|
27171
|
+
additionalProperties:
|
|
27172
|
+
type: string
|
|
27173
|
+
description: Optional dimension labels, for example instance, pvc, role, or datname.
|
|
27174
|
+
unit:
|
|
27175
|
+
type: string
|
|
27176
|
+
warnThreshold:
|
|
27177
|
+
type: number
|
|
27178
|
+
format: double
|
|
27179
|
+
description: Optional warning threshold in the same unit as this metric.
|
|
27180
|
+
critThreshold:
|
|
27181
|
+
type: number
|
|
27182
|
+
format: double
|
|
27183
|
+
description: Optional critical threshold in the same unit as this metric.
|
|
27184
|
+
thresholdDirection:
|
|
27185
|
+
type: string
|
|
27186
|
+
description: Optional threshold direction. Values are above, below, or boolean.
|
|
27187
|
+
points:
|
|
27188
|
+
type: array
|
|
27189
|
+
items:
|
|
27190
|
+
$ref: '#/components/schemas/performanceTrendPoint'
|
|
27191
|
+
performanceTrendSource:
|
|
27192
|
+
type: object
|
|
27193
|
+
required:
|
|
27194
|
+
- name
|
|
27195
|
+
- kind
|
|
27196
|
+
- status
|
|
27197
|
+
- collectedAt
|
|
27198
|
+
properties:
|
|
27199
|
+
name:
|
|
27200
|
+
type: string
|
|
27201
|
+
kind:
|
|
27202
|
+
type: string
|
|
27203
|
+
status:
|
|
27204
|
+
type: string
|
|
27205
|
+
description: Coarse source status. Values are success, partial, failed, skipped, or noData.
|
|
27206
|
+
collectedAt:
|
|
27207
|
+
type: string
|
|
27208
|
+
message:
|
|
27209
|
+
type: string
|
|
27210
|
+
performanceTrends:
|
|
26175
27211
|
type: object
|
|
26176
27212
|
required:
|
|
26177
|
-
-
|
|
26178
|
-
-
|
|
26179
|
-
-
|
|
26180
|
-
-
|
|
26181
|
-
-
|
|
26182
|
-
- meanTimeMs
|
|
26183
|
-
- maxTimeMs
|
|
26184
|
-
- rows
|
|
26185
|
-
- rowsSent
|
|
26186
|
-
- rowsAffected
|
|
26187
|
-
- rowsExamined
|
|
26188
|
-
- lockTimeMs
|
|
26189
|
-
- errors
|
|
27213
|
+
- range
|
|
27214
|
+
- granularity
|
|
27215
|
+
- summary
|
|
27216
|
+
- series
|
|
27217
|
+
- sources
|
|
26190
27218
|
- warnings
|
|
26191
|
-
-
|
|
26192
|
-
- tmpDiskTables
|
|
26193
|
-
- noIndexUsed
|
|
26194
|
-
- noGoodIndexUsed
|
|
26195
|
-
- database
|
|
27219
|
+
- collectedAt
|
|
26196
27220
|
properties:
|
|
26197
|
-
|
|
27221
|
+
range:
|
|
27222
|
+
$ref: '#/components/schemas/performanceTrendRange'
|
|
27223
|
+
granularity:
|
|
26198
27224
|
type: string
|
|
26199
|
-
description:
|
|
26200
|
-
|
|
27225
|
+
description: Controlled backend query step.
|
|
27226
|
+
summary:
|
|
27227
|
+
type: array
|
|
27228
|
+
description: Per-series numeric summary. changeDirection is present only when at least two points exist.
|
|
27229
|
+
items:
|
|
27230
|
+
$ref: '#/components/schemas/performanceTrendSummary'
|
|
27231
|
+
series:
|
|
27232
|
+
type: array
|
|
27233
|
+
description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
|
|
27234
|
+
items:
|
|
27235
|
+
$ref: '#/components/schemas/performanceTrendSeries'
|
|
27236
|
+
sources:
|
|
27237
|
+
type: array
|
|
27238
|
+
description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
|
|
27239
|
+
items:
|
|
27240
|
+
$ref: '#/components/schemas/performanceTrendSource'
|
|
27241
|
+
warnings:
|
|
27242
|
+
type: array
|
|
27243
|
+
items:
|
|
27244
|
+
type: string
|
|
27245
|
+
collectedAt:
|
|
26201
27246
|
type: string
|
|
26202
|
-
description:
|
|
26203
|
-
|
|
27247
|
+
description: Backend collection timestamp in UTC.
|
|
27248
|
+
elasticsearchHotThreadsType:
|
|
27249
|
+
type: string
|
|
27250
|
+
enum:
|
|
27251
|
+
- cpu
|
|
27252
|
+
- wait
|
|
27253
|
+
- block
|
|
27254
|
+
default: cpu
|
|
27255
|
+
elasticsearchTask:
|
|
27256
|
+
type: object
|
|
27257
|
+
required:
|
|
27258
|
+
- taskId
|
|
27259
|
+
- nodeId
|
|
27260
|
+
- nodeName
|
|
27261
|
+
- action
|
|
27262
|
+
- runningTimeMillis
|
|
27263
|
+
- cancellable
|
|
27264
|
+
properties:
|
|
27265
|
+
taskId:
|
|
26204
27266
|
type: string
|
|
26205
|
-
|
|
26206
|
-
|
|
27267
|
+
nodeId:
|
|
27268
|
+
type: string
|
|
27269
|
+
nodeName:
|
|
27270
|
+
type: string
|
|
27271
|
+
action:
|
|
27272
|
+
type: string
|
|
27273
|
+
description:
|
|
27274
|
+
type: string
|
|
27275
|
+
type:
|
|
27276
|
+
type: string
|
|
27277
|
+
startTime:
|
|
27278
|
+
type: string
|
|
27279
|
+
runningTimeMillis:
|
|
26207
27280
|
type: integer
|
|
26208
27281
|
format: int64
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
27282
|
+
cancellable:
|
|
27283
|
+
type: boolean
|
|
27284
|
+
cancelled:
|
|
27285
|
+
type: boolean
|
|
27286
|
+
elasticsearchHotThreads:
|
|
27287
|
+
type: object
|
|
27288
|
+
required:
|
|
27289
|
+
- type
|
|
27290
|
+
- content
|
|
27291
|
+
- truncated
|
|
27292
|
+
properties:
|
|
27293
|
+
nodeName:
|
|
27294
|
+
type: string
|
|
27295
|
+
type:
|
|
27296
|
+
type: string
|
|
27297
|
+
content:
|
|
27298
|
+
type: string
|
|
27299
|
+
truncated:
|
|
27300
|
+
type: boolean
|
|
27301
|
+
elasticsearchTaskAnalysis:
|
|
27302
|
+
type: object
|
|
27303
|
+
required:
|
|
27304
|
+
- tasks
|
|
27305
|
+
- hotThreads
|
|
27306
|
+
- sources
|
|
27307
|
+
- warnings
|
|
27308
|
+
- collectedAt
|
|
27309
|
+
properties:
|
|
27310
|
+
tasks:
|
|
27311
|
+
type: array
|
|
27312
|
+
description: List of currently running tasks, sorted by running time in descending order
|
|
27313
|
+
items:
|
|
27314
|
+
$ref: '#/components/schemas/elasticsearchTask'
|
|
27315
|
+
hotThreads:
|
|
27316
|
+
type: array
|
|
27317
|
+
items:
|
|
27318
|
+
$ref: '#/components/schemas/elasticsearchHotThreads'
|
|
27319
|
+
sources:
|
|
27320
|
+
type: array
|
|
27321
|
+
items:
|
|
27322
|
+
$ref: '#/components/schemas/performanceTrendSource'
|
|
27323
|
+
warnings:
|
|
27324
|
+
type: array
|
|
27325
|
+
items:
|
|
27326
|
+
type: string
|
|
27327
|
+
collectedAt:
|
|
27328
|
+
type: string
|
|
27329
|
+
elasticsearchIndexSortBy:
|
|
27330
|
+
type: string
|
|
27331
|
+
enum:
|
|
27332
|
+
- name
|
|
27333
|
+
- documents
|
|
27334
|
+
- totalStoreBytes
|
|
27335
|
+
- segments
|
|
27336
|
+
default: totalStoreBytes
|
|
27337
|
+
elasticsearchSortOrder:
|
|
27338
|
+
type: string
|
|
27339
|
+
enum:
|
|
27340
|
+
- asc
|
|
27341
|
+
- desc
|
|
27342
|
+
default: desc
|
|
27343
|
+
elasticsearchIndexStorage:
|
|
27344
|
+
type: object
|
|
27345
|
+
required:
|
|
27346
|
+
- name
|
|
27347
|
+
- health
|
|
27348
|
+
- status
|
|
27349
|
+
- primaryShards
|
|
27350
|
+
- replicaShards
|
|
27351
|
+
- documents
|
|
27352
|
+
- deletedDocuments
|
|
27353
|
+
- primaryStoreBytes
|
|
27354
|
+
- totalStoreBytes
|
|
27355
|
+
- segments
|
|
27356
|
+
properties:
|
|
27357
|
+
name:
|
|
27358
|
+
type: string
|
|
27359
|
+
uuid:
|
|
27360
|
+
type: string
|
|
27361
|
+
health:
|
|
27362
|
+
type: string
|
|
27363
|
+
status:
|
|
27364
|
+
type: string
|
|
27365
|
+
primaryShards:
|
|
26223
27366
|
type: integer
|
|
26224
27367
|
format: int64
|
|
26225
|
-
|
|
26226
|
-
|
|
27368
|
+
nullable: true
|
|
27369
|
+
replicaShards:
|
|
26227
27370
|
type: integer
|
|
26228
27371
|
format: int64
|
|
26229
|
-
|
|
26230
|
-
|
|
27372
|
+
nullable: true
|
|
27373
|
+
documents:
|
|
26231
27374
|
type: integer
|
|
26232
27375
|
format: int64
|
|
26233
|
-
|
|
26234
|
-
|
|
27376
|
+
nullable: true
|
|
27377
|
+
deletedDocuments:
|
|
26235
27378
|
type: integer
|
|
26236
27379
|
format: int64
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
type: number
|
|
26240
|
-
format: double
|
|
26241
|
-
description: Total statement lock time in milliseconds.
|
|
26242
|
-
errors:
|
|
27380
|
+
nullable: true
|
|
27381
|
+
primaryStoreBytes:
|
|
26243
27382
|
type: integer
|
|
26244
27383
|
format: int64
|
|
26245
|
-
|
|
26246
|
-
|
|
27384
|
+
nullable: true
|
|
27385
|
+
totalStoreBytes:
|
|
26247
27386
|
type: integer
|
|
26248
27387
|
format: int64
|
|
26249
|
-
|
|
26250
|
-
|
|
27388
|
+
nullable: true
|
|
27389
|
+
segments:
|
|
26251
27390
|
type: integer
|
|
26252
27391
|
format: int64
|
|
26253
|
-
|
|
26254
|
-
|
|
27392
|
+
nullable: true
|
|
27393
|
+
elasticsearchNodeAllocation:
|
|
27394
|
+
type: object
|
|
27395
|
+
required:
|
|
27396
|
+
- nodeName
|
|
27397
|
+
- shards
|
|
27398
|
+
- diskIndicesBytes
|
|
27399
|
+
- diskUsedBytes
|
|
27400
|
+
- diskAvailableBytes
|
|
27401
|
+
- diskTotalBytes
|
|
27402
|
+
- diskPercent
|
|
27403
|
+
properties:
|
|
27404
|
+
nodeName:
|
|
27405
|
+
type: string
|
|
27406
|
+
host:
|
|
27407
|
+
type: string
|
|
27408
|
+
ip:
|
|
27409
|
+
type: string
|
|
27410
|
+
shards:
|
|
26255
27411
|
type: integer
|
|
26256
27412
|
format: int64
|
|
26257
|
-
|
|
26258
|
-
|
|
27413
|
+
nullable: true
|
|
27414
|
+
diskIndicesBytes:
|
|
27415
|
+
type: integer
|
|
27416
|
+
format: int64
|
|
27417
|
+
nullable: true
|
|
27418
|
+
diskUsedBytes:
|
|
27419
|
+
type: integer
|
|
27420
|
+
format: int64
|
|
27421
|
+
nullable: true
|
|
27422
|
+
diskAvailableBytes:
|
|
27423
|
+
type: integer
|
|
27424
|
+
format: int64
|
|
27425
|
+
nullable: true
|
|
27426
|
+
diskTotalBytes:
|
|
27427
|
+
type: integer
|
|
27428
|
+
format: int64
|
|
27429
|
+
nullable: true
|
|
27430
|
+
diskPercent:
|
|
27431
|
+
type: number
|
|
27432
|
+
format: double
|
|
27433
|
+
nullable: true
|
|
27434
|
+
elasticsearchDiskWatermarks:
|
|
27435
|
+
type: object
|
|
27436
|
+
required:
|
|
27437
|
+
- low
|
|
27438
|
+
- high
|
|
27439
|
+
- floodStage
|
|
27440
|
+
properties:
|
|
27441
|
+
low:
|
|
27442
|
+
type: string
|
|
27443
|
+
high:
|
|
27444
|
+
type: string
|
|
27445
|
+
floodStage:
|
|
27446
|
+
type: string
|
|
27447
|
+
elasticsearchStorageAnalysis:
|
|
27448
|
+
type: object
|
|
27449
|
+
required:
|
|
27450
|
+
- indices
|
|
27451
|
+
- allocations
|
|
27452
|
+
- watermarks
|
|
27453
|
+
- sources
|
|
27454
|
+
- warnings
|
|
27455
|
+
- collectedAt
|
|
27456
|
+
properties:
|
|
27457
|
+
indices:
|
|
27458
|
+
type: array
|
|
27459
|
+
items:
|
|
27460
|
+
$ref: '#/components/schemas/elasticsearchIndexStorage'
|
|
27461
|
+
allocations:
|
|
27462
|
+
type: array
|
|
27463
|
+
items:
|
|
27464
|
+
$ref: '#/components/schemas/elasticsearchNodeAllocation'
|
|
27465
|
+
watermarks:
|
|
27466
|
+
$ref: '#/components/schemas/elasticsearchDiskWatermarks'
|
|
27467
|
+
sources:
|
|
27468
|
+
type: array
|
|
27469
|
+
items:
|
|
27470
|
+
$ref: '#/components/schemas/performanceTrendSource'
|
|
27471
|
+
warnings:
|
|
27472
|
+
type: array
|
|
27473
|
+
items:
|
|
27474
|
+
type: string
|
|
27475
|
+
collectedAt:
|
|
27476
|
+
type: string
|
|
27477
|
+
elasticsearchShardState:
|
|
27478
|
+
type: string
|
|
27479
|
+
enum:
|
|
27480
|
+
- STARTED
|
|
27481
|
+
- INITIALIZING
|
|
27482
|
+
- RELOCATING
|
|
27483
|
+
- UNASSIGNED
|
|
27484
|
+
elasticsearchShard:
|
|
27485
|
+
type: object
|
|
27486
|
+
properties:
|
|
27487
|
+
index:
|
|
27488
|
+
type: string
|
|
27489
|
+
x-go-name: Index
|
|
27490
|
+
nullable: true
|
|
27491
|
+
shard:
|
|
27492
|
+
type: integer
|
|
27493
|
+
x-go-name: Shard
|
|
27494
|
+
nullable: true
|
|
27495
|
+
format: int64
|
|
27496
|
+
primary:
|
|
27497
|
+
type: boolean
|
|
27498
|
+
x-go-name: Primary
|
|
27499
|
+
nullable: true
|
|
27500
|
+
state:
|
|
27501
|
+
type: string
|
|
27502
|
+
x-go-name: State
|
|
27503
|
+
nullable: true
|
|
27504
|
+
documents:
|
|
26259
27505
|
type: integer
|
|
27506
|
+
x-go-name: Documents
|
|
27507
|
+
nullable: true
|
|
26260
27508
|
format: int64
|
|
26261
|
-
|
|
26262
|
-
noGoodIndexUsed:
|
|
27509
|
+
storeBytes:
|
|
26263
27510
|
type: integer
|
|
27511
|
+
x-go-name: StoreBytes
|
|
27512
|
+
nullable: true
|
|
26264
27513
|
format: int64
|
|
26265
|
-
|
|
26266
|
-
database:
|
|
27514
|
+
nodeId:
|
|
26267
27515
|
type: string
|
|
26268
|
-
|
|
26269
|
-
|
|
27516
|
+
x-go-name: NodeID
|
|
27517
|
+
nullable: true
|
|
27518
|
+
nodeName:
|
|
26270
27519
|
type: string
|
|
26271
|
-
|
|
26272
|
-
|
|
27520
|
+
x-go-name: NodeName
|
|
27521
|
+
nullable: true
|
|
27522
|
+
unassignedReason:
|
|
26273
27523
|
type: string
|
|
26274
|
-
|
|
26275
|
-
|
|
27524
|
+
x-go-name: UnassignedReason
|
|
27525
|
+
nullable: true
|
|
27526
|
+
elasticsearchShardList:
|
|
26276
27527
|
type: object
|
|
26277
27528
|
required:
|
|
26278
|
-
-
|
|
26279
|
-
- status
|
|
27529
|
+
- shards
|
|
26280
27530
|
- collectedAt
|
|
26281
|
-
- limit
|
|
26282
|
-
- orderBy
|
|
26283
|
-
- items
|
|
26284
27531
|
properties:
|
|
26285
|
-
|
|
26286
|
-
type:
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
type: string
|
|
26290
|
-
description: Source status. Expected values are available or unavailable.
|
|
26291
|
-
unavailableReason:
|
|
26292
|
-
type: string
|
|
26293
|
-
description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
|
|
26294
|
-
message:
|
|
26295
|
-
type: string
|
|
26296
|
-
description: User-facing recovery guidance when SQL analysis is unavailable.
|
|
27532
|
+
shards:
|
|
27533
|
+
type: array
|
|
27534
|
+
items:
|
|
27535
|
+
$ref: '#/components/schemas/elasticsearchShard'
|
|
26297
27536
|
collectedAt:
|
|
26298
27537
|
type: string
|
|
26299
|
-
|
|
26300
|
-
|
|
27538
|
+
elasticsearchShardNode:
|
|
27539
|
+
type: object
|
|
27540
|
+
properties:
|
|
27541
|
+
id:
|
|
26301
27542
|
type: string
|
|
26302
|
-
|
|
26303
|
-
|
|
27543
|
+
x-go-name: ID
|
|
27544
|
+
nullable: true
|
|
27545
|
+
name:
|
|
26304
27546
|
type: string
|
|
26305
|
-
|
|
26306
|
-
|
|
27547
|
+
x-go-name: Name
|
|
27548
|
+
nullable: true
|
|
27549
|
+
elasticsearchRecoveryTranslog:
|
|
27550
|
+
type: object
|
|
27551
|
+
properties:
|
|
27552
|
+
recovered:
|
|
26307
27553
|
type: integer
|
|
27554
|
+
x-go-name: Recovered
|
|
27555
|
+
nullable: true
|
|
26308
27556
|
format: int64
|
|
26309
|
-
|
|
26310
|
-
|
|
27557
|
+
total:
|
|
27558
|
+
type: integer
|
|
27559
|
+
x-go-name: Total
|
|
27560
|
+
nullable: true
|
|
27561
|
+
format: int64
|
|
27562
|
+
percent:
|
|
26311
27563
|
type: string
|
|
26312
|
-
|
|
26313
|
-
|
|
26314
|
-
|
|
26315
|
-
|
|
26316
|
-
|
|
26317
|
-
|
|
26318
|
-
callsAll:
|
|
27564
|
+
x-go-name: Percent
|
|
27565
|
+
nullable: true
|
|
27566
|
+
elasticsearchRecoverySize:
|
|
27567
|
+
type: object
|
|
27568
|
+
properties:
|
|
27569
|
+
totalBytes:
|
|
26319
27570
|
type: integer
|
|
27571
|
+
x-go-name: TotalBytes
|
|
27572
|
+
nullable: true
|
|
26320
27573
|
format: int64
|
|
26321
|
-
|
|
26322
|
-
description: Total execution count across all visible digest rows, not limited to the returned top-N items.
|
|
26323
|
-
digestLost:
|
|
27574
|
+
reusedBytes:
|
|
26324
27575
|
type: integer
|
|
27576
|
+
x-go-name: ReusedBytes
|
|
27577
|
+
nullable: true
|
|
26325
27578
|
format: int64
|
|
26326
|
-
|
|
26327
|
-
description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
|
|
26328
|
-
items:
|
|
26329
|
-
type: array
|
|
26330
|
-
description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
|
|
26331
|
-
items:
|
|
26332
|
-
$ref: '#/components/schemas/mysqlSQLFingerprint'
|
|
26333
|
-
performanceTrendRange:
|
|
26334
|
-
type: object
|
|
26335
|
-
required:
|
|
26336
|
-
- label
|
|
26337
|
-
- start
|
|
26338
|
-
- end
|
|
26339
|
-
- durationSeconds
|
|
26340
|
-
properties:
|
|
26341
|
-
label:
|
|
26342
|
-
type: string
|
|
26343
|
-
description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
|
|
26344
|
-
start:
|
|
26345
|
-
type: string
|
|
26346
|
-
end:
|
|
26347
|
-
type: string
|
|
26348
|
-
durationSeconds:
|
|
27579
|
+
recoveredBytes:
|
|
26349
27580
|
type: integer
|
|
27581
|
+
x-go-name: RecoveredBytes
|
|
27582
|
+
nullable: true
|
|
26350
27583
|
format: int64
|
|
26351
|
-
|
|
27584
|
+
percent:
|
|
27585
|
+
type: string
|
|
27586
|
+
x-go-name: Percent
|
|
27587
|
+
nullable: true
|
|
27588
|
+
elasticsearchShardRecovery:
|
|
26352
27589
|
type: object
|
|
26353
|
-
required:
|
|
26354
|
-
- metric
|
|
26355
|
-
- displayName
|
|
26356
|
-
- category
|
|
26357
|
-
- unit
|
|
26358
|
-
- min
|
|
26359
|
-
- max
|
|
26360
|
-
- avg
|
|
26361
|
-
- latest
|
|
26362
27590
|
properties:
|
|
26363
|
-
|
|
26364
|
-
type: string
|
|
26365
|
-
displayName:
|
|
26366
|
-
$ref: '#/components/schemas/localizedDescription'
|
|
26367
|
-
category:
|
|
26368
|
-
type: string
|
|
26369
|
-
description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
|
|
26370
|
-
dimension:
|
|
26371
|
-
type: string
|
|
26372
|
-
description: Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
26373
|
-
labels:
|
|
26374
|
-
type: object
|
|
26375
|
-
additionalProperties:
|
|
26376
|
-
type: string
|
|
26377
|
-
description: Optional dimension labels, for example instance, pvc, role, or datname.
|
|
26378
|
-
unit:
|
|
27591
|
+
index:
|
|
26379
27592
|
type: string
|
|
26380
|
-
|
|
26381
|
-
|
|
26382
|
-
|
|
26383
|
-
|
|
26384
|
-
|
|
26385
|
-
|
|
26386
|
-
format:
|
|
26387
|
-
|
|
26388
|
-
thresholdDirection:
|
|
27593
|
+
x-go-name: Index
|
|
27594
|
+
nullable: true
|
|
27595
|
+
shard:
|
|
27596
|
+
type: integer
|
|
27597
|
+
x-go-name: Shard
|
|
27598
|
+
nullable: true
|
|
27599
|
+
format: int64
|
|
27600
|
+
type:
|
|
26389
27601
|
type: string
|
|
26390
|
-
|
|
26391
|
-
|
|
26392
|
-
|
|
26393
|
-
format: double
|
|
26394
|
-
max:
|
|
26395
|
-
type: number
|
|
26396
|
-
format: double
|
|
26397
|
-
avg:
|
|
26398
|
-
type: number
|
|
26399
|
-
format: double
|
|
26400
|
-
latest:
|
|
26401
|
-
type: number
|
|
26402
|
-
format: double
|
|
26403
|
-
changeDirection:
|
|
27602
|
+
x-go-name: Type
|
|
27603
|
+
nullable: true
|
|
27604
|
+
stage:
|
|
26404
27605
|
type: string
|
|
26405
|
-
|
|
26406
|
-
|
|
27606
|
+
x-go-name: Stage
|
|
27607
|
+
nullable: true
|
|
27608
|
+
primary:
|
|
27609
|
+
type: boolean
|
|
27610
|
+
x-go-name: Primary
|
|
27611
|
+
nullable: true
|
|
27612
|
+
startTimeMillis:
|
|
27613
|
+
type: integer
|
|
27614
|
+
x-go-name: StartTimeMillis
|
|
27615
|
+
nullable: true
|
|
27616
|
+
format: int64
|
|
27617
|
+
totalTimeMillis:
|
|
27618
|
+
type: integer
|
|
27619
|
+
x-go-name: TotalTimeMillis
|
|
27620
|
+
nullable: true
|
|
27621
|
+
format: int64
|
|
27622
|
+
source:
|
|
27623
|
+
$ref: '#/components/schemas/elasticsearchShardNode'
|
|
27624
|
+
x-go-name: Source
|
|
27625
|
+
target:
|
|
27626
|
+
$ref: '#/components/schemas/elasticsearchShardNode'
|
|
27627
|
+
x-go-name: Target
|
|
27628
|
+
translog:
|
|
27629
|
+
$ref: '#/components/schemas/elasticsearchRecoveryTranslog'
|
|
27630
|
+
x-go-name: Translog
|
|
27631
|
+
size:
|
|
27632
|
+
$ref: '#/components/schemas/elasticsearchRecoverySize'
|
|
27633
|
+
x-go-name: Size
|
|
27634
|
+
elasticsearchRecoveryList:
|
|
26407
27635
|
type: object
|
|
26408
27636
|
required:
|
|
26409
|
-
-
|
|
26410
|
-
-
|
|
27637
|
+
- recoveries
|
|
27638
|
+
- collectedAt
|
|
26411
27639
|
properties:
|
|
26412
|
-
|
|
27640
|
+
recoveries:
|
|
27641
|
+
type: array
|
|
27642
|
+
items:
|
|
27643
|
+
$ref: '#/components/schemas/elasticsearchShardRecovery'
|
|
27644
|
+
collectedAt:
|
|
26413
27645
|
type: string
|
|
26414
|
-
|
|
26415
|
-
type: number
|
|
26416
|
-
format: double
|
|
26417
|
-
performanceTrendSeries:
|
|
27646
|
+
elasticsearchUnassignedInfo:
|
|
26418
27647
|
type: object
|
|
26419
|
-
required:
|
|
26420
|
-
- metric
|
|
26421
|
-
- displayName
|
|
26422
|
-
- category
|
|
26423
|
-
- unit
|
|
26424
|
-
- points
|
|
26425
27648
|
properties:
|
|
26426
|
-
|
|
26427
|
-
type: string
|
|
26428
|
-
displayName:
|
|
26429
|
-
$ref: '#/components/schemas/localizedDescription'
|
|
26430
|
-
category:
|
|
27649
|
+
reason:
|
|
26431
27650
|
type: string
|
|
26432
|
-
|
|
26433
|
-
|
|
27651
|
+
x-go-name: Reason
|
|
27652
|
+
nullable: true
|
|
27653
|
+
at:
|
|
26434
27654
|
type: string
|
|
26435
|
-
|
|
26436
|
-
|
|
26437
|
-
|
|
26438
|
-
additionalProperties:
|
|
26439
|
-
type: string
|
|
26440
|
-
description: Optional dimension labels, for example instance, pvc, role, or datname.
|
|
26441
|
-
unit:
|
|
27655
|
+
x-go-name: At
|
|
27656
|
+
nullable: true
|
|
27657
|
+
details:
|
|
26442
27658
|
type: string
|
|
26443
|
-
|
|
26444
|
-
|
|
26445
|
-
|
|
26446
|
-
description: Optional warning threshold in the same unit as this metric.
|
|
26447
|
-
critThreshold:
|
|
26448
|
-
type: number
|
|
26449
|
-
format: double
|
|
26450
|
-
description: Optional critical threshold in the same unit as this metric.
|
|
26451
|
-
thresholdDirection:
|
|
27659
|
+
x-go-name: Details
|
|
27660
|
+
nullable: true
|
|
27661
|
+
lastAllocationStatus:
|
|
26452
27662
|
type: string
|
|
26453
|
-
|
|
26454
|
-
|
|
26455
|
-
|
|
26456
|
-
items:
|
|
26457
|
-
$ref: '#/components/schemas/performanceTrendPoint'
|
|
26458
|
-
performanceTrendSource:
|
|
27663
|
+
x-go-name: LastAllocationStatus
|
|
27664
|
+
nullable: true
|
|
27665
|
+
elasticsearchAllocationDecider:
|
|
26459
27666
|
type: object
|
|
26460
|
-
required:
|
|
26461
|
-
- name
|
|
26462
|
-
- kind
|
|
26463
|
-
- status
|
|
26464
|
-
- collectedAt
|
|
26465
27667
|
properties:
|
|
26466
|
-
|
|
26467
|
-
type: string
|
|
26468
|
-
kind:
|
|
27668
|
+
decider:
|
|
26469
27669
|
type: string
|
|
26470
|
-
|
|
26471
|
-
|
|
26472
|
-
|
|
26473
|
-
collectedAt:
|
|
27670
|
+
x-go-name: Decider
|
|
27671
|
+
nullable: true
|
|
27672
|
+
decision:
|
|
26474
27673
|
type: string
|
|
26475
|
-
|
|
27674
|
+
x-go-name: Decision
|
|
27675
|
+
nullable: true
|
|
27676
|
+
explanation:
|
|
26476
27677
|
type: string
|
|
26477
|
-
|
|
27678
|
+
x-go-name: Explanation
|
|
27679
|
+
nullable: true
|
|
27680
|
+
elasticsearchNodeAllocationDecision:
|
|
26478
27681
|
type: object
|
|
26479
|
-
required:
|
|
26480
|
-
- range
|
|
26481
|
-
- granularity
|
|
26482
|
-
- summary
|
|
26483
|
-
- series
|
|
26484
|
-
- sources
|
|
26485
|
-
- warnings
|
|
26486
|
-
- collectedAt
|
|
26487
27682
|
properties:
|
|
26488
|
-
|
|
26489
|
-
|
|
26490
|
-
|
|
27683
|
+
nodeId:
|
|
27684
|
+
type: string
|
|
27685
|
+
x-go-name: NodeID
|
|
27686
|
+
nullable: true
|
|
27687
|
+
nodeName:
|
|
26491
27688
|
type: string
|
|
26492
|
-
|
|
26493
|
-
|
|
27689
|
+
x-go-name: NodeName
|
|
27690
|
+
nullable: true
|
|
27691
|
+
nodeDecision:
|
|
27692
|
+
type: string
|
|
27693
|
+
x-go-name: NodeDecision
|
|
27694
|
+
nullable: true
|
|
27695
|
+
deciders:
|
|
26494
27696
|
type: array
|
|
26495
|
-
description: Per-series numeric summary. changeDirection is present only when at least two points exist.
|
|
26496
27697
|
items:
|
|
26497
|
-
$ref: '#/components/schemas/
|
|
26498
|
-
|
|
27698
|
+
$ref: '#/components/schemas/elasticsearchAllocationDecider'
|
|
27699
|
+
x-go-name: Deciders
|
|
27700
|
+
elasticsearchAllocationExplanation:
|
|
27701
|
+
type: object
|
|
27702
|
+
properties:
|
|
27703
|
+
index:
|
|
27704
|
+
type: string
|
|
27705
|
+
x-go-name: Index
|
|
27706
|
+
nullable: true
|
|
27707
|
+
shard:
|
|
27708
|
+
type: integer
|
|
27709
|
+
x-go-name: Shard
|
|
27710
|
+
nullable: true
|
|
27711
|
+
format: int64
|
|
27712
|
+
primary:
|
|
27713
|
+
type: boolean
|
|
27714
|
+
x-go-name: Primary
|
|
27715
|
+
nullable: true
|
|
27716
|
+
currentState:
|
|
27717
|
+
type: string
|
|
27718
|
+
x-go-name: CurrentState
|
|
27719
|
+
nullable: true
|
|
27720
|
+
currentNode:
|
|
27721
|
+
$ref: '#/components/schemas/elasticsearchShardNode'
|
|
27722
|
+
x-go-name: CurrentNode
|
|
27723
|
+
unassignedInfo:
|
|
27724
|
+
$ref: '#/components/schemas/elasticsearchUnassignedInfo'
|
|
27725
|
+
x-go-name: UnassignedInfo
|
|
27726
|
+
canAllocate:
|
|
27727
|
+
type: string
|
|
27728
|
+
x-go-name: CanAllocate
|
|
27729
|
+
nullable: true
|
|
27730
|
+
allocateExplanation:
|
|
27731
|
+
type: string
|
|
27732
|
+
x-go-name: AllocateExplanation
|
|
27733
|
+
nullable: true
|
|
27734
|
+
canRemainOnCurrentNode:
|
|
27735
|
+
type: string
|
|
27736
|
+
x-go-name: CanRemainOnCurrentNode
|
|
27737
|
+
nullable: true
|
|
27738
|
+
canRemainDecisions:
|
|
26499
27739
|
type: array
|
|
26500
|
-
description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
|
|
26501
27740
|
items:
|
|
26502
|
-
$ref: '#/components/schemas/
|
|
26503
|
-
|
|
27741
|
+
$ref: '#/components/schemas/elasticsearchAllocationDecider'
|
|
27742
|
+
x-go-name: CanRemainDecisions
|
|
27743
|
+
canRebalanceCluster:
|
|
27744
|
+
type: string
|
|
27745
|
+
x-go-name: CanRebalanceCluster
|
|
27746
|
+
nullable: true
|
|
27747
|
+
canRebalanceClusterDecisions:
|
|
26504
27748
|
type: array
|
|
26505
|
-
description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
|
|
26506
27749
|
items:
|
|
26507
|
-
$ref: '#/components/schemas/
|
|
26508
|
-
|
|
27750
|
+
$ref: '#/components/schemas/elasticsearchAllocationDecider'
|
|
27751
|
+
x-go-name: CanRebalanceClusterDecisions
|
|
27752
|
+
canRebalanceToOtherNode:
|
|
27753
|
+
type: string
|
|
27754
|
+
x-go-name: CanRebalanceToOtherNode
|
|
27755
|
+
nullable: true
|
|
27756
|
+
rebalanceExplanation:
|
|
27757
|
+
type: string
|
|
27758
|
+
x-go-name: RebalanceExplanation
|
|
27759
|
+
nullable: true
|
|
27760
|
+
nodeAllocationDecisions:
|
|
26509
27761
|
type: array
|
|
26510
27762
|
items:
|
|
26511
|
-
|
|
26512
|
-
|
|
26513
|
-
type: string
|
|
26514
|
-
description: Backend collection timestamp in UTC.
|
|
27763
|
+
$ref: '#/components/schemas/elasticsearchNodeAllocationDecision'
|
|
27764
|
+
x-go-name: NodeAllocationDecisions
|
|
26515
27765
|
postgresqlLockRow:
|
|
26516
27766
|
type: object
|
|
26517
27767
|
required:
|
|
@@ -31779,581 +33029,257 @@ components:
|
|
|
31779
33029
|
description: Timeout duration for the task in seconds
|
|
31780
33030
|
operator:
|
|
31781
33031
|
type: string
|
|
31782
|
-
description: The user created the task
|
|
31783
|
-
x-nullable: true
|
|
31784
|
-
resourceType:
|
|
31785
|
-
type: string
|
|
31786
|
-
description: Resource type of the task, e.g. "cluster", "environment", etc.
|
|
31787
|
-
resourceId:
|
|
31788
|
-
type: string
|
|
31789
|
-
description: Resource ID of the task
|
|
31790
|
-
resourceName:
|
|
31791
|
-
type: string
|
|
31792
|
-
description: Resource name of the task
|
|
31793
|
-
orgName:
|
|
31794
|
-
type: string
|
|
31795
|
-
description: Organization name of the task
|
|
31796
|
-
scheduled:
|
|
31797
|
-
$ref: '#/components/schemas/taskSchedule'
|
|
31798
|
-
description: Scheduled execution configuration
|
|
31799
|
-
x-nullable: true
|
|
31800
|
-
datasource:
|
|
31801
|
-
required:
|
|
31802
|
-
- type
|
|
31803
|
-
type: object
|
|
31804
|
-
properties:
|
|
31805
|
-
id:
|
|
31806
|
-
type: string
|
|
31807
|
-
description: the id of datasource
|
|
31808
|
-
name:
|
|
31809
|
-
type: string
|
|
31810
|
-
description: the name of datasource
|
|
31811
|
-
type:
|
|
31812
|
-
type: string
|
|
31813
|
-
description: the database type
|
|
31814
|
-
options:
|
|
31815
|
-
additionalProperties:
|
|
31816
|
-
type: object
|
|
31817
|
-
type: object
|
|
31818
|
-
datasourceList:
|
|
31819
|
-
items:
|
|
31820
|
-
$ref: '#/components/schemas/datasource'
|
|
31821
|
-
type: array
|
|
31822
|
-
testConnectResponse:
|
|
31823
|
-
type: object
|
|
31824
|
-
properties:
|
|
31825
|
-
ok:
|
|
31826
|
-
type: boolean
|
|
31827
|
-
description: whether the datasource connection test passed
|
|
31828
|
-
message:
|
|
31829
|
-
type: string
|
|
31830
|
-
description: diagnostic message returned by DMS
|
|
31831
|
-
extraInfo:
|
|
31832
|
-
type: object
|
|
31833
|
-
description: additional diagnostics returned by DMS
|
|
31834
|
-
additionalProperties: true
|
|
31835
|
-
DmsQueryBaseRequest:
|
|
31836
|
-
type: object
|
|
31837
|
-
properties:
|
|
31838
|
-
database:
|
|
31839
|
-
type: string
|
|
31840
|
-
description: the database of the table or view
|
|
31841
|
-
default: ''
|
|
31842
|
-
query:
|
|
31843
|
-
type: string
|
|
31844
|
-
description: the sql string
|
|
31845
|
-
limit:
|
|
31846
|
-
type: integer
|
|
31847
|
-
description: return limited number of data
|
|
31848
|
-
default: 200
|
|
31849
|
-
DmsQueryRequest:
|
|
31850
|
-
type: object
|
|
31851
|
-
allOf:
|
|
31852
|
-
- $ref: '#/components/schemas/DmsQueryBaseRequest'
|
|
31853
|
-
- type: object
|
|
31854
|
-
properties:
|
|
31855
|
-
noRecord:
|
|
31856
|
-
type: boolean
|
|
31857
|
-
description: if noRecord is true, the query(s) will not be added to query history
|
|
31858
|
-
nullable: true
|
|
31859
|
-
DmsExportRequest:
|
|
31860
|
-
type: object
|
|
31861
|
-
allOf:
|
|
31862
|
-
- $ref: '#/components/schemas/DmsQueryBaseRequest'
|
|
31863
|
-
- type: object
|
|
31864
|
-
properties:
|
|
31865
|
-
format:
|
|
31866
|
-
type: string
|
|
31867
|
-
description: the file format for export data
|
|
31868
|
-
DmsImportRequest:
|
|
31869
|
-
description: the data of the import task
|
|
31870
|
-
type: object
|
|
31871
|
-
required:
|
|
31872
|
-
- fileType
|
|
31873
|
-
- tableName
|
|
31874
|
-
- database
|
|
31875
|
-
properties:
|
|
31876
|
-
firstLineColumn:
|
|
31877
|
-
type: boolean
|
|
31878
|
-
description: whether the first line of the file is column name
|
|
31879
|
-
default: true
|
|
31880
|
-
fieldsTerminalBy:
|
|
31881
|
-
type: string
|
|
31882
|
-
description: the delimiter of fields
|
|
31883
|
-
default: ','
|
|
31884
|
-
fieldNames:
|
|
31885
|
-
type: array
|
|
31886
|
-
description: the field names
|
|
31887
|
-
items:
|
|
31888
|
-
type: string
|
|
31889
|
-
nullable: true
|
|
31890
|
-
ignoreForeignKey:
|
|
31891
|
-
type: boolean
|
|
31892
|
-
description: whether ignore foreign key when import data or not
|
|
31893
|
-
default: false
|
|
31894
|
-
fileType:
|
|
31895
|
-
type: string
|
|
31896
|
-
file:
|
|
31897
|
-
type: string
|
|
31898
|
-
format: binary
|
|
31899
|
-
description: the data file, csv or other format
|
|
31900
|
-
tableName:
|
|
31901
|
-
type: string
|
|
31902
|
-
description: the target table name
|
|
31903
|
-
database:
|
|
31904
|
-
type: string
|
|
31905
|
-
description: the database of the specific table, required for the engine which don't need to specify database when create database, such as mysql
|
|
31906
|
-
skipNull:
|
|
31907
|
-
type: boolean
|
|
31908
|
-
description: whether skip the row which has null value when import data
|
|
31909
|
-
default: true
|
|
31910
|
-
DmsImportFormData:
|
|
31911
|
-
description: the data of the import task
|
|
31912
|
-
type: object
|
|
31913
|
-
required:
|
|
31914
|
-
- file
|
|
31915
|
-
properties:
|
|
31916
|
-
file:
|
|
31917
|
-
type: string
|
|
31918
|
-
format: binary
|
|
31919
|
-
description: the data file, csv or other format
|
|
31920
|
-
DmsTaskInfo:
|
|
31921
|
-
type: object
|
|
31922
|
-
properties:
|
|
31923
|
-
id:
|
|
31924
|
-
type: string
|
|
31925
|
-
description: task id
|
|
31926
|
-
datasource:
|
|
31927
|
-
type: string
|
|
31928
|
-
description: datasource id
|
|
31929
|
-
message:
|
|
31930
|
-
type: string
|
|
31931
|
-
description: if task failed, this will show why
|
|
31932
|
-
nullable: true
|
|
31933
|
-
status:
|
|
31934
|
-
type: string
|
|
31935
|
-
description: task status
|
|
31936
|
-
type:
|
|
31937
|
-
type: string
|
|
31938
|
-
description: task type
|
|
31939
|
-
updatedAt:
|
|
31940
|
-
type: string
|
|
31941
|
-
format: date-time
|
|
31942
|
-
createdAt:
|
|
31943
|
-
type: string
|
|
31944
|
-
format: date-time
|
|
31945
|
-
DmsTaskList:
|
|
31946
|
-
type: object
|
|
31947
|
-
properties:
|
|
31948
|
-
tasks:
|
|
31949
|
-
type: array
|
|
31950
|
-
items:
|
|
31951
|
-
$ref: '#/components/schemas/DmsTaskInfo'
|
|
31952
|
-
DmsSchemaList:
|
|
31953
|
-
type: array
|
|
31954
|
-
items:
|
|
31955
|
-
type: string
|
|
31956
|
-
DmsObject:
|
|
31957
|
-
type: object
|
|
31958
|
-
x-nullable: true
|
|
31959
|
-
properties:
|
|
31960
|
-
type:
|
|
31961
|
-
type: string
|
|
31962
|
-
description: Type is the type of db object, like 'Table', 'Views', 'Functions'
|
|
31963
|
-
count:
|
|
31964
|
-
type: integer
|
|
31965
|
-
format: int64
|
|
31966
|
-
description: Count is the number of each object
|
|
31967
|
-
DmsObjectList:
|
|
31968
|
-
type: array
|
|
31969
|
-
items:
|
|
31970
|
-
$ref: '#/components/schemas/DmsObject'
|
|
31971
|
-
DmsObjectNameList:
|
|
31972
|
-
type: array
|
|
31973
|
-
items:
|
|
31974
|
-
type: string
|
|
31975
|
-
DmsObjectResponse:
|
|
31976
|
-
type: object
|
|
31977
|
-
properties:
|
|
31978
|
-
data:
|
|
31979
|
-
type: object
|
|
31980
|
-
description: The data of the Object
|
|
31981
|
-
additionalProperties: true
|
|
31982
|
-
type:
|
|
31983
|
-
type: string
|
|
31984
|
-
description: The type of the Object
|
|
31985
|
-
DmsQueryHistory:
|
|
31986
|
-
type: object
|
|
31987
|
-
properties:
|
|
31988
|
-
engine:
|
|
31989
|
-
title: Engine
|
|
31990
|
-
type: string
|
|
31991
|
-
x-nullable: true
|
|
31992
|
-
description: datasource engine
|
|
31993
|
-
sql:
|
|
31994
|
-
title: SQL
|
|
31995
|
-
type: string
|
|
33032
|
+
description: The user created the task
|
|
31996
33033
|
x-nullable: true
|
|
31997
|
-
|
|
31998
|
-
errMassage:
|
|
31999
|
-
title: errMassage
|
|
33034
|
+
resourceType:
|
|
32000
33035
|
type: string
|
|
32001
|
-
|
|
32002
|
-
|
|
32003
|
-
createdAt:
|
|
32004
|
-
title: time
|
|
33036
|
+
description: Resource type of the task, e.g. "cluster", "environment", etc.
|
|
33037
|
+
resourceId:
|
|
32005
33038
|
type: string
|
|
32006
|
-
|
|
32007
|
-
|
|
32008
|
-
|
|
32009
|
-
|
|
32010
|
-
|
|
32011
|
-
type:
|
|
32012
|
-
|
|
33039
|
+
description: Resource ID of the task
|
|
33040
|
+
resourceName:
|
|
33041
|
+
type: string
|
|
33042
|
+
description: Resource name of the task
|
|
33043
|
+
orgName:
|
|
33044
|
+
type: string
|
|
33045
|
+
description: Organization name of the task
|
|
33046
|
+
scheduled:
|
|
33047
|
+
$ref: '#/components/schemas/taskSchedule'
|
|
33048
|
+
description: Scheduled execution configuration
|
|
32013
33049
|
x-nullable: true
|
|
32014
|
-
|
|
32015
|
-
|
|
32016
|
-
|
|
32017
|
-
items:
|
|
32018
|
-
$ref: '#/components/schemas/DmsQueryHistory'
|
|
32019
|
-
DmsVisualExplainRequest:
|
|
33050
|
+
datasource:
|
|
33051
|
+
required:
|
|
33052
|
+
- type
|
|
32020
33053
|
type: object
|
|
32021
33054
|
properties:
|
|
32022
|
-
|
|
33055
|
+
id:
|
|
32023
33056
|
type: string
|
|
32024
|
-
description: the
|
|
32025
|
-
|
|
33057
|
+
description: the id of datasource
|
|
33058
|
+
name:
|
|
32026
33059
|
type: string
|
|
32027
|
-
description: the
|
|
32028
|
-
|
|
32029
|
-
|
|
32030
|
-
|
|
32031
|
-
|
|
32032
|
-
|
|
32033
|
-
|
|
32034
|
-
|
|
32035
|
-
|
|
32036
|
-
|
|
32037
|
-
|
|
32038
|
-
|
|
32039
|
-
|
|
32040
|
-
DmsExecutionPlanRawFormat:
|
|
32041
|
-
type: string
|
|
32042
|
-
enum:
|
|
32043
|
-
- json
|
|
32044
|
-
- xml
|
|
32045
|
-
- text
|
|
32046
|
-
- table
|
|
32047
|
-
DmsExecutionPlanNodeCategory:
|
|
32048
|
-
type: string
|
|
32049
|
-
enum:
|
|
32050
|
-
- result
|
|
32051
|
-
- sort
|
|
32052
|
-
- join
|
|
32053
|
-
- table_scan
|
|
32054
|
-
- index_scan
|
|
32055
|
-
- lookup
|
|
32056
|
-
- materialize
|
|
32057
|
-
- aggregate
|
|
32058
|
-
- exchange
|
|
32059
|
-
- modify
|
|
32060
|
-
- other
|
|
32061
|
-
DmsExecutionPlanNodeCost:
|
|
32062
|
-
type: object
|
|
32063
|
-
properties:
|
|
32064
|
-
startup:
|
|
32065
|
-
type: number
|
|
32066
|
-
format: double
|
|
32067
|
-
nullable: true
|
|
32068
|
-
x-omitempty: true
|
|
32069
|
-
total:
|
|
32070
|
-
type: number
|
|
32071
|
-
format: double
|
|
32072
|
-
nullable: true
|
|
32073
|
-
x-omitempty: true
|
|
32074
|
-
self:
|
|
32075
|
-
type: number
|
|
32076
|
-
format: double
|
|
32077
|
-
nullable: true
|
|
32078
|
-
x-omitempty: true
|
|
32079
|
-
percent:
|
|
32080
|
-
type: number
|
|
32081
|
-
format: double
|
|
32082
|
-
nullable: true
|
|
32083
|
-
x-omitempty: true
|
|
32084
|
-
DmsExecutionPlanNodeRows:
|
|
32085
|
-
type: object
|
|
32086
|
-
properties:
|
|
32087
|
-
estimated:
|
|
32088
|
-
type: number
|
|
32089
|
-
format: double
|
|
32090
|
-
nullable: true
|
|
32091
|
-
x-omitempty: true
|
|
32092
|
-
actual:
|
|
32093
|
-
type: number
|
|
32094
|
-
format: double
|
|
32095
|
-
nullable: true
|
|
32096
|
-
x-omitempty: true
|
|
32097
|
-
actualPerLoop:
|
|
32098
|
-
type: number
|
|
32099
|
-
format: double
|
|
32100
|
-
nullable: true
|
|
32101
|
-
x-omitempty: true
|
|
32102
|
-
removedByFilter:
|
|
32103
|
-
type: number
|
|
32104
|
-
format: double
|
|
32105
|
-
nullable: true
|
|
32106
|
-
x-omitempty: true
|
|
32107
|
-
mismatchRatio:
|
|
32108
|
-
type: number
|
|
32109
|
-
format: double
|
|
32110
|
-
nullable: true
|
|
32111
|
-
x-omitempty: true
|
|
32112
|
-
DmsExecutionPlanNodeTiming:
|
|
33060
|
+
description: the name of datasource
|
|
33061
|
+
type:
|
|
33062
|
+
type: string
|
|
33063
|
+
description: the database type
|
|
33064
|
+
options:
|
|
33065
|
+
additionalProperties:
|
|
33066
|
+
type: object
|
|
33067
|
+
type: object
|
|
33068
|
+
datasourceList:
|
|
33069
|
+
items:
|
|
33070
|
+
$ref: '#/components/schemas/datasource'
|
|
33071
|
+
type: array
|
|
33072
|
+
testConnectResponse:
|
|
32113
33073
|
type: object
|
|
32114
33074
|
properties:
|
|
32115
|
-
|
|
32116
|
-
type:
|
|
32117
|
-
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32121
|
-
|
|
32122
|
-
|
|
32123
|
-
|
|
32124
|
-
|
|
32125
|
-
|
|
32126
|
-
type: number
|
|
32127
|
-
format: double
|
|
32128
|
-
nullable: true
|
|
32129
|
-
x-omitempty: true
|
|
32130
|
-
loops:
|
|
32131
|
-
type: number
|
|
32132
|
-
format: double
|
|
32133
|
-
nullable: true
|
|
32134
|
-
x-omitempty: true
|
|
32135
|
-
DmsExecutionPlanNodeConditions:
|
|
33075
|
+
ok:
|
|
33076
|
+
type: boolean
|
|
33077
|
+
description: whether the datasource connection test passed
|
|
33078
|
+
message:
|
|
33079
|
+
type: string
|
|
33080
|
+
description: diagnostic message returned by DMS
|
|
33081
|
+
extraInfo:
|
|
33082
|
+
type: object
|
|
33083
|
+
description: additional diagnostics returned by DMS
|
|
33084
|
+
additionalProperties: true
|
|
33085
|
+
DmsQueryBaseRequest:
|
|
32136
33086
|
type: object
|
|
32137
33087
|
properties:
|
|
32138
|
-
|
|
32139
|
-
type: string
|
|
32140
|
-
nullable: true
|
|
32141
|
-
x-omitempty: true
|
|
32142
|
-
indexCond:
|
|
32143
|
-
type: string
|
|
32144
|
-
nullable: true
|
|
32145
|
-
x-omitempty: true
|
|
32146
|
-
joinCond:
|
|
33088
|
+
database:
|
|
32147
33089
|
type: string
|
|
32148
|
-
|
|
32149
|
-
|
|
32150
|
-
|
|
33090
|
+
description: the database of the table or view
|
|
33091
|
+
default: ''
|
|
33092
|
+
query:
|
|
32151
33093
|
type: string
|
|
32152
|
-
|
|
32153
|
-
|
|
32154
|
-
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32158
|
-
|
|
33094
|
+
description: the sql string
|
|
33095
|
+
limit:
|
|
33096
|
+
type: integer
|
|
33097
|
+
description: return limited number of data
|
|
33098
|
+
default: 200
|
|
33099
|
+
DmsQueryRequest:
|
|
33100
|
+
type: object
|
|
33101
|
+
allOf:
|
|
33102
|
+
- $ref: '#/components/schemas/DmsQueryBaseRequest'
|
|
33103
|
+
- type: object
|
|
33104
|
+
properties:
|
|
33105
|
+
noRecord:
|
|
33106
|
+
type: boolean
|
|
33107
|
+
description: if noRecord is true, the query(s) will not be added to query history
|
|
33108
|
+
nullable: true
|
|
33109
|
+
DmsExportRequest:
|
|
33110
|
+
type: object
|
|
33111
|
+
allOf:
|
|
33112
|
+
- $ref: '#/components/schemas/DmsQueryBaseRequest'
|
|
33113
|
+
- type: object
|
|
33114
|
+
properties:
|
|
33115
|
+
format:
|
|
33116
|
+
type: string
|
|
33117
|
+
description: the file format for export data
|
|
33118
|
+
DmsImportRequest:
|
|
33119
|
+
description: the data of the import task
|
|
32159
33120
|
type: object
|
|
33121
|
+
required:
|
|
33122
|
+
- fileType
|
|
33123
|
+
- tableName
|
|
33124
|
+
- database
|
|
32160
33125
|
properties:
|
|
32161
|
-
|
|
33126
|
+
firstLineColumn:
|
|
33127
|
+
type: boolean
|
|
33128
|
+
description: whether the first line of the file is column name
|
|
33129
|
+
default: true
|
|
33130
|
+
fieldsTerminalBy:
|
|
32162
33131
|
type: string
|
|
32163
|
-
|
|
32164
|
-
|
|
32165
|
-
|
|
32166
|
-
type: string
|
|
32167
|
-
childIds:
|
|
33132
|
+
description: the delimiter of fields
|
|
33133
|
+
default: ','
|
|
33134
|
+
fieldNames:
|
|
32168
33135
|
type: array
|
|
33136
|
+
description: the field names
|
|
32169
33137
|
items:
|
|
32170
33138
|
type: string
|
|
32171
|
-
order:
|
|
32172
|
-
type: integer
|
|
32173
|
-
format: int64
|
|
32174
33139
|
nullable: true
|
|
32175
|
-
|
|
32176
|
-
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32180
|
-
label:
|
|
32181
|
-
type: string
|
|
32182
|
-
relationName:
|
|
33140
|
+
ignoreForeignKey:
|
|
33141
|
+
type: boolean
|
|
33142
|
+
description: whether ignore foreign key when import data or not
|
|
33143
|
+
default: false
|
|
33144
|
+
fileType:
|
|
32183
33145
|
type: string
|
|
32184
|
-
|
|
32185
|
-
x-omitempty: true
|
|
32186
|
-
schemaName:
|
|
33146
|
+
file:
|
|
32187
33147
|
type: string
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
33148
|
+
format: binary
|
|
33149
|
+
description: the data file, csv or other format
|
|
33150
|
+
tableName:
|
|
32191
33151
|
type: string
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
indexName:
|
|
33152
|
+
description: the target table name
|
|
33153
|
+
database:
|
|
32195
33154
|
type: string
|
|
32196
|
-
|
|
32197
|
-
|
|
32198
|
-
|
|
32199
|
-
|
|
32200
|
-
|
|
32201
|
-
|
|
32202
|
-
|
|
32203
|
-
$ref: '#/components/schemas/DmsExecutionPlanNodeRows'
|
|
32204
|
-
nullable: true
|
|
32205
|
-
x-omitempty: true
|
|
32206
|
-
timing:
|
|
32207
|
-
$ref: '#/components/schemas/DmsExecutionPlanNodeTiming'
|
|
32208
|
-
nullable: true
|
|
32209
|
-
x-omitempty: true
|
|
32210
|
-
conditions:
|
|
32211
|
-
$ref: '#/components/schemas/DmsExecutionPlanNodeConditions'
|
|
32212
|
-
nullable: true
|
|
32213
|
-
x-omitempty: true
|
|
32214
|
-
details:
|
|
32215
|
-
type: object
|
|
32216
|
-
additionalProperties: true
|
|
32217
|
-
x-omitempty: true
|
|
32218
|
-
DmsExecutionPlanEdgeRows:
|
|
33155
|
+
description: the database of the specific table, required for the engine which don't need to specify database when create database, such as mysql
|
|
33156
|
+
skipNull:
|
|
33157
|
+
type: boolean
|
|
33158
|
+
description: whether skip the row which has null value when import data
|
|
33159
|
+
default: true
|
|
33160
|
+
DmsImportFormData:
|
|
33161
|
+
description: the data of the import task
|
|
32219
33162
|
type: object
|
|
33163
|
+
required:
|
|
33164
|
+
- file
|
|
32220
33165
|
properties:
|
|
32221
|
-
|
|
32222
|
-
type:
|
|
32223
|
-
format:
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
actual:
|
|
32227
|
-
type: number
|
|
32228
|
-
format: double
|
|
32229
|
-
nullable: true
|
|
32230
|
-
x-omitempty: true
|
|
32231
|
-
DmsExecutionPlanEdge:
|
|
33166
|
+
file:
|
|
33167
|
+
type: string
|
|
33168
|
+
format: binary
|
|
33169
|
+
description: the data file, csv or other format
|
|
33170
|
+
DmsTaskInfo:
|
|
32232
33171
|
type: object
|
|
32233
33172
|
properties:
|
|
32234
33173
|
id:
|
|
32235
33174
|
type: string
|
|
32236
|
-
|
|
33175
|
+
description: task id
|
|
33176
|
+
datasource:
|
|
32237
33177
|
type: string
|
|
32238
|
-
|
|
33178
|
+
description: datasource id
|
|
33179
|
+
message:
|
|
32239
33180
|
type: string
|
|
32240
|
-
|
|
32241
|
-
$ref: '#/components/schemas/DmsExecutionPlanEdgeRows'
|
|
32242
|
-
nullable: true
|
|
32243
|
-
x-omitempty: true
|
|
32244
|
-
widthWeight:
|
|
32245
|
-
type: number
|
|
32246
|
-
format: double
|
|
33181
|
+
description: if task failed, this will show why
|
|
32247
33182
|
nullable: true
|
|
32248
|
-
|
|
32249
|
-
label:
|
|
33183
|
+
status:
|
|
32250
33184
|
type: string
|
|
32251
|
-
|
|
32252
|
-
|
|
32253
|
-
|
|
33185
|
+
description: task status
|
|
33186
|
+
type:
|
|
33187
|
+
type: string
|
|
33188
|
+
description: task type
|
|
33189
|
+
updatedAt:
|
|
33190
|
+
type: string
|
|
33191
|
+
format: date-time
|
|
33192
|
+
createdAt:
|
|
33193
|
+
type: string
|
|
33194
|
+
format: date-time
|
|
33195
|
+
DmsTaskList:
|
|
32254
33196
|
type: object
|
|
32255
33197
|
properties:
|
|
32256
|
-
|
|
32257
|
-
type:
|
|
32258
|
-
|
|
32259
|
-
|
|
32260
|
-
|
|
32261
|
-
|
|
32262
|
-
|
|
32263
|
-
|
|
32264
|
-
|
|
32265
|
-
|
|
32266
|
-
|
|
32267
|
-
|
|
32268
|
-
|
|
32269
|
-
|
|
32270
|
-
|
|
32271
|
-
|
|
32272
|
-
type: number
|
|
32273
|
-
format: double
|
|
32274
|
-
nullable: true
|
|
32275
|
-
x-omitempty: true
|
|
32276
|
-
nodeCount:
|
|
33198
|
+
tasks:
|
|
33199
|
+
type: array
|
|
33200
|
+
items:
|
|
33201
|
+
$ref: '#/components/schemas/DmsTaskInfo'
|
|
33202
|
+
DmsSchemaList:
|
|
33203
|
+
type: array
|
|
33204
|
+
items:
|
|
33205
|
+
type: string
|
|
33206
|
+
DmsObject:
|
|
33207
|
+
type: object
|
|
33208
|
+
x-nullable: true
|
|
33209
|
+
properties:
|
|
33210
|
+
type:
|
|
33211
|
+
type: string
|
|
33212
|
+
description: Type is the type of db object, like 'Table', 'Views', 'Functions'
|
|
33213
|
+
count:
|
|
32277
33214
|
type: integer
|
|
32278
33215
|
format: int64
|
|
32279
|
-
|
|
32280
|
-
|
|
32281
|
-
|
|
32282
|
-
|
|
32283
|
-
|
|
32284
|
-
|
|
32285
|
-
|
|
32286
|
-
|
|
32287
|
-
|
|
33216
|
+
description: Count is the number of each object
|
|
33217
|
+
DmsObjectList:
|
|
33218
|
+
type: array
|
|
33219
|
+
items:
|
|
33220
|
+
$ref: '#/components/schemas/DmsObject'
|
|
33221
|
+
DmsObjectNameList:
|
|
33222
|
+
type: array
|
|
33223
|
+
items:
|
|
33224
|
+
type: string
|
|
33225
|
+
DmsObjectResponse:
|
|
33226
|
+
type: object
|
|
33227
|
+
properties:
|
|
33228
|
+
data:
|
|
33229
|
+
type: object
|
|
33230
|
+
description: The data of the Object
|
|
33231
|
+
additionalProperties: true
|
|
33232
|
+
type:
|
|
32288
33233
|
type: string
|
|
32289
|
-
|
|
32290
|
-
|
|
32291
|
-
DmsExecutionPlanWarningSeverity:
|
|
32292
|
-
type: string
|
|
32293
|
-
enum:
|
|
32294
|
-
- info
|
|
32295
|
-
- warning
|
|
32296
|
-
- critical
|
|
32297
|
-
DmsExecutionPlanWarning:
|
|
33234
|
+
description: The type of the Object
|
|
33235
|
+
DmsQueryHistory:
|
|
32298
33236
|
type: object
|
|
32299
33237
|
properties:
|
|
32300
|
-
|
|
33238
|
+
engine:
|
|
33239
|
+
title: Engine
|
|
32301
33240
|
type: string
|
|
32302
|
-
|
|
32303
|
-
|
|
32304
|
-
|
|
33241
|
+
x-nullable: true
|
|
33242
|
+
description: datasource engine
|
|
33243
|
+
sql:
|
|
33244
|
+
title: SQL
|
|
32305
33245
|
type: string
|
|
32306
|
-
nullable: true
|
|
32307
|
-
|
|
32308
|
-
|
|
33246
|
+
x-nullable: true
|
|
33247
|
+
description: user input text
|
|
33248
|
+
errMassage:
|
|
33249
|
+
title: errMassage
|
|
32309
33250
|
type: string
|
|
32310
|
-
|
|
33251
|
+
x-nullable: true
|
|
33252
|
+
description: execution message
|
|
33253
|
+
createdAt:
|
|
33254
|
+
title: time
|
|
33255
|
+
type: string
|
|
33256
|
+
format: date-time
|
|
33257
|
+
x-go-type: time.Time
|
|
33258
|
+
description: executed time
|
|
33259
|
+
duration:
|
|
33260
|
+
title: duration
|
|
33261
|
+
type: integer
|
|
33262
|
+
format: int64
|
|
33263
|
+
x-nullable: true
|
|
33264
|
+
description: execution duration
|
|
33265
|
+
DmsQueryHistoryList:
|
|
33266
|
+
type: array
|
|
33267
|
+
items:
|
|
33268
|
+
$ref: '#/components/schemas/DmsQueryHistory'
|
|
33269
|
+
DmsVisualExplainRequest:
|
|
32311
33270
|
type: object
|
|
32312
33271
|
properties:
|
|
32313
|
-
|
|
32314
|
-
type: string
|
|
32315
|
-
explainSQL:
|
|
33272
|
+
query:
|
|
32316
33273
|
type: string
|
|
32317
|
-
|
|
32318
|
-
|
|
32319
|
-
engineType:
|
|
33274
|
+
description: the sql string
|
|
33275
|
+
database:
|
|
32320
33276
|
type: string
|
|
32321
|
-
|
|
32322
|
-
|
|
32323
|
-
|
|
33277
|
+
description: the database for explaining the SQL
|
|
33278
|
+
default: ''
|
|
33279
|
+
analyze:
|
|
32324
33280
|
type: boolean
|
|
32325
|
-
|
|
32326
|
-
|
|
32327
|
-
$ref: '#/components/schemas/DmsExecutionPlanRawFormat'
|
|
32328
|
-
rawPlan:
|
|
32329
|
-
type: object
|
|
32330
|
-
description: Engine-native raw plan payload exposed for fallback display. SDKs model it as a free-form JSON object.
|
|
32331
|
-
additionalProperties: true
|
|
32332
|
-
x-omitempty: true
|
|
32333
|
-
rootNodeIds:
|
|
32334
|
-
type: array
|
|
32335
|
-
items:
|
|
32336
|
-
type: string
|
|
32337
|
-
nodes:
|
|
32338
|
-
type: array
|
|
32339
|
-
items:
|
|
32340
|
-
$ref: '#/components/schemas/DmsExecutionPlanNode'
|
|
32341
|
-
edges:
|
|
32342
|
-
type: array
|
|
32343
|
-
items:
|
|
32344
|
-
$ref: '#/components/schemas/DmsExecutionPlanEdge'
|
|
32345
|
-
summary:
|
|
32346
|
-
$ref: '#/components/schemas/DmsExecutionPlanSummary'
|
|
32347
|
-
nullable: true
|
|
32348
|
-
x-omitempty: true
|
|
32349
|
-
warnings:
|
|
32350
|
-
type: array
|
|
32351
|
-
items:
|
|
32352
|
-
$ref: '#/components/schemas/DmsExecutionPlanWarning'
|
|
32353
|
-
fallbackTable:
|
|
32354
|
-
$ref: '#/components/schemas/DmsQueryResponse'
|
|
32355
|
-
nullable: true
|
|
32356
|
-
x-omitempty: true
|
|
33281
|
+
description: whether to run an actual/analyze plan when the engine supports it
|
|
33282
|
+
default: false
|
|
32357
33283
|
DmsGenerateDdlOperationType:
|
|
32358
33284
|
type: string
|
|
32359
33285
|
description: operation type
|