kb-cloud-client-typescript 2.3.0-alpha.116 → 2.3.0-alpha.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/cluster-log-api.d.ts +211 -19
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +142 -22
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +211 -19
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +142 -22
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +214 -22
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +144 -24
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +214 -22
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +144 -24
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-log-api.ts +337 -25
- package/src/adminapi/apis/shared-api.ts +337 -25
- package/src/adminapi.yaml +131 -3
- package/src/openapi/apis/cluster-log-api.ts +340 -28
- package/src/openapi/apis/shared-api.ts +340 -28
- package/src/openapi.yaml +132 -4
package/src/openapi.yaml
CHANGED
|
@@ -2586,6 +2586,70 @@ paths:
|
|
|
2586
2586
|
name: query
|
|
2587
2587
|
schema:
|
|
2588
2588
|
type: string
|
|
2589
|
+
- in: query
|
|
2590
|
+
name: minExecutionTime
|
|
2591
|
+
description: Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2592
|
+
schema:
|
|
2593
|
+
type: number
|
|
2594
|
+
format: double
|
|
2595
|
+
- in: query
|
|
2596
|
+
name: maxExecutionTime
|
|
2597
|
+
description: Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2598
|
+
schema:
|
|
2599
|
+
type: number
|
|
2600
|
+
format: double
|
|
2601
|
+
- in: query
|
|
2602
|
+
name: minLockTime
|
|
2603
|
+
description: Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2604
|
+
schema:
|
|
2605
|
+
type: number
|
|
2606
|
+
format: double
|
|
2607
|
+
- in: query
|
|
2608
|
+
name: maxLockTime
|
|
2609
|
+
description: Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2610
|
+
schema:
|
|
2611
|
+
type: number
|
|
2612
|
+
format: double
|
|
2613
|
+
- in: query
|
|
2614
|
+
name: minRowsExamined
|
|
2615
|
+
schema:
|
|
2616
|
+
type: integer
|
|
2617
|
+
format: int64
|
|
2618
|
+
- in: query
|
|
2619
|
+
name: maxRowsExamined
|
|
2620
|
+
schema:
|
|
2621
|
+
type: integer
|
|
2622
|
+
format: int64
|
|
2623
|
+
- in: query
|
|
2624
|
+
name: minRowsSent
|
|
2625
|
+
schema:
|
|
2626
|
+
type: integer
|
|
2627
|
+
format: int64
|
|
2628
|
+
- in: query
|
|
2629
|
+
name: maxRowsSent
|
|
2630
|
+
schema:
|
|
2631
|
+
type: integer
|
|
2632
|
+
format: int64
|
|
2633
|
+
- in: query
|
|
2634
|
+
name: dbName
|
|
2635
|
+
description: Filter slow logs whose database name contains this value.
|
|
2636
|
+
schema:
|
|
2637
|
+
type: string
|
|
2638
|
+
- in: query
|
|
2639
|
+
name: userName
|
|
2640
|
+
description: Filter slow logs whose user name contains this value.
|
|
2641
|
+
schema:
|
|
2642
|
+
type: string
|
|
2643
|
+
- in: query
|
|
2644
|
+
name: clientIp
|
|
2645
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2646
|
+
schema:
|
|
2647
|
+
type: string
|
|
2648
|
+
- in: query
|
|
2649
|
+
name: appName
|
|
2650
|
+
description: Filter slow logs whose application name contains this value.
|
|
2651
|
+
schema:
|
|
2652
|
+
type: string
|
|
2589
2653
|
responses:
|
|
2590
2654
|
'200':
|
|
2591
2655
|
content:
|
|
@@ -2649,6 +2713,70 @@ paths:
|
|
|
2649
2713
|
name: query
|
|
2650
2714
|
schema:
|
|
2651
2715
|
type: string
|
|
2716
|
+
- in: query
|
|
2717
|
+
name: minExecutionTime
|
|
2718
|
+
description: Minimum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2719
|
+
schema:
|
|
2720
|
+
type: number
|
|
2721
|
+
format: double
|
|
2722
|
+
- in: query
|
|
2723
|
+
name: maxExecutionTime
|
|
2724
|
+
description: Maximum slow log execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2725
|
+
schema:
|
|
2726
|
+
type: number
|
|
2727
|
+
format: double
|
|
2728
|
+
- in: query
|
|
2729
|
+
name: minLockTime
|
|
2730
|
+
description: Minimum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2731
|
+
schema:
|
|
2732
|
+
type: number
|
|
2733
|
+
format: double
|
|
2734
|
+
- in: query
|
|
2735
|
+
name: maxLockTime
|
|
2736
|
+
description: Maximum slow log lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2737
|
+
schema:
|
|
2738
|
+
type: number
|
|
2739
|
+
format: double
|
|
2740
|
+
- in: query
|
|
2741
|
+
name: minRowsExamined
|
|
2742
|
+
schema:
|
|
2743
|
+
type: integer
|
|
2744
|
+
format: int64
|
|
2745
|
+
- in: query
|
|
2746
|
+
name: maxRowsExamined
|
|
2747
|
+
schema:
|
|
2748
|
+
type: integer
|
|
2749
|
+
format: int64
|
|
2750
|
+
- in: query
|
|
2751
|
+
name: minRowsSent
|
|
2752
|
+
schema:
|
|
2753
|
+
type: integer
|
|
2754
|
+
format: int64
|
|
2755
|
+
- in: query
|
|
2756
|
+
name: maxRowsSent
|
|
2757
|
+
schema:
|
|
2758
|
+
type: integer
|
|
2759
|
+
format: int64
|
|
2760
|
+
- in: query
|
|
2761
|
+
name: dbName
|
|
2762
|
+
description: Filter slow logs whose database name contains this value.
|
|
2763
|
+
schema:
|
|
2764
|
+
type: string
|
|
2765
|
+
- in: query
|
|
2766
|
+
name: userName
|
|
2767
|
+
description: Filter slow logs whose user name contains this value.
|
|
2768
|
+
schema:
|
|
2769
|
+
type: string
|
|
2770
|
+
- in: query
|
|
2771
|
+
name: clientIp
|
|
2772
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
2773
|
+
schema:
|
|
2774
|
+
type: string
|
|
2775
|
+
- in: query
|
|
2776
|
+
name: appName
|
|
2777
|
+
description: Filter slow logs whose application name contains this value.
|
|
2778
|
+
schema:
|
|
2779
|
+
type: string
|
|
2652
2780
|
responses:
|
|
2653
2781
|
'200':
|
|
2654
2782
|
content:
|
|
@@ -2808,7 +2936,7 @@ paths:
|
|
|
2808
2936
|
- shared
|
|
2809
2937
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/aggregate:
|
|
2810
2938
|
get:
|
|
2811
|
-
description: Aggregate slow logs of a cluster (Victoria Logs backend only)
|
|
2939
|
+
description: Aggregate slow logs of a cluster over the full requested time range (Victoria Logs backend only). The result is not limited by the slow log list page size.
|
|
2812
2940
|
summary: Aggregate cluster slow logs
|
|
2813
2941
|
operationId: aggregateSlowLogs
|
|
2814
2942
|
parameters:
|
|
@@ -2953,7 +3081,7 @@ paths:
|
|
|
2953
3081
|
- shared
|
|
2954
3082
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/stats:
|
|
2955
3083
|
get:
|
|
2956
|
-
description: Get statistics summary for slow logs of a cluster
|
|
3084
|
+
description: Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
2957
3085
|
summary: Get cluster slow log statistics
|
|
2958
3086
|
operationId: getSlowLogStats
|
|
2959
3087
|
parameters:
|
|
@@ -3214,7 +3342,7 @@ paths:
|
|
|
3214
3342
|
- shared
|
|
3215
3343
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/hits:
|
|
3216
3344
|
get:
|
|
3217
|
-
description: Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
|
|
3345
|
+
description: Query log hits histogram for time-bucketed log counts (VictoriaLogs only). When logType=slow, buckets also include avgExecutionTime in seconds; templateId can be supplied for slow template trends.
|
|
3218
3346
|
summary: Query log hits histogram
|
|
3219
3347
|
operationId: queryLogHits
|
|
3220
3348
|
parameters:
|
|
@@ -3526,7 +3654,7 @@ paths:
|
|
|
3526
3654
|
schema:
|
|
3527
3655
|
type: string
|
|
3528
3656
|
default: csv
|
|
3529
|
-
description: 'Export format: csv, raw, jsonl'
|
|
3657
|
+
description: 'Export format: csv, raw, jsonl. The JSON-style slow log export format is newline-delimited JSON (jsonl), not a single JSON array.'
|
|
3530
3658
|
- in: query
|
|
3531
3659
|
name: query
|
|
3532
3660
|
schema:
|