kb-cloud-client-typescript 2.3.0-alpha.134 → 2.3.0-alpha.136
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 +6 -6
- package/dist/adminapi/apis/diagnostics-api.js +4 -4
- package/dist/adminapi/apis/dms-api.d.ts +120 -0
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +109 -0
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +9 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +9 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/performance-trend-range.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-series.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.js +16 -0
- package/dist/adminapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.js +16 -0
- package/dist/adminapi/models/redis-analysis-key.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.js +16 -0
- package/dist/adminapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.js +16 -0
- package/dist/adminapi/models/redis-analysis-response.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts +6 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +6 -6
- package/dist/openapi/apis/diagnostics-api.js +4 -4
- package/dist/openapi/apis/dms-api.d.ts +120 -0
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +109 -0
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +9 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +9 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/performance-trend-range.d.ts +1 -1
- package/dist/openapi/models/performance-trend-series.d.ts +1 -1
- package/dist/openapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.js +16 -0
- package/dist/openapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/openapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/openapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-key.js +16 -0
- package/dist/openapi/models/redis-analysis-key.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.js +16 -0
- package/dist/openapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/openapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/openapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-response.js +16 -0
- package/dist/openapi/models/redis-analysis-response.js.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts +6 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +9 -0
- package/src/adminapi/apis/diagnostics-api.ts +6 -6
- package/src/adminapi/apis/dms-api.ts +204 -0
- package/src/adminapi/models/index.ts +9 -0
- package/src/adminapi/models/performance-trend-range.ts +1 -1
- package/src/adminapi/models/performance-trend-series.ts +1 -1
- package/src/adminapi/models/performance-trend-summary.ts +1 -1
- package/src/adminapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/adminapi/models/redis-analysis-filter.ts +36 -0
- package/src/adminapi/models/redis-analysis-key.ts +66 -0
- package/src/adminapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/adminapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/adminapi/models/redis-analysis-progress.ts +90 -0
- package/src/adminapi/models/redis-analysis-response.ts +132 -0
- package/src/adminapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/adminapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/adminapi/models/redis-data-capabilities.ts +6 -0
- package/src/adminapi.yaml +304 -5
- package/src/openapi/.openapi-generator/FILES +9 -0
- package/src/openapi/apis/diagnostics-api.ts +6 -6
- package/src/openapi/apis/dms-api.ts +204 -0
- package/src/openapi/models/index.ts +9 -0
- package/src/openapi/models/performance-trend-range.ts +1 -1
- package/src/openapi/models/performance-trend-series.ts +1 -1
- package/src/openapi/models/performance-trend-summary.ts +1 -1
- package/src/openapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/openapi/models/redis-analysis-filter.ts +36 -0
- package/src/openapi/models/redis-analysis-key.ts +66 -0
- package/src/openapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/openapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/openapi/models/redis-analysis-progress.ts +90 -0
- package/src/openapi/models/redis-analysis-response.ts +132 -0
- package/src/openapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/openapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/openapi/models/redis-data-capabilities.ts +6 -0
- package/src/openapi.yaml +304 -5
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { RedisAnalysisExpirationGroup } from './redis-analysis-expiration-group';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { RedisAnalysisFilter } from './redis-analysis-filter';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { RedisAnalysisKey } from './redis-analysis-key';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { RedisAnalysisNamespaceSummary } from './redis-analysis-namespace-summary';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { RedisAnalysisProgress } from './redis-analysis-progress';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { RedisAnalysisTypedSummary } from './redis-analysis-typed-summary';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Instant Redis key analysis report sampled by bounded SCAN. This aligns with RedisInsight-style analysis dimensions but is not a persisted historical report.
|
|
37
|
+
* @export
|
|
38
|
+
* @interface RedisAnalysisResponse
|
|
39
|
+
*/
|
|
40
|
+
export interface RedisAnalysisResponse {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof RedisAnalysisResponse
|
|
45
|
+
*/
|
|
46
|
+
'db'?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {RedisAnalysisFilter}
|
|
50
|
+
* @memberof RedisAnalysisResponse
|
|
51
|
+
*/
|
|
52
|
+
'filter'?: RedisAnalysisFilter;
|
|
53
|
+
/**
|
|
54
|
+
* Actual delimiter used to aggregate top namespaces.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RedisAnalysisResponse
|
|
57
|
+
*/
|
|
58
|
+
'delimiter'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {RedisAnalysisProgress}
|
|
62
|
+
* @memberof RedisAnalysisResponse
|
|
63
|
+
*/
|
|
64
|
+
'progress'?: RedisAnalysisProgress;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof RedisAnalysisResponse
|
|
69
|
+
*/
|
|
70
|
+
'createdAt'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Connected client count from Redis INFO when available.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof RedisAnalysisResponse
|
|
75
|
+
*/
|
|
76
|
+
'connectedClients'?: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {RedisAnalysisTypedSummary}
|
|
80
|
+
* @memberof RedisAnalysisResponse
|
|
81
|
+
*/
|
|
82
|
+
'totalKeys'?: RedisAnalysisTypedSummary;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {RedisAnalysisTypedSummary}
|
|
86
|
+
* @memberof RedisAnalysisResponse
|
|
87
|
+
*/
|
|
88
|
+
'totalMemory'?: RedisAnalysisTypedSummary;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<RedisAnalysisNamespaceSummary>}
|
|
92
|
+
* @memberof RedisAnalysisResponse
|
|
93
|
+
*/
|
|
94
|
+
'topKeysNsp'?: Array<RedisAnalysisNamespaceSummary>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<RedisAnalysisNamespaceSummary>}
|
|
98
|
+
* @memberof RedisAnalysisResponse
|
|
99
|
+
*/
|
|
100
|
+
'topMemoryNsp'?: Array<RedisAnalysisNamespaceSummary>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Array<RedisAnalysisKey>}
|
|
104
|
+
* @memberof RedisAnalysisResponse
|
|
105
|
+
*/
|
|
106
|
+
'topKeysLength'?: Array<RedisAnalysisKey>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {Array<RedisAnalysisKey>}
|
|
110
|
+
* @memberof RedisAnalysisResponse
|
|
111
|
+
*/
|
|
112
|
+
'topKeysMemory'?: Array<RedisAnalysisKey>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {Array<RedisAnalysisExpirationGroup>}
|
|
116
|
+
* @memberof RedisAnalysisResponse
|
|
117
|
+
*/
|
|
118
|
+
'expirationGroups'?: Array<RedisAnalysisExpirationGroup>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Array<string>}
|
|
122
|
+
* @memberof RedisAnalysisResponse
|
|
123
|
+
*/
|
|
124
|
+
'warnings'?: Array<string>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Array<string>}
|
|
128
|
+
* @memberof RedisAnalysisResponse
|
|
129
|
+
*/
|
|
130
|
+
'recommendations'?: Array<string>;
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RedisAnalysisSimpleTypeSummary
|
|
21
|
+
*/
|
|
22
|
+
export interface RedisAnalysisSimpleTypeSummary {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RedisAnalysisSimpleTypeSummary
|
|
27
|
+
*/
|
|
28
|
+
'type'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof RedisAnalysisSimpleTypeSummary
|
|
33
|
+
*/
|
|
34
|
+
'total'?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RedisAnalysisSimpleTypeSummary
|
|
39
|
+
*/
|
|
40
|
+
'ratio'?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { RedisAnalysisSimpleTypeSummary } from './redis-analysis-simple-type-summary';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface RedisAnalysisTypedSummary
|
|
24
|
+
*/
|
|
25
|
+
export interface RedisAnalysisTypedSummary {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof RedisAnalysisTypedSummary
|
|
30
|
+
*/
|
|
31
|
+
'total'?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<RedisAnalysisSimpleTypeSummary>}
|
|
35
|
+
* @memberof RedisAnalysisTypedSummary
|
|
36
|
+
*/
|
|
37
|
+
'types'?: Array<RedisAnalysisSimpleTypeSummary>;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -23,6 +23,12 @@ import type { RedisCapability } from './redis-capability';
|
|
|
23
23
|
* @interface RedisDataCapabilities
|
|
24
24
|
*/
|
|
25
25
|
export interface RedisDataCapabilities {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {RedisCapability}
|
|
29
|
+
* @memberof RedisDataCapabilities
|
|
30
|
+
*/
|
|
31
|
+
'analysis'?: RedisCapability;
|
|
26
32
|
/**
|
|
27
33
|
*
|
|
28
34
|
* @type {RedisCapability}
|
package/src/adminapi.yaml
CHANGED
|
@@ -5400,6 +5400,74 @@ paths:
|
|
|
5400
5400
|
application/json:
|
|
5401
5401
|
schema:
|
|
5402
5402
|
$ref: '#/components/schemas/RedisKeySummaryList'
|
|
5403
|
+
/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/analysis:
|
|
5404
|
+
get:
|
|
5405
|
+
tags:
|
|
5406
|
+
- dms
|
|
5407
|
+
operationId: analyzeRedisKeys
|
|
5408
|
+
summary: analyze Redis keys by bounded SCAN sampling
|
|
5409
|
+
description: Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
5410
|
+
parameters:
|
|
5411
|
+
- name: orgName
|
|
5412
|
+
in: path
|
|
5413
|
+
required: true
|
|
5414
|
+
schema:
|
|
5415
|
+
type: string
|
|
5416
|
+
- name: clusterName
|
|
5417
|
+
in: path
|
|
5418
|
+
required: true
|
|
5419
|
+
schema:
|
|
5420
|
+
type: string
|
|
5421
|
+
- name: id
|
|
5422
|
+
in: path
|
|
5423
|
+
required: true
|
|
5424
|
+
schema:
|
|
5425
|
+
type: string
|
|
5426
|
+
- name: database
|
|
5427
|
+
in: query
|
|
5428
|
+
required: false
|
|
5429
|
+
schema:
|
|
5430
|
+
type: integer
|
|
5431
|
+
format: int64
|
|
5432
|
+
- name: match
|
|
5433
|
+
in: query
|
|
5434
|
+
description: Redis SCAN match pattern.
|
|
5435
|
+
required: false
|
|
5436
|
+
schema:
|
|
5437
|
+
type: string
|
|
5438
|
+
- name: cursor
|
|
5439
|
+
in: query
|
|
5440
|
+
description: Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
5441
|
+
required: false
|
|
5442
|
+
schema:
|
|
5443
|
+
type: string
|
|
5444
|
+
- name: sampleLimit
|
|
5445
|
+
in: query
|
|
5446
|
+
description: Maximum number of keys to sample in this analysis request.
|
|
5447
|
+
required: false
|
|
5448
|
+
schema:
|
|
5449
|
+
type: integer
|
|
5450
|
+
format: int64
|
|
5451
|
+
- name: topN
|
|
5452
|
+
in: query
|
|
5453
|
+
description: Maximum number of top keys or namespaces to return.
|
|
5454
|
+
required: false
|
|
5455
|
+
schema:
|
|
5456
|
+
type: integer
|
|
5457
|
+
format: int64
|
|
5458
|
+
- name: namespaceSeparator
|
|
5459
|
+
in: query
|
|
5460
|
+
description: Separator used to group key namespaces.
|
|
5461
|
+
required: false
|
|
5462
|
+
schema:
|
|
5463
|
+
type: string
|
|
5464
|
+
responses:
|
|
5465
|
+
'200':
|
|
5466
|
+
description: analyze redis key sample success
|
|
5467
|
+
content:
|
|
5468
|
+
application/json:
|
|
5469
|
+
schema:
|
|
5470
|
+
$ref: '#/components/schemas/RedisAnalysisResponse'
|
|
5403
5471
|
/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/key/detail:
|
|
5404
5472
|
post:
|
|
5405
5473
|
tags:
|
|
@@ -19975,13 +20043,13 @@ paths:
|
|
|
19975
20043
|
type: string
|
|
19976
20044
|
- name: range
|
|
19977
20045
|
in: query
|
|
19978
|
-
description: Controlled query range. Allowed values are 1h, 6h, and
|
|
20046
|
+
description: Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
19979
20047
|
required: false
|
|
19980
20048
|
schema:
|
|
19981
20049
|
type: string
|
|
19982
20050
|
- name: step
|
|
19983
20051
|
in: query
|
|
19984
|
-
description: Controlled query granularity. Allowed values are 1m, 5m, and
|
|
20052
|
+
description: Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
|
|
19985
20053
|
required: false
|
|
19986
20054
|
schema:
|
|
19987
20055
|
type: string
|
|
@@ -26200,6 +26268,8 @@ components:
|
|
|
26200
26268
|
RedisDataCapabilities:
|
|
26201
26269
|
type: object
|
|
26202
26270
|
properties:
|
|
26271
|
+
analysis:
|
|
26272
|
+
$ref: '#/components/schemas/RedisCapability'
|
|
26203
26273
|
browser:
|
|
26204
26274
|
$ref: '#/components/schemas/RedisCapability'
|
|
26205
26275
|
workbench:
|
|
@@ -26315,6 +26385,235 @@ components:
|
|
|
26315
26385
|
type: boolean
|
|
26316
26386
|
description: Whether another key page should be requested.
|
|
26317
26387
|
x-omitempty: false
|
|
26388
|
+
RedisAnalysisFilter:
|
|
26389
|
+
type: object
|
|
26390
|
+
properties:
|
|
26391
|
+
match:
|
|
26392
|
+
type: string
|
|
26393
|
+
count:
|
|
26394
|
+
type: integer
|
|
26395
|
+
format: int64
|
|
26396
|
+
x-omitempty: false
|
|
26397
|
+
RedisAnalysisProgress:
|
|
26398
|
+
type: object
|
|
26399
|
+
properties:
|
|
26400
|
+
total:
|
|
26401
|
+
type: integer
|
|
26402
|
+
format: int64
|
|
26403
|
+
x-omitempty: false
|
|
26404
|
+
scanned:
|
|
26405
|
+
type: integer
|
|
26406
|
+
format: int64
|
|
26407
|
+
x-omitempty: false
|
|
26408
|
+
processed:
|
|
26409
|
+
type: integer
|
|
26410
|
+
format: int64
|
|
26411
|
+
x-omitempty: false
|
|
26412
|
+
sampleLimit:
|
|
26413
|
+
type: integer
|
|
26414
|
+
format: int64
|
|
26415
|
+
x-omitempty: false
|
|
26416
|
+
cursor:
|
|
26417
|
+
type: string
|
|
26418
|
+
nextCursor:
|
|
26419
|
+
type: string
|
|
26420
|
+
scannedPercent:
|
|
26421
|
+
type: number
|
|
26422
|
+
format: double
|
|
26423
|
+
x-omitempty: false
|
|
26424
|
+
complete:
|
|
26425
|
+
type: boolean
|
|
26426
|
+
x-omitempty: false
|
|
26427
|
+
sampled:
|
|
26428
|
+
type: boolean
|
|
26429
|
+
x-omitempty: false
|
|
26430
|
+
extrapolationFactor:
|
|
26431
|
+
type: number
|
|
26432
|
+
format: double
|
|
26433
|
+
x-omitempty: false
|
|
26434
|
+
generatedAt:
|
|
26435
|
+
type: string
|
|
26436
|
+
format: date-time
|
|
26437
|
+
RedisAnalysisSimpleTypeSummary:
|
|
26438
|
+
type: object
|
|
26439
|
+
properties:
|
|
26440
|
+
type:
|
|
26441
|
+
type: string
|
|
26442
|
+
total:
|
|
26443
|
+
type: integer
|
|
26444
|
+
format: int64
|
|
26445
|
+
x-omitempty: false
|
|
26446
|
+
ratio:
|
|
26447
|
+
type: number
|
|
26448
|
+
format: double
|
|
26449
|
+
x-omitempty: false
|
|
26450
|
+
RedisAnalysisTypedSummary:
|
|
26451
|
+
type: object
|
|
26452
|
+
properties:
|
|
26453
|
+
total:
|
|
26454
|
+
type: integer
|
|
26455
|
+
format: int64
|
|
26456
|
+
x-omitempty: false
|
|
26457
|
+
types:
|
|
26458
|
+
type: array
|
|
26459
|
+
items:
|
|
26460
|
+
$ref: '#/components/schemas/RedisAnalysisSimpleTypeSummary'
|
|
26461
|
+
nullable: true
|
|
26462
|
+
RedisAnalysisNamespaceTypeSummary:
|
|
26463
|
+
type: object
|
|
26464
|
+
properties:
|
|
26465
|
+
type:
|
|
26466
|
+
type: string
|
|
26467
|
+
keys:
|
|
26468
|
+
type: integer
|
|
26469
|
+
format: int64
|
|
26470
|
+
x-omitempty: false
|
|
26471
|
+
memory:
|
|
26472
|
+
type: integer
|
|
26473
|
+
format: int64
|
|
26474
|
+
x-omitempty: false
|
|
26475
|
+
keyRatio:
|
|
26476
|
+
type: number
|
|
26477
|
+
format: double
|
|
26478
|
+
x-omitempty: false
|
|
26479
|
+
memoryRatio:
|
|
26480
|
+
type: number
|
|
26481
|
+
format: double
|
|
26482
|
+
x-omitempty: false
|
|
26483
|
+
RedisAnalysisNamespaceSummary:
|
|
26484
|
+
type: object
|
|
26485
|
+
properties:
|
|
26486
|
+
nsp:
|
|
26487
|
+
type: string
|
|
26488
|
+
keys:
|
|
26489
|
+
type: integer
|
|
26490
|
+
format: int64
|
|
26491
|
+
x-omitempty: false
|
|
26492
|
+
memory:
|
|
26493
|
+
type: integer
|
|
26494
|
+
format: int64
|
|
26495
|
+
x-omitempty: false
|
|
26496
|
+
keyRatio:
|
|
26497
|
+
type: number
|
|
26498
|
+
format: double
|
|
26499
|
+
x-omitempty: false
|
|
26500
|
+
memoryRatio:
|
|
26501
|
+
type: number
|
|
26502
|
+
format: double
|
|
26503
|
+
x-omitempty: false
|
|
26504
|
+
types:
|
|
26505
|
+
type: array
|
|
26506
|
+
items:
|
|
26507
|
+
$ref: '#/components/schemas/RedisAnalysisNamespaceTypeSummary'
|
|
26508
|
+
nullable: true
|
|
26509
|
+
RedisAnalysisKey:
|
|
26510
|
+
type: object
|
|
26511
|
+
properties:
|
|
26512
|
+
name:
|
|
26513
|
+
type: string
|
|
26514
|
+
type:
|
|
26515
|
+
type: string
|
|
26516
|
+
nsp:
|
|
26517
|
+
type: string
|
|
26518
|
+
ttl:
|
|
26519
|
+
type: integer
|
|
26520
|
+
format: int64
|
|
26521
|
+
memory:
|
|
26522
|
+
type: integer
|
|
26523
|
+
format: int64
|
|
26524
|
+
x-omitempty: false
|
|
26525
|
+
length:
|
|
26526
|
+
type: integer
|
|
26527
|
+
format: int64
|
|
26528
|
+
x-omitempty: false
|
|
26529
|
+
encoding:
|
|
26530
|
+
type: string
|
|
26531
|
+
RedisAnalysisExpirationGroup:
|
|
26532
|
+
type: object
|
|
26533
|
+
properties:
|
|
26534
|
+
threshold:
|
|
26535
|
+
type: integer
|
|
26536
|
+
format: int64
|
|
26537
|
+
x-omitempty: false
|
|
26538
|
+
label:
|
|
26539
|
+
type: string
|
|
26540
|
+
total:
|
|
26541
|
+
type: integer
|
|
26542
|
+
format: int64
|
|
26543
|
+
x-omitempty: false
|
|
26544
|
+
description: Memory bytes likely to be freed in this TTL group.
|
|
26545
|
+
keys:
|
|
26546
|
+
type: integer
|
|
26547
|
+
format: int64
|
|
26548
|
+
x-omitempty: false
|
|
26549
|
+
keyRatio:
|
|
26550
|
+
type: number
|
|
26551
|
+
format: double
|
|
26552
|
+
x-omitempty: false
|
|
26553
|
+
memoryRatio:
|
|
26554
|
+
type: number
|
|
26555
|
+
format: double
|
|
26556
|
+
x-omitempty: false
|
|
26557
|
+
RedisAnalysisResponse:
|
|
26558
|
+
type: object
|
|
26559
|
+
description: Instant Redis key analysis report sampled by bounded SCAN. This aligns with RedisInsight-style analysis dimensions but is not a persisted historical report.
|
|
26560
|
+
properties:
|
|
26561
|
+
db:
|
|
26562
|
+
type: integer
|
|
26563
|
+
format: int64
|
|
26564
|
+
x-omitempty: false
|
|
26565
|
+
filter:
|
|
26566
|
+
$ref: '#/components/schemas/RedisAnalysisFilter'
|
|
26567
|
+
delimiter:
|
|
26568
|
+
type: string
|
|
26569
|
+
description: Actual delimiter used to aggregate top namespaces.
|
|
26570
|
+
progress:
|
|
26571
|
+
$ref: '#/components/schemas/RedisAnalysisProgress'
|
|
26572
|
+
createdAt:
|
|
26573
|
+
type: string
|
|
26574
|
+
format: date-time
|
|
26575
|
+
connectedClients:
|
|
26576
|
+
type: integer
|
|
26577
|
+
format: int64
|
|
26578
|
+
description: Connected client count from Redis INFO when available.
|
|
26579
|
+
x-omitempty: false
|
|
26580
|
+
totalKeys:
|
|
26581
|
+
$ref: '#/components/schemas/RedisAnalysisTypedSummary'
|
|
26582
|
+
totalMemory:
|
|
26583
|
+
$ref: '#/components/schemas/RedisAnalysisTypedSummary'
|
|
26584
|
+
topKeysNsp:
|
|
26585
|
+
type: array
|
|
26586
|
+
items:
|
|
26587
|
+
$ref: '#/components/schemas/RedisAnalysisNamespaceSummary'
|
|
26588
|
+
nullable: true
|
|
26589
|
+
topMemoryNsp:
|
|
26590
|
+
type: array
|
|
26591
|
+
items:
|
|
26592
|
+
$ref: '#/components/schemas/RedisAnalysisNamespaceSummary'
|
|
26593
|
+
nullable: true
|
|
26594
|
+
topKeysLength:
|
|
26595
|
+
type: array
|
|
26596
|
+
items:
|
|
26597
|
+
$ref: '#/components/schemas/RedisAnalysisKey'
|
|
26598
|
+
nullable: true
|
|
26599
|
+
topKeysMemory:
|
|
26600
|
+
type: array
|
|
26601
|
+
items:
|
|
26602
|
+
$ref: '#/components/schemas/RedisAnalysisKey'
|
|
26603
|
+
nullable: true
|
|
26604
|
+
expirationGroups:
|
|
26605
|
+
type: array
|
|
26606
|
+
items:
|
|
26607
|
+
$ref: '#/components/schemas/RedisAnalysisExpirationGroup'
|
|
26608
|
+
nullable: true
|
|
26609
|
+
warnings:
|
|
26610
|
+
type: array
|
|
26611
|
+
items:
|
|
26612
|
+
type: string
|
|
26613
|
+
recommendations:
|
|
26614
|
+
type: array
|
|
26615
|
+
items:
|
|
26616
|
+
type: string
|
|
26318
26617
|
RedisKeyDetailRequest:
|
|
26319
26618
|
type: object
|
|
26320
26619
|
required:
|
|
@@ -37544,7 +37843,7 @@ components:
|
|
|
37544
37843
|
properties:
|
|
37545
37844
|
label:
|
|
37546
37845
|
type: string
|
|
37547
|
-
description: Controlled query range label. Values are 1h, 6h, or
|
|
37846
|
+
description: Controlled query range label. Values are 1h, 6h, 24h, or 7d.
|
|
37548
37847
|
start:
|
|
37549
37848
|
type: string
|
|
37550
37849
|
end:
|
|
@@ -37570,7 +37869,7 @@ components:
|
|
|
37570
37869
|
$ref: '#/components/schemas/localizedDescription'
|
|
37571
37870
|
category:
|
|
37572
37871
|
type: string
|
|
37573
|
-
description: Metric category. Values are
|
|
37872
|
+
description: Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
|
|
37574
37873
|
dimension:
|
|
37575
37874
|
type: string
|
|
37576
37875
|
description: Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
@@ -37633,7 +37932,7 @@ components:
|
|
|
37633
37932
|
$ref: '#/components/schemas/localizedDescription'
|
|
37634
37933
|
category:
|
|
37635
37934
|
type: string
|
|
37636
|
-
description: Metric category. Values are
|
|
37935
|
+
description: Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
|
|
37637
37936
|
dimension:
|
|
37638
37937
|
type: string
|
|
37639
37938
|
description: Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
@@ -707,6 +707,15 @@ models/recycle-bin-cluster-list-item.ts
|
|
|
707
707
|
models/recycle-bin-cluster-list.ts
|
|
708
708
|
models/recycle-bin-cluster.ts
|
|
709
709
|
models/redis-aclcontext.ts
|
|
710
|
+
models/redis-analysis-expiration-group.ts
|
|
711
|
+
models/redis-analysis-filter.ts
|
|
712
|
+
models/redis-analysis-key.ts
|
|
713
|
+
models/redis-analysis-namespace-summary.ts
|
|
714
|
+
models/redis-analysis-namespace-type-summary.ts
|
|
715
|
+
models/redis-analysis-progress.ts
|
|
716
|
+
models/redis-analysis-response.ts
|
|
717
|
+
models/redis-analysis-simple-type-summary.ts
|
|
718
|
+
models/redis-analysis-typed-summary.ts
|
|
710
719
|
models/redis-capability.ts
|
|
711
720
|
models/redis-cluster-node.ts
|
|
712
721
|
models/redis-cluster-slot.ts
|
|
@@ -44,8 +44,8 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
44
44
|
* @summary Get PostgreSQL performance trends
|
|
45
45
|
* @param {string} orgName Organization name
|
|
46
46
|
* @param {string} clusterName Cluster name
|
|
47
|
-
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, and
|
|
48
|
-
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, and
|
|
47
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
48
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
@@ -362,8 +362,8 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
362
362
|
* @summary Get PostgreSQL performance trends
|
|
363
363
|
* @param {string} orgName Organization name
|
|
364
364
|
* @param {string} clusterName Cluster name
|
|
365
|
-
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, and
|
|
366
|
-
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, and
|
|
365
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
366
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
|
|
367
367
|
* @param {*} [options] Override http request option.
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
*/
|
|
@@ -611,14 +611,14 @@ export interface DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest
|
|
|
611
611
|
readonly clusterName: string
|
|
612
612
|
|
|
613
613
|
/**
|
|
614
|
-
* Controlled query range. Allowed values are 1h, 6h, and
|
|
614
|
+
* Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
615
615
|
* @type {string}
|
|
616
616
|
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
617
617
|
*/
|
|
618
618
|
readonly range?: string
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
|
-
* Controlled query granularity. Allowed values are 1m, 5m, and
|
|
621
|
+
* Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
|
|
622
622
|
* @type {string}
|
|
623
623
|
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
624
624
|
*/
|