kb-cloud-client-typescript 2.3.69 → 2.3.71
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/backup-api.d.ts +3 -3
- package/dist/adminapi/apis/backup-api.js +2 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.js +243 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +227 -3
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +245 -2
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
- package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
- package/dist/adminapi/models/environment-delete.d.ts +6 -0
- package/dist/adminapi/models/environment-delete.d.ts.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/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/adminapi/models/selected-object-option.d.ts +7 -0
- package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
- package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
- package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
- package/dist/internalapi/apis/cluster-api.d.ts +4 -4
- package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-api.d.ts +3 -3
- package/dist/openapi/apis/backup-api.js +2 -2
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/openapi/apis/dolphindb-api.js +243 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +227 -3
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +245 -2
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.js +16 -0
- package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
- 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/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/openapi/models/selected-object-option.d.ts +7 -0
- package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/backup-api.ts +3 -3
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/dolphindb-api.ts +397 -0
- package/src/adminapi/apis/shared-api.ts +398 -3
- package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
- package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/adminapi/models/environment-delete.ts +6 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/adminapi/models/selected-object-option-tree.ts +1 -1
- package/src/adminapi/models/selected-object-option.ts +11 -0
- package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
- package/src/adminapi.yaml +324 -30
- package/src/internalapi/apis/cluster-api.ts +3 -3
- package/src/internalapi.yaml +9 -2
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/backup-api.ts +3 -3
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/dolphindb-api.ts +397 -0
- package/src/openapi/apis/shared-api.ts +398 -3
- package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/openapi/models/dolphin-dbmigration.ts +48 -0
- package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/openapi/models/selected-object-option-tree.ts +1 -1
- package/src/openapi/models/selected-object-option.ts +11 -0
- package/src/openapi.yaml +316 -28
|
@@ -567,6 +567,61 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
567
567
|
|
|
568
568
|
|
|
569
569
|
|
|
570
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
571
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
572
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
573
|
+
|
|
574
|
+
return {
|
|
575
|
+
url: toPathString(localVarUrlObj),
|
|
576
|
+
options: localVarRequestOptions,
|
|
577
|
+
};
|
|
578
|
+
},
|
|
579
|
+
/**
|
|
580
|
+
* Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials. V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it. An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings. xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster\'s freeze settings or database limits.
|
|
581
|
+
* @summary Get Kingbase performance trends
|
|
582
|
+
* @param {string} orgName Organization name
|
|
583
|
+
* @param {string} clusterName Cluster name
|
|
584
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
585
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
|
|
586
|
+
* @param {*} [options] Override http request option.
|
|
587
|
+
* @throws {RequiredError}
|
|
588
|
+
*/
|
|
589
|
+
getDiagnosticsKingbasePerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
590
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
591
|
+
assertParamExists('getDiagnosticsKingbasePerformanceTrends', 'orgName', orgName)
|
|
592
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
593
|
+
assertParamExists('getDiagnosticsKingbasePerformanceTrends', 'clusterName', clusterName)
|
|
594
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/performanceTrends`
|
|
595
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
596
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
599
|
+
let baseOptions;
|
|
600
|
+
if (configuration) {
|
|
601
|
+
baseOptions = configuration.baseOptions;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
605
|
+
const localVarHeaderParameter = {} as any;
|
|
606
|
+
const localVarQueryParameter = {} as any;
|
|
607
|
+
|
|
608
|
+
// authentication BearerToken required
|
|
609
|
+
// http bearer authentication required
|
|
610
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
611
|
+
|
|
612
|
+
// authentication DigestAuth required
|
|
613
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
614
|
+
|
|
615
|
+
if (range !== undefined) {
|
|
616
|
+
localVarQueryParameter['range'] = range;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
if (step !== undefined) {
|
|
620
|
+
localVarQueryParameter['step'] = step;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
570
625
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
571
626
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
572
627
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1952,6 +2007,22 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1952
2007
|
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchTaskAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1953
2008
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1954
2009
|
},
|
|
2010
|
+
/**
|
|
2011
|
+
* Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials. V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it. An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings. xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster\'s freeze settings or database limits.
|
|
2012
|
+
* @summary Get Kingbase performance trends
|
|
2013
|
+
* @param {string} orgName Organization name
|
|
2014
|
+
* @param {string} clusterName Cluster name
|
|
2015
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
2016
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
|
|
2017
|
+
* @param {*} [options] Override http request option.
|
|
2018
|
+
* @throws {RequiredError}
|
|
2019
|
+
*/
|
|
2020
|
+
async getDiagnosticsKingbasePerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
|
|
2021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbasePerformanceTrends(orgName, clusterName, range, step, options);
|
|
2022
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2023
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbasePerformanceTrends']?.[localVarOperationServerIndex]?.url;
|
|
2024
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2025
|
+
},
|
|
1955
2026
|
/**
|
|
1956
2027
|
*
|
|
1957
2028
|
* @summary Get Kingbase session diagnostics
|
|
@@ -2403,6 +2474,16 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
2403
2474
|
getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis> {
|
|
2404
2475
|
return localVarFp.getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(axios, basePath));
|
|
2405
2476
|
},
|
|
2477
|
+
/**
|
|
2478
|
+
* Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials. V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it. An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings. xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster\'s freeze settings or database limits.
|
|
2479
|
+
* @summary Get Kingbase performance trends
|
|
2480
|
+
* @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
|
|
2485
|
+
return localVarFp.getDiagnosticsKingbasePerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
|
|
2486
|
+
},
|
|
2406
2487
|
/**
|
|
2407
2488
|
*
|
|
2408
2489
|
* @summary Get Kingbase session diagnostics
|
|
@@ -2722,6 +2803,16 @@ export interface DiagnosticsApiInterface {
|
|
|
2722
2803
|
*/
|
|
2723
2804
|
getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis>;
|
|
2724
2805
|
|
|
2806
|
+
/**
|
|
2807
|
+
* Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials. V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it. An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings. xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster\'s freeze settings or database limits.
|
|
2808
|
+
* @summary Get Kingbase performance trends
|
|
2809
|
+
* @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
|
|
2810
|
+
* @param {*} [options] Override http request option.
|
|
2811
|
+
* @throws {RequiredError}
|
|
2812
|
+
* @memberof DiagnosticsApiInterface
|
|
2813
|
+
*/
|
|
2814
|
+
getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
|
|
2815
|
+
|
|
2725
2816
|
/**
|
|
2726
2817
|
*
|
|
2727
2818
|
* @summary Get Kingbase session diagnostics
|
|
@@ -3290,6 +3381,41 @@ export interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest {
|
|
|
3290
3381
|
readonly threads?: number
|
|
3291
3382
|
}
|
|
3292
3383
|
|
|
3384
|
+
/**
|
|
3385
|
+
* Request parameters for getDiagnosticsKingbasePerformanceTrends operation in DiagnosticsApi.
|
|
3386
|
+
* @export
|
|
3387
|
+
* @interface DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest
|
|
3388
|
+
*/
|
|
3389
|
+
export interface DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest {
|
|
3390
|
+
/**
|
|
3391
|
+
* Organization name
|
|
3392
|
+
* @type {string}
|
|
3393
|
+
* @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
|
|
3394
|
+
*/
|
|
3395
|
+
readonly orgName: string
|
|
3396
|
+
|
|
3397
|
+
/**
|
|
3398
|
+
* Cluster name
|
|
3399
|
+
* @type {string}
|
|
3400
|
+
* @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
|
|
3401
|
+
*/
|
|
3402
|
+
readonly clusterName: string
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
3406
|
+
* @type {string}
|
|
3407
|
+
* @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
|
|
3408
|
+
*/
|
|
3409
|
+
readonly range?: string
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
|
|
3413
|
+
* @type {string}
|
|
3414
|
+
* @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
|
|
3415
|
+
*/
|
|
3416
|
+
readonly step?: string
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3293
3419
|
/**
|
|
3294
3420
|
* Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
|
|
3295
3421
|
* @export
|
|
@@ -4149,6 +4275,18 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
|
4149
4275
|
return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(this.axios, this.basePath));
|
|
4150
4276
|
}
|
|
4151
4277
|
|
|
4278
|
+
/**
|
|
4279
|
+
* Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials. V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it. An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings. xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster\'s freeze settings or database limits.
|
|
4280
|
+
* @summary Get Kingbase performance trends
|
|
4281
|
+
* @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
|
|
4282
|
+
* @param {*} [options] Override http request option.
|
|
4283
|
+
* @throws {RequiredError}
|
|
4284
|
+
* @memberof DiagnosticsApi
|
|
4285
|
+
*/
|
|
4286
|
+
public getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig) {
|
|
4287
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsKingbasePerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(this.axios, this.basePath));
|
|
4288
|
+
}
|
|
4289
|
+
|
|
4152
4290
|
/**
|
|
4153
4291
|
*
|
|
4154
4292
|
* @summary Get Kingbase session diagnostics
|