kb-cloud-client-typescript 2.3.21 → 2.3.23

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/src/openapi.yaml CHANGED
@@ -5127,6 +5127,144 @@ paths:
5127
5127
  - cluster
5128
5128
  - shared
5129
5129
  x-codegen-request-body-name: body
5130
+ /api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/spaceAnalysis:
5131
+ get:
5132
+ tags:
5133
+ - diagnostics
5134
+ summary: Get MariaDB space analysis
5135
+ description: Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
5136
+ operationId: getDiagnosticsMariaDBSpaceAnalysis
5137
+ parameters:
5138
+ - name: orgName
5139
+ in: path
5140
+ required: true
5141
+ schema:
5142
+ type: string
5143
+ - name: clusterName
5144
+ in: path
5145
+ required: true
5146
+ schema:
5147
+ type: string
5148
+ - name: databaseName
5149
+ in: query
5150
+ description: Optional database name for table and index details. When omitted, the largest non-system database is selected.
5151
+ required: false
5152
+ schema:
5153
+ type: string
5154
+ responses:
5155
+ '200':
5156
+ description: OK
5157
+ content:
5158
+ application/json:
5159
+ schema:
5160
+ $ref: '#/components/schemas/mysqlSpaceAnalysis'
5161
+ '400':
5162
+ $ref: '#/components/responses/400'
5163
+ '401':
5164
+ $ref: '#/components/responses/401'
5165
+ '403':
5166
+ $ref: '#/components/responses/403'
5167
+ '404':
5168
+ $ref: '#/components/responses/404'
5169
+ '500':
5170
+ $ref: '#/components/responses/500'
5171
+ /api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/sqlAnalysis:
5172
+ get:
5173
+ tags:
5174
+ - diagnostics
5175
+ summary: Get MariaDB SQL analysis
5176
+ description: Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
5177
+ operationId: getDiagnosticsMariaDBSQLAnalysis
5178
+ parameters:
5179
+ - name: orgName
5180
+ in: path
5181
+ description: Organization name
5182
+ required: true
5183
+ schema:
5184
+ type: string
5185
+ - name: clusterName
5186
+ in: path
5187
+ description: Cluster name
5188
+ required: true
5189
+ schema:
5190
+ type: string
5191
+ - name: limit
5192
+ in: query
5193
+ description: Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
5194
+ required: false
5195
+ schema:
5196
+ type: integer
5197
+ format: int64
5198
+ - name: orderBy
5199
+ in: query
5200
+ description: Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
5201
+ required: false
5202
+ schema:
5203
+ type: string
5204
+ responses:
5205
+ '200':
5206
+ description: OK
5207
+ content:
5208
+ application/json:
5209
+ schema:
5210
+ $ref: '#/components/schemas/mysqlSQLAnalysis'
5211
+ '400':
5212
+ $ref: '#/components/responses/400'
5213
+ '401':
5214
+ $ref: '#/components/responses/401'
5215
+ '403':
5216
+ $ref: '#/components/responses/403'
5217
+ '404':
5218
+ $ref: '#/components/responses/404'
5219
+ '500':
5220
+ $ref: '#/components/responses/500'
5221
+ /api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/performanceTrends:
5222
+ get:
5223
+ tags:
5224
+ - diagnostics
5225
+ summary: Get MariaDB performance trends
5226
+ description: Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
5227
+ operationId: getDiagnosticsMariaDBPerformanceTrends
5228
+ parameters:
5229
+ - name: orgName
5230
+ in: path
5231
+ description: Organization name
5232
+ required: true
5233
+ schema:
5234
+ type: string
5235
+ - name: clusterName
5236
+ in: path
5237
+ description: Cluster name
5238
+ required: true
5239
+ schema:
5240
+ type: string
5241
+ - name: range
5242
+ in: query
5243
+ description: Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
5244
+ required: false
5245
+ schema:
5246
+ type: string
5247
+ - name: step
5248
+ in: query
5249
+ description: Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
5250
+ required: false
5251
+ schema:
5252
+ type: string
5253
+ responses:
5254
+ '200':
5255
+ description: OK
5256
+ content:
5257
+ application/json:
5258
+ schema:
5259
+ $ref: '#/components/schemas/performanceTrends'
5260
+ '400':
5261
+ $ref: '#/components/responses/400'
5262
+ '401':
5263
+ $ref: '#/components/responses/401'
5264
+ '403':
5265
+ $ref: '#/components/responses/403'
5266
+ '500':
5267
+ $ref: '#/components/responses/500'
5130
5268
  /api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/spaceAnalysis:
5131
5269
  get:
5132
5270
  tags:
@@ -26294,500 +26432,841 @@ components:
26294
26432
  collectedAt:
26295
26433
  type: string
26296
26434
  description: Backend collection timestamp in UTC.
26297
- mssqlRequest:
26435
+ mysqlSQLFingerprint:
26298
26436
  type: object
26299
26437
  required:
26300
- - requestId
26301
- - startedAt
26302
- - status
26303
- - command
26438
+ - queryID
26439
+ - fingerprint
26440
+ - querySummary
26441
+ - calls
26442
+ - totalTimeMs
26443
+ - meanTimeMs
26444
+ - maxTimeMs
26445
+ - rows
26446
+ - rowsSent
26447
+ - rowsAffected
26448
+ - rowsExamined
26449
+ - lockTimeMs
26450
+ - errors
26451
+ - warnings
26452
+ - tmpTables
26453
+ - tmpDiskTables
26454
+ - noIndexUsed
26455
+ - noGoodIndexUsed
26304
26456
  - database
26305
- - sql
26306
- - sqlTruncated
26307
- - elapsedMs
26308
- - cpuMs
26309
- - reads
26310
- - logicalReads
26311
- - writes
26312
- - waitType
26313
- - waitMs
26314
- - waitResource
26315
- - blockingSessionId
26316
26457
  properties:
26317
- requestId:
26318
- type: integer
26319
- format: int64
26320
- startedAt:
26321
- type: string
26322
- description: Opaque SQL Server local start time, used to detect session or request reuse. Pass back unchanged; it is not a UTC timestamp.
26323
- status:
26324
- type: string
26325
- command:
26458
+ queryID:
26326
26459
  type: string
26327
- database:
26460
+ description: MySQL Performance Schema DIGEST value.
26461
+ fingerprint:
26328
26462
  type: string
26329
- sql:
26463
+ description: Stable SQL fingerprint identifier. M1 uses DIGEST.
26464
+ querySummary:
26330
26465
  type: string
26331
- description: Current statement extracted with byte offsets. Truncated to 8192 characters.
26332
- sqlTruncated:
26333
- type: boolean
26334
- elapsedMs:
26466
+ description: Normalized DIGEST_TEXT. Raw SQL text is intentionally not returned.
26467
+ calls:
26335
26468
  type: integer
26336
26469
  format: int64
26337
- cpuMs:
26470
+ description: Number of executions accumulated in the current digest row.
26471
+ totalTimeMs:
26472
+ type: number
26473
+ format: double
26474
+ description: Total statement wait time in milliseconds.
26475
+ meanTimeMs:
26476
+ type: number
26477
+ format: double
26478
+ description: Mean statement wait time in milliseconds.
26479
+ maxTimeMs:
26480
+ type: number
26481
+ format: double
26482
+ description: Maximum statement wait time in milliseconds.
26483
+ rows:
26338
26484
  type: integer
26339
26485
  format: int64
26340
- reads:
26486
+ description: Sum of rows sent and rows affected.
26487
+ rowsSent:
26341
26488
  type: integer
26342
26489
  format: int64
26343
- logicalReads:
26490
+ description: Total rows sent to clients.
26491
+ rowsAffected:
26344
26492
  type: integer
26345
26493
  format: int64
26346
- writes:
26494
+ description: Total rows affected by statements.
26495
+ rowsExamined:
26347
26496
  type: integer
26348
26497
  format: int64
26349
- waitType:
26350
- type: string
26351
- waitMs:
26498
+ description: Total rows examined by statements.
26499
+ lockTimeMs:
26500
+ type: number
26501
+ format: double
26502
+ description: Total statement lock time in milliseconds.
26503
+ errors:
26352
26504
  type: integer
26353
26505
  format: int64
26354
- waitResource:
26355
- type: string
26356
- blockingSessionId:
26506
+ description: Total statement errors.
26507
+ warnings:
26357
26508
  type: integer
26358
26509
  format: int64
26359
- mssqlSession:
26510
+ description: Total statement warnings.
26511
+ tmpTables:
26512
+ type: integer
26513
+ format: int64
26514
+ description: Total internal temporary tables created.
26515
+ tmpDiskTables:
26516
+ type: integer
26517
+ format: int64
26518
+ description: Total internal on-disk temporary tables created.
26519
+ noIndexUsed:
26520
+ type: integer
26521
+ format: int64
26522
+ description: Executions that used no index.
26523
+ noGoodIndexUsed:
26524
+ type: integer
26525
+ format: int64
26526
+ description: Executions for which no good index was found.
26527
+ database:
26528
+ type: string
26529
+ description: Default schema name associated with the digest row.
26530
+ firstSeen:
26531
+ type: string
26532
+ description: UTC timestamp when the digest was first observed.
26533
+ lastSeen:
26534
+ type: string
26535
+ description: UTC timestamp when the digest was most recently observed.
26536
+ mysqlSQLAnalysis:
26360
26537
  type: object
26361
26538
  required:
26362
- - sessionId
26363
- - startedAt
26539
+ - source
26364
26540
  - status
26365
- - user
26366
- - host
26367
- - application
26368
- - client
26369
- - database
26370
- - openTransactions
26371
- - transactionSeconds
26372
- - lastSql
26373
- - lastSqlTruncated
26374
- - requests
26375
- - requestsTruncated
26541
+ - collectedAt
26542
+ - limit
26543
+ - orderBy
26544
+ - items
26376
26545
  properties:
26377
- sessionId:
26378
- type: integer
26379
- format: int64
26380
- startedAt:
26546
+ source:
26381
26547
  type: string
26382
- description: Opaque SQL Server local start time, used to detect session or request reuse. Pass back unchanged; it is not a UTC timestamp.
26548
+ description: Data source. M1 uses performance_schema.events_statements_summary_by_digest.
26383
26549
  status:
26384
26550
  type: string
26385
- user:
26551
+ description: Source status. Expected values are available or unavailable.
26552
+ unavailableReason:
26386
26553
  type: string
26387
- host:
26554
+ description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
26555
+ message:
26388
26556
  type: string
26389
- application:
26557
+ description: User-facing recovery guidance when SQL analysis is unavailable.
26558
+ collectedAt:
26390
26559
  type: string
26391
- client:
26560
+ description: Backend collection timestamp in UTC. It is not a sampling-window end time.
26561
+ firstSeen:
26392
26562
  type: string
26393
- database:
26563
+ description: Earliest FIRST_SEEN timestamp across currently visible digest rows, when available.
26564
+ lastSeen:
26394
26565
  type: string
26395
- openTransactions:
26566
+ description: Latest LAST_SEEN timestamp across currently visible digest rows, when available.
26567
+ limit:
26396
26568
  type: integer
26397
26569
  format: int64
26398
- transactionSeconds:
26570
+ description: Effective row limit after backend normalization.
26571
+ orderBy:
26572
+ type: string
26573
+ description: Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls.
26574
+ totalTimeMsAll:
26575
+ type: number
26576
+ format: double
26577
+ x-nullable: true
26578
+ description: Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items.
26579
+ callsAll:
26399
26580
  type: integer
26400
26581
  format: int64
26401
- lastSql:
26402
- type: string
26403
- description: Most recent batch on the connection, not necessarily the SQL that acquired its locks. Truncated to 8192 characters.
26404
- lastSqlTruncated:
26405
- type: boolean
26406
- requests:
26582
+ x-nullable: true
26583
+ description: Total execution count across all visible digest rows, not limited to the returned top-N items.
26584
+ digestLost:
26585
+ type: integer
26586
+ format: int64
26587
+ x-nullable: true
26588
+ description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
26589
+ items:
26407
26590
  type: array
26591
+ description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
26408
26592
  items:
26409
- $ref: '#/components/schemas/mssqlRequest'
26410
- requestsTruncated:
26411
- type: boolean
26412
- mssqlSessionSnapshot:
26593
+ $ref: '#/components/schemas/mysqlSQLFingerprint'
26594
+ performanceTrendRange:
26413
26595
  type: object
26414
26596
  required:
26415
- - capturedAt
26416
- - sessions
26417
- - truncated
26597
+ - label
26598
+ - start
26599
+ - end
26600
+ - durationSeconds
26418
26601
  properties:
26419
- capturedAt:
26602
+ label:
26420
26603
  type: string
26421
- sessions:
26422
- type: array
26423
- items:
26424
- $ref: '#/components/schemas/mssqlSession'
26425
- truncated:
26426
- type: boolean
26427
- mssqlWait:
26428
- type: object
26429
- required:
26430
- - sessionId
26431
- - requestId
26432
- - blockingSessionId
26433
- - waitType
26434
- - waitMs
26435
- - resource
26436
- - source
26437
- properties:
26438
- sessionId:
26439
- type: integer
26440
- format: int64
26441
- requestId:
26442
- type: integer
26443
- format: int64
26444
- description: Request ID, or -1 when a waiting task cannot be associated with a live request.
26445
- blockingSessionId:
26446
- type: integer
26447
- format: int64
26448
- description: SQL Server blocking owner. Negative values are special owners, not session IDs.
26449
- waitType:
26604
+ description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
26605
+ start:
26450
26606
  type: string
26451
- waitMs:
26607
+ end:
26608
+ type: string
26609
+ durationSeconds:
26452
26610
  type: integer
26453
26611
  format: int64
26454
- resource:
26455
- type: string
26456
- source:
26457
- type: string
26458
- mssqlLock:
26612
+ performanceTrendSummary:
26459
26613
  type: object
26460
26614
  required:
26461
- - sessionId
26462
- - requestId
26463
- - database
26464
- - resourceType
26465
- - resource
26466
- - entityId
26467
- - mode
26468
- - status
26469
- - ownerType
26615
+ - metric
26616
+ - displayName
26617
+ - category
26618
+ - unit
26619
+ - min
26620
+ - max
26621
+ - avg
26622
+ - latest
26470
26623
  properties:
26471
- sessionId:
26472
- type: integer
26473
- format: int64
26474
- requestId:
26475
- type: integer
26476
- format: int64
26477
- database:
26478
- type: string
26479
- resourceType:
26624
+ metric:
26480
26625
  type: string
26481
- resource:
26626
+ displayName:
26627
+ $ref: '#/components/schemas/localizedDescription'
26628
+ category:
26482
26629
  type: string
26483
- entityId:
26630
+ description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
26631
+ dimension:
26484
26632
  type: string
26485
- mode:
26633
+ description: Optional series dimension. Values include cluster, instance, pvc, and database.
26634
+ labels:
26635
+ type: object
26636
+ additionalProperties:
26637
+ type: string
26638
+ description: Optional dimension labels, for example instance, pvc, role, or datname.
26639
+ unit:
26486
26640
  type: string
26487
- status:
26641
+ warnThreshold:
26642
+ type: number
26643
+ format: double
26644
+ description: Optional warning threshold in the same unit as this metric.
26645
+ critThreshold:
26646
+ type: number
26647
+ format: double
26648
+ description: Optional critical threshold in the same unit as this metric.
26649
+ thresholdDirection:
26488
26650
  type: string
26489
- ownerType:
26651
+ description: Optional threshold direction. Values are above, below, or boolean.
26652
+ min:
26653
+ type: number
26654
+ format: double
26655
+ max:
26656
+ type: number
26657
+ format: double
26658
+ avg:
26659
+ type: number
26660
+ format: double
26661
+ latest:
26662
+ type: number
26663
+ format: double
26664
+ changeDirection:
26490
26665
  type: string
26491
- mssqlLockSnapshot:
26666
+ description: Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
26667
+ performanceTrendPoint:
26492
26668
  type: object
26493
26669
  required:
26494
- - capturedAt
26495
- - sessions
26496
- - waits
26497
- - locks
26498
- - truncated
26670
+ - timestamp
26671
+ - value
26499
26672
  properties:
26500
- capturedAt:
26673
+ timestamp:
26501
26674
  type: string
26502
- sessions:
26503
- type: array
26504
- items:
26505
- $ref: '#/components/schemas/mssqlSession'
26506
- waits:
26507
- type: array
26508
- items:
26509
- $ref: '#/components/schemas/mssqlWait'
26510
- locks:
26511
- type: array
26512
- items:
26513
- $ref: '#/components/schemas/mssqlLock'
26514
- truncated:
26515
- type: boolean
26516
- description: Bounded live DMV observations. Edges are SQL Server reported blocking identifiers. Collection is not atomic; graph cycles are not historical deadlock evidence.
26517
- mssqlCachedPlan:
26675
+ value:
26676
+ type: number
26677
+ format: double
26678
+ performanceTrendSeries:
26518
26679
  type: object
26519
26680
  required:
26520
- - capturedAt
26521
- - xml
26522
- - available
26681
+ - metric
26682
+ - displayName
26683
+ - category
26684
+ - unit
26685
+ - points
26523
26686
  properties:
26524
- capturedAt:
26687
+ metric:
26525
26688
  type: string
26526
- xml:
26689
+ displayName:
26690
+ $ref: '#/components/schemas/localizedDescription'
26691
+ category:
26527
26692
  type: string
26528
- available:
26529
- type: boolean
26530
- description: Cached compiled plan for the selected live request. No captured SQL is executed. This is not an actual runtime plan.
26531
- postgresqlSession:
26532
- type: object
26533
- required:
26534
- - pid
26535
- - user
26536
- - database
26537
- - applicationName
26538
- - clientAddr
26539
- - clientPort
26540
- - state
26541
- - waitEventType
26542
- - waitEvent
26543
- - durationSeconds
26544
- - xactDurationSeconds
26545
- - queryDigest
26546
- - querySummary
26547
- - backendType
26548
- properties:
26549
- pid:
26550
- type: integer
26551
- format: int64
26552
- user:
26553
- type: string
26554
- database:
26693
+ description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
26694
+ dimension:
26555
26695
  type: string
26556
- applicationName:
26696
+ description: Optional series dimension. Values include cluster, instance, pvc, and database.
26697
+ labels:
26698
+ type: object
26699
+ additionalProperties:
26700
+ type: string
26701
+ description: Optional dimension labels, for example instance, pvc, role, or datname.
26702
+ unit:
26557
26703
  type: string
26558
- clientAddr:
26704
+ warnThreshold:
26705
+ type: number
26706
+ format: double
26707
+ description: Optional warning threshold in the same unit as this metric.
26708
+ critThreshold:
26709
+ type: number
26710
+ format: double
26711
+ description: Optional critical threshold in the same unit as this metric.
26712
+ thresholdDirection:
26559
26713
  type: string
26560
- description: Client address.
26561
- clientPort:
26714
+ description: Optional threshold direction. Values are above, below, or boolean.
26715
+ points:
26716
+ type: array
26717
+ items:
26718
+ $ref: '#/components/schemas/performanceTrendPoint'
26719
+ performanceTrendSource:
26720
+ type: object
26721
+ required:
26722
+ - name
26723
+ - kind
26724
+ - status
26725
+ - collectedAt
26726
+ properties:
26727
+ name:
26562
26728
  type: string
26563
- description: Client port.
26564
- state:
26729
+ kind:
26565
26730
  type: string
26566
- waitEventType:
26731
+ status:
26567
26732
  type: string
26568
- waitEvent:
26733
+ description: Coarse source status. Values are success, partial, failed, skipped, or noData.
26734
+ collectedAt:
26569
26735
  type: string
26570
- backendStart:
26736
+ message:
26571
26737
  type: string
26572
- description: Backend start timestamp if available.
26573
- queryStart:
26738
+ performanceTrends:
26739
+ type: object
26740
+ required:
26741
+ - range
26742
+ - granularity
26743
+ - summary
26744
+ - series
26745
+ - sources
26746
+ - warnings
26747
+ - collectedAt
26748
+ properties:
26749
+ range:
26750
+ $ref: '#/components/schemas/performanceTrendRange'
26751
+ granularity:
26574
26752
  type: string
26575
- description: Query start timestamp if available.
26576
- xactStart:
26753
+ description: Controlled backend query step.
26754
+ summary:
26755
+ type: array
26756
+ description: Per-series numeric summary. changeDirection is present only when at least two points exist.
26757
+ items:
26758
+ $ref: '#/components/schemas/performanceTrendSummary'
26759
+ series:
26760
+ type: array
26761
+ description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
26762
+ items:
26763
+ $ref: '#/components/schemas/performanceTrendSeries'
26764
+ sources:
26765
+ type: array
26766
+ description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
26767
+ items:
26768
+ $ref: '#/components/schemas/performanceTrendSource'
26769
+ warnings:
26770
+ type: array
26771
+ items:
26772
+ type: string
26773
+ collectedAt:
26577
26774
  type: string
26578
- description: Transaction start timestamp if available.
26579
- durationSeconds:
26580
- type: integer
26581
- format: int64
26582
- xactDurationSeconds:
26775
+ description: Backend collection timestamp in UTC.
26776
+ mssqlRequest:
26777
+ type: object
26778
+ required:
26779
+ - requestId
26780
+ - startedAt
26781
+ - status
26782
+ - command
26783
+ - database
26784
+ - sql
26785
+ - sqlTruncated
26786
+ - elapsedMs
26787
+ - cpuMs
26788
+ - reads
26789
+ - logicalReads
26790
+ - writes
26791
+ - waitType
26792
+ - waitMs
26793
+ - waitResource
26794
+ - blockingSessionId
26795
+ properties:
26796
+ requestId:
26583
26797
  type: integer
26584
26798
  format: int64
26585
- queryDigest:
26799
+ startedAt:
26586
26800
  type: string
26587
- querySummary:
26801
+ description: Opaque SQL Server local start time, used to detect session or request reuse. Pass back unchanged; it is not a UTC timestamp.
26802
+ status:
26588
26803
  type: string
26589
- backendType:
26804
+ command:
26590
26805
  type: string
26591
- postgresqlSessionList:
26592
- type: array
26593
- items:
26594
- $ref: '#/components/schemas/postgresqlSession'
26595
- postgresqlSpaceSummary:
26596
- type: object
26597
- required:
26598
- - tableCount
26599
- - indexCount
26600
- - toastRelationCount
26601
- - tableListTruncated
26602
- - indexListTruncated
26603
- properties:
26604
- databaseName:
26806
+ database:
26605
26807
  type: string
26606
- databaseSizeBytes:
26808
+ sql:
26809
+ type: string
26810
+ description: Current statement extracted with byte offsets. Truncated to 8192 characters.
26811
+ sqlTruncated:
26812
+ type: boolean
26813
+ elapsedMs:
26607
26814
  type: integer
26608
26815
  format: int64
26609
- tableCount:
26816
+ cpuMs:
26610
26817
  type: integer
26611
26818
  format: int64
26612
- indexCount:
26819
+ reads:
26613
26820
  type: integer
26614
26821
  format: int64
26615
- toastRelationCount:
26822
+ logicalReads:
26616
26823
  type: integer
26617
26824
  format: int64
26618
- largestTableBytes:
26825
+ writes:
26619
26826
  type: integer
26620
26827
  format: int64
26621
- largestIndexBytes:
26828
+ waitType:
26829
+ type: string
26830
+ waitMs:
26622
26831
  type: integer
26623
26832
  format: int64
26624
- tableListTruncated:
26625
- type: boolean
26626
- indexListTruncated:
26627
- type: boolean
26628
- postgresqlStorageInstanceUsage:
26833
+ waitResource:
26834
+ type: string
26835
+ blockingSessionId:
26836
+ type: integer
26837
+ format: int64
26838
+ mssqlSession:
26629
26839
  type: object
26840
+ required:
26841
+ - sessionId
26842
+ - startedAt
26843
+ - status
26844
+ - user
26845
+ - host
26846
+ - application
26847
+ - client
26848
+ - database
26849
+ - openTransactions
26850
+ - transactionSeconds
26851
+ - lastSql
26852
+ - lastSqlTruncated
26853
+ - requests
26854
+ - requestsTruncated
26630
26855
  properties:
26631
- instanceName:
26856
+ sessionId:
26857
+ type: integer
26858
+ format: int64
26859
+ startedAt:
26632
26860
  type: string
26633
- description: Kubernetes pod name for this PostgreSQL replica storage sample.
26634
- pvcName:
26861
+ description: Opaque SQL Server local start time, used to detect session or request reuse. Pass back unchanged; it is not a UTC timestamp.
26862
+ status:
26635
26863
  type: string
26636
- description: PersistentVolumeClaim name when it can be read from metrics labels.
26637
- role:
26864
+ user:
26638
26865
  type: string
26639
- description: Raw PostgreSQL replica role value read from metrics labels, kept aligned with instance detail display.
26640
- componentName:
26866
+ host:
26641
26867
  type: string
26642
- description: Optional KubeBlocks component name when it can be read from metrics labels.
26643
- totalBytes:
26644
- type: integer
26645
- format: int64
26646
- description: Physical PVC capacity in bytes for this replica storage sample.
26647
- usedBytes:
26868
+ application:
26869
+ type: string
26870
+ client:
26871
+ type: string
26872
+ database:
26873
+ type: string
26874
+ openTransactions:
26648
26875
  type: integer
26649
26876
  format: int64
26650
- description: Physical PVC used bytes for this replica storage sample.
26651
- availableBytes:
26877
+ transactionSeconds:
26652
26878
  type: integer
26653
26879
  format: int64
26654
- description: Available bytes derived from totalBytes - usedBytes when both values are available.
26655
- usageRatio:
26656
- type: number
26657
- format: double
26658
- nullable: true
26659
- description: usedBytes / totalBytes for this replica storage sample when both values are available.
26660
- updatedAt:
26661
- type: string
26662
- description: Metrics collection timestamp in UTC.
26663
- source:
26880
+ lastSql:
26664
26881
  type: string
26665
- postgresqlStorageOverview:
26882
+ description: Most recent batch on the connection, not necessarily the SQL that acquired its locks. Truncated to 8192 characters.
26883
+ lastSqlTruncated:
26884
+ type: boolean
26885
+ requests:
26886
+ type: array
26887
+ items:
26888
+ $ref: '#/components/schemas/mssqlRequest'
26889
+ requestsTruncated:
26890
+ type: boolean
26891
+ mssqlSessionSnapshot:
26666
26892
  type: object
26667
26893
  required:
26668
- - source
26669
- - instances
26894
+ - capturedAt
26895
+ - sessions
26896
+ - truncated
26670
26897
  properties:
26671
- source:
26898
+ capturedAt:
26672
26899
  type: string
26673
- instances:
26900
+ sessions:
26674
26901
  type: array
26675
- description: Physical PostgreSQL replica storage usage split by pod/PVC/role.
26676
26902
  items:
26677
- $ref: '#/components/schemas/postgresqlStorageInstanceUsage'
26678
- postgresqlDatabaseSpace:
26679
- type: object
26680
- properties:
26681
- name:
26682
- type: string
26683
- sizeBytes:
26684
- type: integer
26685
- format: int64
26686
- postgresqlTableSpace:
26903
+ $ref: '#/components/schemas/mssqlSession'
26904
+ truncated:
26905
+ type: boolean
26906
+ mssqlWait:
26687
26907
  type: object
26908
+ required:
26909
+ - sessionId
26910
+ - requestId
26911
+ - blockingSessionId
26912
+ - waitType
26913
+ - waitMs
26914
+ - resource
26915
+ - source
26688
26916
  properties:
26689
- database:
26690
- type: string
26691
- schema:
26692
- type: string
26693
- name:
26694
- type: string
26695
- relationOid:
26696
- type: integer
26697
- format: int64
26698
- totalBytes:
26917
+ sessionId:
26699
26918
  type: integer
26700
26919
  format: int64
26701
- tableBytes:
26920
+ requestId:
26702
26921
  type: integer
26703
26922
  format: int64
26704
- indexBytes:
26923
+ description: Request ID, or -1 when a waiting task cannot be associated with a live request.
26924
+ blockingSessionId:
26705
26925
  type: integer
26706
26926
  format: int64
26707
- toastBytes:
26927
+ description: SQL Server blocking owner. Negative values are special owners, not session IDs.
26928
+ waitType:
26929
+ type: string
26930
+ waitMs:
26708
26931
  type: integer
26709
26932
  format: int64
26710
- toastRelationOid:
26933
+ resource:
26934
+ type: string
26935
+ source:
26936
+ type: string
26937
+ mssqlLock:
26938
+ type: object
26939
+ required:
26940
+ - sessionId
26941
+ - requestId
26942
+ - database
26943
+ - resourceType
26944
+ - resource
26945
+ - entityId
26946
+ - mode
26947
+ - status
26948
+ - ownerType
26949
+ properties:
26950
+ sessionId:
26711
26951
  type: integer
26712
26952
  format: int64
26713
- liveTuples:
26953
+ requestId:
26714
26954
  type: integer
26715
26955
  format: int64
26716
- deadTuples:
26956
+ database:
26957
+ type: string
26958
+ resourceType:
26959
+ type: string
26960
+ resource:
26961
+ type: string
26962
+ entityId:
26963
+ type: string
26964
+ mode:
26965
+ type: string
26966
+ status:
26967
+ type: string
26968
+ ownerType:
26969
+ type: string
26970
+ mssqlLockSnapshot:
26971
+ type: object
26972
+ required:
26973
+ - capturedAt
26974
+ - sessions
26975
+ - waits
26976
+ - locks
26977
+ - truncated
26978
+ properties:
26979
+ capturedAt:
26980
+ type: string
26981
+ sessions:
26982
+ type: array
26983
+ items:
26984
+ $ref: '#/components/schemas/mssqlSession'
26985
+ waits:
26986
+ type: array
26987
+ items:
26988
+ $ref: '#/components/schemas/mssqlWait'
26989
+ locks:
26990
+ type: array
26991
+ items:
26992
+ $ref: '#/components/schemas/mssqlLock'
26993
+ truncated:
26994
+ type: boolean
26995
+ description: Bounded live DMV observations. Edges are SQL Server reported blocking identifiers. Collection is not atomic; graph cycles are not historical deadlock evidence.
26996
+ mssqlCachedPlan:
26997
+ type: object
26998
+ required:
26999
+ - capturedAt
27000
+ - xml
27001
+ - available
27002
+ properties:
27003
+ capturedAt:
27004
+ type: string
27005
+ xml:
27006
+ type: string
27007
+ available:
27008
+ type: boolean
27009
+ description: Cached compiled plan for the selected live request. No captured SQL is executed. This is not an actual runtime plan.
27010
+ postgresqlSession:
27011
+ type: object
27012
+ required:
27013
+ - pid
27014
+ - user
27015
+ - database
27016
+ - applicationName
27017
+ - clientAddr
27018
+ - clientPort
27019
+ - state
27020
+ - waitEventType
27021
+ - waitEvent
27022
+ - durationSeconds
27023
+ - xactDurationSeconds
27024
+ - queryDigest
27025
+ - querySummary
27026
+ - backendType
27027
+ properties:
27028
+ pid:
26717
27029
  type: integer
26718
27030
  format: int64
26719
- seqScan:
27031
+ user:
27032
+ type: string
27033
+ database:
27034
+ type: string
27035
+ applicationName:
27036
+ type: string
27037
+ clientAddr:
27038
+ type: string
27039
+ description: Client address.
27040
+ clientPort:
27041
+ type: string
27042
+ description: Client port.
27043
+ state:
27044
+ type: string
27045
+ waitEventType:
27046
+ type: string
27047
+ waitEvent:
27048
+ type: string
27049
+ backendStart:
27050
+ type: string
27051
+ description: Backend start timestamp if available.
27052
+ queryStart:
27053
+ type: string
27054
+ description: Query start timestamp if available.
27055
+ xactStart:
27056
+ type: string
27057
+ description: Transaction start timestamp if available.
27058
+ durationSeconds:
26720
27059
  type: integer
26721
27060
  format: int64
26722
- indexScan:
27061
+ xactDurationSeconds:
26723
27062
  type: integer
26724
27063
  format: int64
26725
- lastVacuum:
26726
- type: string
26727
- lastAutoVacuum:
27064
+ queryDigest:
26728
27065
  type: string
26729
- lastAnalyze:
27066
+ querySummary:
26730
27067
  type: string
26731
- lastAutoAnalyze:
27068
+ backendType:
26732
27069
  type: string
26733
- postgresqlIndexSpace:
27070
+ postgresqlSessionList:
27071
+ type: array
27072
+ items:
27073
+ $ref: '#/components/schemas/postgresqlSession'
27074
+ postgresqlSpaceSummary:
26734
27075
  type: object
27076
+ required:
27077
+ - tableCount
27078
+ - indexCount
27079
+ - toastRelationCount
27080
+ - tableListTruncated
27081
+ - indexListTruncated
26735
27082
  properties:
26736
- database:
26737
- type: string
26738
- schema:
26739
- type: string
26740
- table:
26741
- type: string
26742
- name:
27083
+ databaseName:
26743
27084
  type: string
26744
- tableRelationOid:
27085
+ databaseSizeBytes:
26745
27086
  type: integer
26746
27087
  format: int64
26747
- relationOid:
27088
+ tableCount:
26748
27089
  type: integer
26749
27090
  format: int64
26750
- sizeBytes:
27091
+ indexCount:
26751
27092
  type: integer
26752
27093
  format: int64
26753
- isPrimary:
26754
- type: boolean
26755
- isUnique:
26756
- type: boolean
26757
- scanCount:
27094
+ toastRelationCount:
26758
27095
  type: integer
26759
27096
  format: int64
26760
- tuplesRead:
27097
+ largestTableBytes:
26761
27098
  type: integer
26762
27099
  format: int64
26763
- tuplesFetch:
27100
+ largestIndexBytes:
26764
27101
  type: integer
26765
27102
  format: int64
26766
- postgresqlToastRelationSpace:
27103
+ tableListTruncated:
27104
+ type: boolean
27105
+ indexListTruncated:
27106
+ type: boolean
27107
+ postgresqlStorageInstanceUsage:
26767
27108
  type: object
26768
27109
  properties:
26769
- database:
27110
+ instanceName:
26770
27111
  type: string
26771
- schema:
27112
+ description: Kubernetes pod name for this PostgreSQL replica storage sample.
27113
+ pvcName:
26772
27114
  type: string
26773
- table:
27115
+ description: PersistentVolumeClaim name when it can be read from metrics labels.
27116
+ role:
26774
27117
  type: string
26775
- tableRelationOid:
27118
+ description: Raw PostgreSQL replica role value read from metrics labels, kept aligned with instance detail display.
27119
+ componentName:
27120
+ type: string
27121
+ description: Optional KubeBlocks component name when it can be read from metrics labels.
27122
+ totalBytes:
26776
27123
  type: integer
26777
27124
  format: int64
26778
- toastRelationOid:
27125
+ description: Physical PVC capacity in bytes for this replica storage sample.
27126
+ usedBytes:
26779
27127
  type: integer
26780
27128
  format: int64
26781
- toastBytes:
27129
+ description: Physical PVC used bytes for this replica storage sample.
27130
+ availableBytes:
26782
27131
  type: integer
26783
27132
  format: int64
26784
- postgresqlSpaceSource:
27133
+ description: Available bytes derived from totalBytes - usedBytes when both values are available.
27134
+ usageRatio:
27135
+ type: number
27136
+ format: double
27137
+ nullable: true
27138
+ description: usedBytes / totalBytes for this replica storage sample when both values are available.
27139
+ updatedAt:
27140
+ type: string
27141
+ description: Metrics collection timestamp in UTC.
27142
+ source:
27143
+ type: string
27144
+ postgresqlStorageOverview:
26785
27145
  type: object
26786
27146
  required:
26787
- - name
26788
- - kind
26789
- - status
26790
- - collectedAt
27147
+ - source
27148
+ - instances
27149
+ properties:
27150
+ source:
27151
+ type: string
27152
+ instances:
27153
+ type: array
27154
+ description: Physical PostgreSQL replica storage usage split by pod/PVC/role.
27155
+ items:
27156
+ $ref: '#/components/schemas/postgresqlStorageInstanceUsage'
27157
+ postgresqlDatabaseSpace:
27158
+ type: object
27159
+ properties:
27160
+ name:
27161
+ type: string
27162
+ sizeBytes:
27163
+ type: integer
27164
+ format: int64
27165
+ postgresqlTableSpace:
27166
+ type: object
27167
+ properties:
27168
+ database:
27169
+ type: string
27170
+ schema:
27171
+ type: string
27172
+ name:
27173
+ type: string
27174
+ relationOid:
27175
+ type: integer
27176
+ format: int64
27177
+ totalBytes:
27178
+ type: integer
27179
+ format: int64
27180
+ tableBytes:
27181
+ type: integer
27182
+ format: int64
27183
+ indexBytes:
27184
+ type: integer
27185
+ format: int64
27186
+ toastBytes:
27187
+ type: integer
27188
+ format: int64
27189
+ toastRelationOid:
27190
+ type: integer
27191
+ format: int64
27192
+ liveTuples:
27193
+ type: integer
27194
+ format: int64
27195
+ deadTuples:
27196
+ type: integer
27197
+ format: int64
27198
+ seqScan:
27199
+ type: integer
27200
+ format: int64
27201
+ indexScan:
27202
+ type: integer
27203
+ format: int64
27204
+ lastVacuum:
27205
+ type: string
27206
+ lastAutoVacuum:
27207
+ type: string
27208
+ lastAnalyze:
27209
+ type: string
27210
+ lastAutoAnalyze:
27211
+ type: string
27212
+ postgresqlIndexSpace:
27213
+ type: object
27214
+ properties:
27215
+ database:
27216
+ type: string
27217
+ schema:
27218
+ type: string
27219
+ table:
27220
+ type: string
27221
+ name:
27222
+ type: string
27223
+ tableRelationOid:
27224
+ type: integer
27225
+ format: int64
27226
+ relationOid:
27227
+ type: integer
27228
+ format: int64
27229
+ sizeBytes:
27230
+ type: integer
27231
+ format: int64
27232
+ isPrimary:
27233
+ type: boolean
27234
+ isUnique:
27235
+ type: boolean
27236
+ scanCount:
27237
+ type: integer
27238
+ format: int64
27239
+ tuplesRead:
27240
+ type: integer
27241
+ format: int64
27242
+ tuplesFetch:
27243
+ type: integer
27244
+ format: int64
27245
+ postgresqlToastRelationSpace:
27246
+ type: object
27247
+ properties:
27248
+ database:
27249
+ type: string
27250
+ schema:
27251
+ type: string
27252
+ table:
27253
+ type: string
27254
+ tableRelationOid:
27255
+ type: integer
27256
+ format: int64
27257
+ toastRelationOid:
27258
+ type: integer
27259
+ format: int64
27260
+ toastBytes:
27261
+ type: integer
27262
+ format: int64
27263
+ postgresqlSpaceSource:
27264
+ type: object
27265
+ required:
27266
+ - name
27267
+ - kind
27268
+ - status
27269
+ - collectedAt
26791
27270
  properties:
26792
27271
  name:
26793
27272
  type: string
@@ -27334,347 +27813,6 @@ components:
27334
27813
  explainResult:
27335
27814
  $ref: '#/components/schemas/DmsExecutionPlanResult'
27336
27815
  description: Normalized DMS estimated visual plan. The resolved statement and generated EXPLAIN SQL are intentionally removed.
27337
- mysqlSQLFingerprint:
27338
- type: object
27339
- required:
27340
- - queryID
27341
- - fingerprint
27342
- - querySummary
27343
- - calls
27344
- - totalTimeMs
27345
- - meanTimeMs
27346
- - maxTimeMs
27347
- - rows
27348
- - rowsSent
27349
- - rowsAffected
27350
- - rowsExamined
27351
- - lockTimeMs
27352
- - errors
27353
- - warnings
27354
- - tmpTables
27355
- - tmpDiskTables
27356
- - noIndexUsed
27357
- - noGoodIndexUsed
27358
- - database
27359
- properties:
27360
- queryID:
27361
- type: string
27362
- description: MySQL Performance Schema DIGEST value.
27363
- fingerprint:
27364
- type: string
27365
- description: Stable SQL fingerprint identifier. M1 uses DIGEST.
27366
- querySummary:
27367
- type: string
27368
- description: Normalized DIGEST_TEXT. Raw SQL text is intentionally not returned.
27369
- calls:
27370
- type: integer
27371
- format: int64
27372
- description: Number of executions accumulated in the current digest row.
27373
- totalTimeMs:
27374
- type: number
27375
- format: double
27376
- description: Total statement wait time in milliseconds.
27377
- meanTimeMs:
27378
- type: number
27379
- format: double
27380
- description: Mean statement wait time in milliseconds.
27381
- maxTimeMs:
27382
- type: number
27383
- format: double
27384
- description: Maximum statement wait time in milliseconds.
27385
- rows:
27386
- type: integer
27387
- format: int64
27388
- description: Sum of rows sent and rows affected.
27389
- rowsSent:
27390
- type: integer
27391
- format: int64
27392
- description: Total rows sent to clients.
27393
- rowsAffected:
27394
- type: integer
27395
- format: int64
27396
- description: Total rows affected by statements.
27397
- rowsExamined:
27398
- type: integer
27399
- format: int64
27400
- description: Total rows examined by statements.
27401
- lockTimeMs:
27402
- type: number
27403
- format: double
27404
- description: Total statement lock time in milliseconds.
27405
- errors:
27406
- type: integer
27407
- format: int64
27408
- description: Total statement errors.
27409
- warnings:
27410
- type: integer
27411
- format: int64
27412
- description: Total statement warnings.
27413
- tmpTables:
27414
- type: integer
27415
- format: int64
27416
- description: Total internal temporary tables created.
27417
- tmpDiskTables:
27418
- type: integer
27419
- format: int64
27420
- description: Total internal on-disk temporary tables created.
27421
- noIndexUsed:
27422
- type: integer
27423
- format: int64
27424
- description: Executions that used no index.
27425
- noGoodIndexUsed:
27426
- type: integer
27427
- format: int64
27428
- description: Executions for which no good index was found.
27429
- database:
27430
- type: string
27431
- description: Default schema name associated with the digest row.
27432
- firstSeen:
27433
- type: string
27434
- description: UTC timestamp when the digest was first observed.
27435
- lastSeen:
27436
- type: string
27437
- description: UTC timestamp when the digest was most recently observed.
27438
- mysqlSQLAnalysis:
27439
- type: object
27440
- required:
27441
- - source
27442
- - status
27443
- - collectedAt
27444
- - limit
27445
- - orderBy
27446
- - items
27447
- properties:
27448
- source:
27449
- type: string
27450
- description: Data source. M1 uses performance_schema.events_statements_summary_by_digest.
27451
- status:
27452
- type: string
27453
- description: Source status. Expected values are available or unavailable.
27454
- unavailableReason:
27455
- type: string
27456
- description: Reason when status is unavailable, such as performance_schema_disabled, digest_consumer_disabled, permission_denied, or query_failed.
27457
- message:
27458
- type: string
27459
- description: User-facing recovery guidance when SQL analysis is unavailable.
27460
- collectedAt:
27461
- type: string
27462
- description: Backend collection timestamp in UTC. It is not a sampling-window end time.
27463
- firstSeen:
27464
- type: string
27465
- description: Earliest FIRST_SEEN timestamp across currently visible digest rows, when available.
27466
- lastSeen:
27467
- type: string
27468
- description: Latest LAST_SEEN timestamp across currently visible digest rows, when available.
27469
- limit:
27470
- type: integer
27471
- format: int64
27472
- description: Effective row limit after backend normalization.
27473
- orderBy:
27474
- type: string
27475
- description: Effective sort key. Expected values are totalTime, meanTime, maxTime, or calls.
27476
- totalTimeMsAll:
27477
- type: number
27478
- format: double
27479
- x-nullable: true
27480
- description: Total execution time in milliseconds across all visible digest rows, not limited to the returned top-N items.
27481
- callsAll:
27482
- type: integer
27483
- format: int64
27484
- x-nullable: true
27485
- description: Total execution count across all visible digest rows, not limited to the returned top-N items.
27486
- digestLost:
27487
- type: integer
27488
- format: int64
27489
- x-nullable: true
27490
- description: Number of statement digests not recorded because the digest table was full, when exposed by the server.
27491
- items:
27492
- type: array
27493
- description: SQL fingerprint ranking rows from Performance Schema. The list may be empty when no statement statistics exist.
27494
- items:
27495
- $ref: '#/components/schemas/mysqlSQLFingerprint'
27496
- performanceTrendRange:
27497
- type: object
27498
- required:
27499
- - label
27500
- - start
27501
- - end
27502
- - durationSeconds
27503
- properties:
27504
- label:
27505
- type: string
27506
- description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
27507
- start:
27508
- type: string
27509
- end:
27510
- type: string
27511
- durationSeconds:
27512
- type: integer
27513
- format: int64
27514
- performanceTrendSummary:
27515
- type: object
27516
- required:
27517
- - metric
27518
- - displayName
27519
- - category
27520
- - unit
27521
- - min
27522
- - max
27523
- - avg
27524
- - latest
27525
- properties:
27526
- metric:
27527
- type: string
27528
- displayName:
27529
- $ref: '#/components/schemas/localizedDescription'
27530
- category:
27531
- type: string
27532
- description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
27533
- dimension:
27534
- type: string
27535
- description: Optional series dimension. Values include cluster, instance, pvc, and database.
27536
- labels:
27537
- type: object
27538
- additionalProperties:
27539
- type: string
27540
- description: Optional dimension labels, for example instance, pvc, role, or datname.
27541
- unit:
27542
- type: string
27543
- warnThreshold:
27544
- type: number
27545
- format: double
27546
- description: Optional warning threshold in the same unit as this metric.
27547
- critThreshold:
27548
- type: number
27549
- format: double
27550
- description: Optional critical threshold in the same unit as this metric.
27551
- thresholdDirection:
27552
- type: string
27553
- description: Optional threshold direction. Values are above, below, or boolean.
27554
- min:
27555
- type: number
27556
- format: double
27557
- max:
27558
- type: number
27559
- format: double
27560
- avg:
27561
- type: number
27562
- format: double
27563
- latest:
27564
- type: number
27565
- format: double
27566
- changeDirection:
27567
- type: string
27568
- description: Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
27569
- performanceTrendPoint:
27570
- type: object
27571
- required:
27572
- - timestamp
27573
- - value
27574
- properties:
27575
- timestamp:
27576
- type: string
27577
- value:
27578
- type: number
27579
- format: double
27580
- performanceTrendSeries:
27581
- type: object
27582
- required:
27583
- - metric
27584
- - displayName
27585
- - category
27586
- - unit
27587
- - points
27588
- properties:
27589
- metric:
27590
- type: string
27591
- displayName:
27592
- $ref: '#/components/schemas/localizedDescription'
27593
- category:
27594
- type: string
27595
- description: Metric category. Values include availability, performance, connections, resource, capacity, innodb, and vacuumWraparound.
27596
- dimension:
27597
- type: string
27598
- description: Optional series dimension. Values include cluster, instance, pvc, and database.
27599
- labels:
27600
- type: object
27601
- additionalProperties:
27602
- type: string
27603
- description: Optional dimension labels, for example instance, pvc, role, or datname.
27604
- unit:
27605
- type: string
27606
- warnThreshold:
27607
- type: number
27608
- format: double
27609
- description: Optional warning threshold in the same unit as this metric.
27610
- critThreshold:
27611
- type: number
27612
- format: double
27613
- description: Optional critical threshold in the same unit as this metric.
27614
- thresholdDirection:
27615
- type: string
27616
- description: Optional threshold direction. Values are above, below, or boolean.
27617
- points:
27618
- type: array
27619
- items:
27620
- $ref: '#/components/schemas/performanceTrendPoint'
27621
- performanceTrendSource:
27622
- type: object
27623
- required:
27624
- - name
27625
- - kind
27626
- - status
27627
- - collectedAt
27628
- properties:
27629
- name:
27630
- type: string
27631
- kind:
27632
- type: string
27633
- status:
27634
- type: string
27635
- description: Coarse source status. Values are success, partial, failed, skipped, or noData.
27636
- collectedAt:
27637
- type: string
27638
- message:
27639
- type: string
27640
- performanceTrends:
27641
- type: object
27642
- required:
27643
- - range
27644
- - granularity
27645
- - summary
27646
- - series
27647
- - sources
27648
- - warnings
27649
- - collectedAt
27650
- properties:
27651
- range:
27652
- $ref: '#/components/schemas/performanceTrendRange'
27653
- granularity:
27654
- type: string
27655
- description: Controlled backend query step.
27656
- summary:
27657
- type: array
27658
- description: Per-series numeric summary. changeDirection is present only when at least two points exist.
27659
- items:
27660
- $ref: '#/components/schemas/performanceTrendSummary'
27661
- series:
27662
- type: array
27663
- description: Successfully collected and displayable metric series only. Unsupported, empty, or failed metrics are not represented as per-metric entries.
27664
- items:
27665
- $ref: '#/components/schemas/performanceTrendSeries'
27666
- sources:
27667
- type: array
27668
- description: Coarse collection source status. Messages are sanitized and do not expose PromQL, endpoints, credentials, or raw internal errors.
27669
- items:
27670
- $ref: '#/components/schemas/performanceTrendSource'
27671
- warnings:
27672
- type: array
27673
- items:
27674
- type: string
27675
- collectedAt:
27676
- type: string
27677
- description: Backend collection timestamp in UTC.
27678
27816
  elasticsearchHotThreadsType:
27679
27817
  type: string
27680
27818
  enum: