kb-cloud-client-typescript 2.3.0-alpha.220 → 2.3.0-alpha.221
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 +216 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +237 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/kingbase-diagnostic-source-status.d.ts +25 -0
- package/dist/adminapi/models/kingbase-diagnostic-source-status.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-diagnostic-source-status.js +29 -0
- package/dist/adminapi/models/kingbase-diagnostic-source-status.js.map +1 -0
- package/dist/adminapi/models/kingbase-diagnostic-source.d.ts +44 -0
- package/dist/adminapi/models/kingbase-diagnostic-source.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-diagnostic-source.js +16 -0
- package/dist/adminapi/models/kingbase-diagnostic-source.js.map +1 -0
- package/dist/adminapi/models/kingbase-lock-analysis.d.ts +58 -0
- package/dist/adminapi/models/kingbase-lock-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-lock-analysis.js +16 -0
- package/dist/adminapi/models/kingbase-lock-analysis.js.map +1 -0
- package/dist/adminapi/models/kingbase-lock-row.d.ts +109 -0
- package/dist/adminapi/models/kingbase-lock-row.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-lock-row.js +16 -0
- package/dist/adminapi/models/kingbase-lock-row.js.map +1 -0
- package/dist/adminapi/models/kingbase-session-detail.d.ts +45 -0
- package/dist/adminapi/models/kingbase-session-detail.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-session-detail.js +16 -0
- package/dist/adminapi/models/kingbase-session-detail.js.map +1 -0
- package/dist/adminapi/models/kingbase-session-list.d.ts +51 -0
- package/dist/adminapi/models/kingbase-session-list.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-session-list.js +16 -0
- package/dist/adminapi/models/kingbase-session-list.js.map +1 -0
- package/dist/adminapi/models/kingbase-session.d.ts +121 -0
- package/dist/adminapi/models/kingbase-session.d.ts.map +1 -0
- package/dist/adminapi/models/kingbase-session.js +16 -0
- package/dist/adminapi/models/kingbase-session.js.map +1 -0
- package/dist/openapi/apis/diagnostics-api.d.ts +216 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +237 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/kingbase-diagnostic-source-status.d.ts +25 -0
- package/dist/openapi/models/kingbase-diagnostic-source-status.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-diagnostic-source-status.js +29 -0
- package/dist/openapi/models/kingbase-diagnostic-source-status.js.map +1 -0
- package/dist/openapi/models/kingbase-diagnostic-source.d.ts +44 -0
- package/dist/openapi/models/kingbase-diagnostic-source.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-diagnostic-source.js +16 -0
- package/dist/openapi/models/kingbase-diagnostic-source.js.map +1 -0
- package/dist/openapi/models/kingbase-lock-analysis.d.ts +58 -0
- package/dist/openapi/models/kingbase-lock-analysis.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-lock-analysis.js +16 -0
- package/dist/openapi/models/kingbase-lock-analysis.js.map +1 -0
- package/dist/openapi/models/kingbase-lock-row.d.ts +109 -0
- package/dist/openapi/models/kingbase-lock-row.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-lock-row.js +16 -0
- package/dist/openapi/models/kingbase-lock-row.js.map +1 -0
- package/dist/openapi/models/kingbase-session-detail.d.ts +45 -0
- package/dist/openapi/models/kingbase-session-detail.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-session-detail.js +16 -0
- package/dist/openapi/models/kingbase-session-detail.js.map +1 -0
- package/dist/openapi/models/kingbase-session-list.d.ts +51 -0
- package/dist/openapi/models/kingbase-session-list.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-session-list.js +16 -0
- package/dist/openapi/models/kingbase-session-list.js.map +1 -0
- package/dist/openapi/models/kingbase-session.d.ts +121 -0
- package/dist/openapi/models/kingbase-session.d.ts.map +1 -0
- package/dist/openapi/models/kingbase-session.js +16 -0
- package/dist/openapi/models/kingbase-session.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/diagnostics-api.ts +379 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/kingbase-diagnostic-source-status.ts +34 -0
- package/src/adminapi/models/kingbase-diagnostic-source.ts +53 -0
- package/src/adminapi/models/kingbase-lock-analysis.ts +69 -0
- package/src/adminapi/models/kingbase-lock-row.ts +114 -0
- package/src/adminapi/models/kingbase-session-detail.ts +54 -0
- package/src/adminapi/models/kingbase-session-list.ts +60 -0
- package/src/adminapi/models/kingbase-session.ts +126 -0
- package/src/adminapi.yaml +304 -0
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/diagnostics-api.ts +379 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi/models/kingbase-diagnostic-source-status.ts +34 -0
- package/src/openapi/models/kingbase-diagnostic-source.ts +53 -0
- package/src/openapi/models/kingbase-lock-analysis.ts +69 -0
- package/src/openapi/models/kingbase-lock-row.ts +114 -0
- package/src/openapi/models/kingbase-session-detail.ts +54 -0
- package/src/openapi/models/kingbase-session-list.ts +60 -0
- package/src/openapi/models/kingbase-session.ts +126 -0
- package/src/openapi.yaml +304 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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 KingbaseLockRow
|
|
21
|
+
*/
|
|
22
|
+
export interface KingbaseLockRow {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof KingbaseLockRow
|
|
27
|
+
*/
|
|
28
|
+
'pid': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof KingbaseLockRow
|
|
33
|
+
*/
|
|
34
|
+
'lockType': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof KingbaseLockRow
|
|
39
|
+
*/
|
|
40
|
+
'mode': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof KingbaseLockRow
|
|
45
|
+
*/
|
|
46
|
+
'granted': boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof KingbaseLockRow
|
|
51
|
+
*/
|
|
52
|
+
'relationOid'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof KingbaseLockRow
|
|
57
|
+
*/
|
|
58
|
+
'relationName'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof KingbaseLockRow
|
|
63
|
+
*/
|
|
64
|
+
'databaseName'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof KingbaseLockRow
|
|
69
|
+
*/
|
|
70
|
+
'transactionID'?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof KingbaseLockRow
|
|
75
|
+
*/
|
|
76
|
+
'virtualTransaction'?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof KingbaseLockRow
|
|
81
|
+
*/
|
|
82
|
+
'virtualXID'?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof KingbaseLockRow
|
|
87
|
+
*/
|
|
88
|
+
'tuple'?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof KingbaseLockRow
|
|
93
|
+
*/
|
|
94
|
+
'page'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof KingbaseLockRow
|
|
99
|
+
*/
|
|
100
|
+
'classID'?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof KingbaseLockRow
|
|
105
|
+
*/
|
|
106
|
+
'objID'?: string;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof KingbaseLockRow
|
|
111
|
+
*/
|
|
112
|
+
'objSubID'?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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 { KingbaseDiagnosticSource } from './kingbase-diagnostic-source';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { KingbaseSession } from './kingbase-session';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface KingbaseSessionDetail
|
|
27
|
+
*/
|
|
28
|
+
export interface KingbaseSessionDetail {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {KingbaseSession}
|
|
32
|
+
* @memberof KingbaseSessionDetail
|
|
33
|
+
*/
|
|
34
|
+
'session': KingbaseSession;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {KingbaseDiagnosticSource}
|
|
38
|
+
* @memberof KingbaseSessionDetail
|
|
39
|
+
*/
|
|
40
|
+
'source': KingbaseDiagnosticSource;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<string>}
|
|
44
|
+
* @memberof KingbaseSessionDetail
|
|
45
|
+
*/
|
|
46
|
+
'warnings': Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof KingbaseSessionDetail
|
|
51
|
+
*/
|
|
52
|
+
'collectedAt': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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 { KingbaseDiagnosticSource } from './kingbase-diagnostic-source';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { KingbaseSession } from './kingbase-session';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface KingbaseSessionList
|
|
27
|
+
*/
|
|
28
|
+
export interface KingbaseSessionList {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<KingbaseSession>}
|
|
32
|
+
* @memberof KingbaseSessionList
|
|
33
|
+
*/
|
|
34
|
+
'items': Array<KingbaseSession>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof KingbaseSessionList
|
|
39
|
+
*/
|
|
40
|
+
'limit': number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {KingbaseDiagnosticSource}
|
|
44
|
+
* @memberof KingbaseSessionList
|
|
45
|
+
*/
|
|
46
|
+
'source': KingbaseDiagnosticSource;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof KingbaseSessionList
|
|
51
|
+
*/
|
|
52
|
+
'warnings': Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof KingbaseSessionList
|
|
57
|
+
*/
|
|
58
|
+
'collectedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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 KingbaseSession
|
|
21
|
+
*/
|
|
22
|
+
export interface KingbaseSession {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof KingbaseSession
|
|
27
|
+
*/
|
|
28
|
+
'pid': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof KingbaseSession
|
|
33
|
+
*/
|
|
34
|
+
'user'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof KingbaseSession
|
|
39
|
+
*/
|
|
40
|
+
'database'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof KingbaseSession
|
|
45
|
+
*/
|
|
46
|
+
'applicationName'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof KingbaseSession
|
|
51
|
+
*/
|
|
52
|
+
'clientAddr'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof KingbaseSession
|
|
57
|
+
*/
|
|
58
|
+
'clientPort'?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof KingbaseSession
|
|
63
|
+
*/
|
|
64
|
+
'state': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof KingbaseSession
|
|
69
|
+
*/
|
|
70
|
+
'waitEventType'?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof KingbaseSession
|
|
75
|
+
*/
|
|
76
|
+
'waitEvent'?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof KingbaseSession
|
|
81
|
+
*/
|
|
82
|
+
'backendStart'?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof KingbaseSession
|
|
87
|
+
*/
|
|
88
|
+
'queryStart'?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof KingbaseSession
|
|
93
|
+
*/
|
|
94
|
+
'xactStart'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof KingbaseSession
|
|
99
|
+
*/
|
|
100
|
+
'durationSeconds'?: number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof KingbaseSession
|
|
105
|
+
*/
|
|
106
|
+
'xactDurationSeconds'?: number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof KingbaseSession
|
|
111
|
+
*/
|
|
112
|
+
'queryDigest': string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof KingbaseSession
|
|
117
|
+
*/
|
|
118
|
+
'querySummary': string;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof KingbaseSession
|
|
123
|
+
*/
|
|
124
|
+
'backendType'?: string;
|
|
125
|
+
}
|
|
126
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -5528,6 +5528,130 @@ paths:
|
|
|
5528
5528
|
$ref: '#/components/responses/404'
|
|
5529
5529
|
'500':
|
|
5530
5530
|
$ref: '#/components/responses/500'
|
|
5531
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions:
|
|
5532
|
+
get:
|
|
5533
|
+
tags:
|
|
5534
|
+
- diagnostics
|
|
5535
|
+
summary: List Kingbase session diagnostics
|
|
5536
|
+
operationId: listDiagnosticsKingbaseSessions
|
|
5537
|
+
parameters:
|
|
5538
|
+
- name: orgName
|
|
5539
|
+
in: path
|
|
5540
|
+
required: true
|
|
5541
|
+
schema:
|
|
5542
|
+
type: string
|
|
5543
|
+
- name: clusterName
|
|
5544
|
+
in: path
|
|
5545
|
+
required: true
|
|
5546
|
+
schema:
|
|
5547
|
+
type: string
|
|
5548
|
+
- name: limit
|
|
5549
|
+
in: query
|
|
5550
|
+
description: Maximum number of sessions to return. Defaults to 200.
|
|
5551
|
+
required: false
|
|
5552
|
+
schema:
|
|
5553
|
+
type: integer
|
|
5554
|
+
format: int64
|
|
5555
|
+
minimum: 1
|
|
5556
|
+
maximum: 200
|
|
5557
|
+
responses:
|
|
5558
|
+
'200':
|
|
5559
|
+
description: OK
|
|
5560
|
+
content:
|
|
5561
|
+
application/json:
|
|
5562
|
+
schema:
|
|
5563
|
+
$ref: '#/components/schemas/kingbaseSessionList'
|
|
5564
|
+
'400':
|
|
5565
|
+
$ref: '#/components/responses/400'
|
|
5566
|
+
'401':
|
|
5567
|
+
$ref: '#/components/responses/401'
|
|
5568
|
+
'403':
|
|
5569
|
+
$ref: '#/components/responses/403'
|
|
5570
|
+
'500':
|
|
5571
|
+
$ref: '#/components/responses/500'
|
|
5572
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions/{pid}/lockAnalysis:
|
|
5573
|
+
get:
|
|
5574
|
+
tags:
|
|
5575
|
+
- diagnostics
|
|
5576
|
+
summary: Get Kingbase session lock analysis
|
|
5577
|
+
description: Returns the selected session and its direct lock rows from the current snapshot.
|
|
5578
|
+
operationId: getDiagnosticsKingbaseSessionLockAnalysis
|
|
5579
|
+
parameters:
|
|
5580
|
+
- name: orgName
|
|
5581
|
+
in: path
|
|
5582
|
+
required: true
|
|
5583
|
+
schema:
|
|
5584
|
+
type: string
|
|
5585
|
+
- name: clusterName
|
|
5586
|
+
in: path
|
|
5587
|
+
required: true
|
|
5588
|
+
schema:
|
|
5589
|
+
type: string
|
|
5590
|
+
- name: pid
|
|
5591
|
+
in: path
|
|
5592
|
+
required: true
|
|
5593
|
+
schema:
|
|
5594
|
+
type: integer
|
|
5595
|
+
format: int64
|
|
5596
|
+
minimum: 1
|
|
5597
|
+
responses:
|
|
5598
|
+
'200':
|
|
5599
|
+
description: OK
|
|
5600
|
+
content:
|
|
5601
|
+
application/json:
|
|
5602
|
+
schema:
|
|
5603
|
+
$ref: '#/components/schemas/kingbaseLockAnalysis'
|
|
5604
|
+
'400':
|
|
5605
|
+
$ref: '#/components/responses/400'
|
|
5606
|
+
'401':
|
|
5607
|
+
$ref: '#/components/responses/401'
|
|
5608
|
+
'403':
|
|
5609
|
+
$ref: '#/components/responses/403'
|
|
5610
|
+
'404':
|
|
5611
|
+
$ref: '#/components/responses/404'
|
|
5612
|
+
'500':
|
|
5613
|
+
$ref: '#/components/responses/500'
|
|
5614
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions/{pid}:
|
|
5615
|
+
get:
|
|
5616
|
+
tags:
|
|
5617
|
+
- diagnostics
|
|
5618
|
+
summary: Get Kingbase session diagnostics
|
|
5619
|
+
operationId: getDiagnosticsKingbaseSession
|
|
5620
|
+
parameters:
|
|
5621
|
+
- name: orgName
|
|
5622
|
+
in: path
|
|
5623
|
+
required: true
|
|
5624
|
+
schema:
|
|
5625
|
+
type: string
|
|
5626
|
+
- name: clusterName
|
|
5627
|
+
in: path
|
|
5628
|
+
required: true
|
|
5629
|
+
schema:
|
|
5630
|
+
type: string
|
|
5631
|
+
- name: pid
|
|
5632
|
+
in: path
|
|
5633
|
+
required: true
|
|
5634
|
+
schema:
|
|
5635
|
+
type: integer
|
|
5636
|
+
format: int64
|
|
5637
|
+
minimum: 1
|
|
5638
|
+
responses:
|
|
5639
|
+
'200':
|
|
5640
|
+
description: OK
|
|
5641
|
+
content:
|
|
5642
|
+
application/json:
|
|
5643
|
+
schema:
|
|
5644
|
+
$ref: '#/components/schemas/kingbaseSessionDetail'
|
|
5645
|
+
'400':
|
|
5646
|
+
$ref: '#/components/responses/400'
|
|
5647
|
+
'401':
|
|
5648
|
+
$ref: '#/components/responses/401'
|
|
5649
|
+
'403':
|
|
5650
|
+
$ref: '#/components/responses/403'
|
|
5651
|
+
'404':
|
|
5652
|
+
$ref: '#/components/responses/404'
|
|
5653
|
+
'500':
|
|
5654
|
+
$ref: '#/components/responses/500'
|
|
5531
5655
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/metrics:
|
|
5532
5656
|
get:
|
|
5533
5657
|
description: Query cluster metrics by specified metric name and instance name, support instant and range query
|
|
@@ -25788,6 +25912,186 @@ components:
|
|
|
25788
25912
|
autoCommit:
|
|
25789
25913
|
type: string
|
|
25790
25914
|
description: Auto-commit status.
|
|
25915
|
+
kingbaseSession:
|
|
25916
|
+
type: object
|
|
25917
|
+
required:
|
|
25918
|
+
- pid
|
|
25919
|
+
- state
|
|
25920
|
+
- queryDigest
|
|
25921
|
+
- querySummary
|
|
25922
|
+
properties:
|
|
25923
|
+
pid:
|
|
25924
|
+
type: integer
|
|
25925
|
+
format: int64
|
|
25926
|
+
user:
|
|
25927
|
+
type: string
|
|
25928
|
+
database:
|
|
25929
|
+
type: string
|
|
25930
|
+
applicationName:
|
|
25931
|
+
type: string
|
|
25932
|
+
clientAddr:
|
|
25933
|
+
type: string
|
|
25934
|
+
clientPort:
|
|
25935
|
+
type: integer
|
|
25936
|
+
format: int32
|
|
25937
|
+
state:
|
|
25938
|
+
type: string
|
|
25939
|
+
waitEventType:
|
|
25940
|
+
type: string
|
|
25941
|
+
waitEvent:
|
|
25942
|
+
type: string
|
|
25943
|
+
backendStart:
|
|
25944
|
+
type: string
|
|
25945
|
+
queryStart:
|
|
25946
|
+
type: string
|
|
25947
|
+
xactStart:
|
|
25948
|
+
type: string
|
|
25949
|
+
durationSeconds:
|
|
25950
|
+
type: integer
|
|
25951
|
+
format: int64
|
|
25952
|
+
minimum: 0
|
|
25953
|
+
xactDurationSeconds:
|
|
25954
|
+
type: integer
|
|
25955
|
+
format: int64
|
|
25956
|
+
minimum: 0
|
|
25957
|
+
queryDigest:
|
|
25958
|
+
type: string
|
|
25959
|
+
querySummary:
|
|
25960
|
+
type: string
|
|
25961
|
+
backendType:
|
|
25962
|
+
type: string
|
|
25963
|
+
kingbaseDiagnosticSourceStatus:
|
|
25964
|
+
type: string
|
|
25965
|
+
enum:
|
|
25966
|
+
- success
|
|
25967
|
+
- partial
|
|
25968
|
+
- failed
|
|
25969
|
+
- skipped
|
|
25970
|
+
- noData
|
|
25971
|
+
kingbaseDiagnosticSource:
|
|
25972
|
+
type: object
|
|
25973
|
+
required:
|
|
25974
|
+
- name
|
|
25975
|
+
- status
|
|
25976
|
+
- collectedAt
|
|
25977
|
+
properties:
|
|
25978
|
+
name:
|
|
25979
|
+
type: string
|
|
25980
|
+
status:
|
|
25981
|
+
$ref: '#/components/schemas/kingbaseDiagnosticSourceStatus'
|
|
25982
|
+
collectedAt:
|
|
25983
|
+
type: string
|
|
25984
|
+
message:
|
|
25985
|
+
type: string
|
|
25986
|
+
kingbaseSessionList:
|
|
25987
|
+
type: object
|
|
25988
|
+
required:
|
|
25989
|
+
- items
|
|
25990
|
+
- limit
|
|
25991
|
+
- source
|
|
25992
|
+
- warnings
|
|
25993
|
+
- collectedAt
|
|
25994
|
+
properties:
|
|
25995
|
+
items:
|
|
25996
|
+
type: array
|
|
25997
|
+
items:
|
|
25998
|
+
$ref: '#/components/schemas/kingbaseSession'
|
|
25999
|
+
limit:
|
|
26000
|
+
type: integer
|
|
26001
|
+
format: int64
|
|
26002
|
+
minimum: 1
|
|
26003
|
+
maximum: 200
|
|
26004
|
+
source:
|
|
26005
|
+
$ref: '#/components/schemas/kingbaseDiagnosticSource'
|
|
26006
|
+
warnings:
|
|
26007
|
+
type: array
|
|
26008
|
+
items:
|
|
26009
|
+
type: string
|
|
26010
|
+
collectedAt:
|
|
26011
|
+
type: string
|
|
26012
|
+
kingbaseLockRow:
|
|
26013
|
+
type: object
|
|
26014
|
+
required:
|
|
26015
|
+
- pid
|
|
26016
|
+
- lockType
|
|
26017
|
+
- mode
|
|
26018
|
+
- granted
|
|
26019
|
+
properties:
|
|
26020
|
+
pid:
|
|
26021
|
+
type: integer
|
|
26022
|
+
format: int64
|
|
26023
|
+
lockType:
|
|
26024
|
+
type: string
|
|
26025
|
+
mode:
|
|
26026
|
+
type: string
|
|
26027
|
+
granted:
|
|
26028
|
+
type: boolean
|
|
26029
|
+
relationOid:
|
|
26030
|
+
type: string
|
|
26031
|
+
relationName:
|
|
26032
|
+
type: string
|
|
26033
|
+
databaseName:
|
|
26034
|
+
type: string
|
|
26035
|
+
transactionID:
|
|
26036
|
+
type: string
|
|
26037
|
+
virtualTransaction:
|
|
26038
|
+
type: string
|
|
26039
|
+
virtualXID:
|
|
26040
|
+
type: string
|
|
26041
|
+
tuple:
|
|
26042
|
+
type: string
|
|
26043
|
+
page:
|
|
26044
|
+
type: string
|
|
26045
|
+
classID:
|
|
26046
|
+
type: string
|
|
26047
|
+
objID:
|
|
26048
|
+
type: string
|
|
26049
|
+
objSubID:
|
|
26050
|
+
type: string
|
|
26051
|
+
kingbaseLockAnalysis:
|
|
26052
|
+
type: object
|
|
26053
|
+
required:
|
|
26054
|
+
- selectedSession
|
|
26055
|
+
- lockRows
|
|
26056
|
+
- cannotProve
|
|
26057
|
+
- warnings
|
|
26058
|
+
- source
|
|
26059
|
+
- capturedAt
|
|
26060
|
+
properties:
|
|
26061
|
+
selectedSession:
|
|
26062
|
+
$ref: '#/components/schemas/kingbaseSession'
|
|
26063
|
+
lockRows:
|
|
26064
|
+
type: array
|
|
26065
|
+
items:
|
|
26066
|
+
$ref: '#/components/schemas/kingbaseLockRow'
|
|
26067
|
+
cannotProve:
|
|
26068
|
+
type: boolean
|
|
26069
|
+
warnings:
|
|
26070
|
+
type: array
|
|
26071
|
+
items:
|
|
26072
|
+
type: string
|
|
26073
|
+
source:
|
|
26074
|
+
$ref: '#/components/schemas/kingbaseDiagnosticSource'
|
|
26075
|
+
capturedAt:
|
|
26076
|
+
type: string
|
|
26077
|
+
kingbaseSessionDetail:
|
|
26078
|
+
type: object
|
|
26079
|
+
required:
|
|
26080
|
+
- session
|
|
26081
|
+
- source
|
|
26082
|
+
- warnings
|
|
26083
|
+
- collectedAt
|
|
26084
|
+
properties:
|
|
26085
|
+
session:
|
|
26086
|
+
$ref: '#/components/schemas/kingbaseSession'
|
|
26087
|
+
source:
|
|
26088
|
+
$ref: '#/components/schemas/kingbaseDiagnosticSource'
|
|
26089
|
+
warnings:
|
|
26090
|
+
type: array
|
|
26091
|
+
items:
|
|
26092
|
+
type: string
|
|
26093
|
+
collectedAt:
|
|
26094
|
+
type: string
|
|
25791
26095
|
metricsQueryType:
|
|
25792
26096
|
type: string
|
|
25793
26097
|
enum:
|