Skip to content

Commit 642cf27

Browse files
committed
Merge "master" into "seccenter-Node.js-2024-05-08-online-2339-2026_03_11_16_34_25"
Conflicts: meta.json
2 parents aee0148 + c9be66a commit 642cf27

108 files changed

Lines changed: 14760 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"lasted": "1.0.7",
3-
"meta_commit": "4cb748ffe1169cb77a612b390ef62ad0bc1c0cf2"
3+
"meta_commit": "ea435190888ab928af1e8c0c8cb3036e2ce25172"
44
}

service/apmplusserver/package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "@volcengine/apmplusserver",
3+
"version": "1.0.1",
4+
"description": "swagger client for @volcengine/apmplusserver",
5+
"license": "Apache-2.0",
6+
"main": "./dist/cjs/index.js",
7+
"module": "./dist/esm/index.mjs",
8+
"types": "./dist/esm/index.d.ts",
9+
"exports": {
10+
".": {
11+
"types": "./dist/esm/index.d.ts",
12+
"import": "./dist/esm/index.mjs",
13+
"require": "./dist/cjs/index.js"
14+
},
15+
"./package.json": "./package.json"
16+
},
17+
"engines": {
18+
"node": ">=18"
19+
},
20+
"scripts": {
21+
"build": "rslib build",
22+
"dev": "rslib build --watch",
23+
"clean": "rm -rf dist",
24+
"test": "jest"
25+
},
26+
"dependencies": {
27+
"@volcengine/sdk-core": "workspace:*"
28+
},
29+
"devDependencies": {
30+
"@types/node": "^20.8.0",
31+
"typescript": "^5.2.2"
32+
},
33+
"sideEffects": false,
34+
"publishConfig": {
35+
"registry": "https://registry.npmjs.org"
36+
}
37+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
import { defineConfig } from "@rslib/core";
3+
4+
export default defineConfig({
5+
lib: [
6+
{
7+
format: "esm",
8+
syntax: "es2020",
9+
dts: true,
10+
output: {
11+
distPath: {
12+
root: "./dist/esm",
13+
},
14+
},
15+
},
16+
{
17+
format: "cjs",
18+
syntax: "es2020",
19+
output: {
20+
distPath: {
21+
root: "./dist/cjs",
22+
},
23+
},
24+
},
25+
],
26+
});

service/apmplusserver/src/api.ts

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16+
17+
import { GetTraceDetailRequest } from './types/index';
18+
import { GetTraceDetailResponse } from './types/index';
19+
import { GetTraceTrendRequest } from './types/index';
20+
import { GetTraceTrendResponse } from './types/index';
21+
import { ListSpanRequest } from './types/index';
22+
import { ListSpanResponse } from './types/index';
23+
24+
// ============================================================================
25+
// Output Type Definitions
26+
// ============================================================================
27+
export type GetTraceDetailCommandOutput = CommandOutput<GetTraceDetailResponse>;
28+
export type GetTraceTrendCommandOutput = CommandOutput<GetTraceTrendResponse>;
29+
export type ListSpanCommandOutput = CommandOutput<ListSpanResponse>;
30+
31+
/**
32+
* APMPLUSSERVERClient Service Client
33+
*/
34+
export class APMPLUSSERVERClient extends Client {
35+
constructor(config: ClientConfig = {}) {
36+
super({
37+
protocol: 'https',
38+
region: 'cn-beijing',
39+
...config,
40+
});
41+
}
42+
}
43+
44+
/**
45+
* Command to GetTraceDetail
46+
*/
47+
export class GetTraceDetailCommand extends Command<
48+
GetTraceDetailRequest,
49+
GetTraceDetailCommandOutput,
50+
'GetTraceDetailCommand'
51+
> {
52+
static readonly metaPath = '/GetTraceDetail/2026-01-01/apmplus_server/post/application_json/';
53+
54+
constructor(input: GetTraceDetailRequest) {
55+
super(input);
56+
this.requestConfig = buildRequestConfigFromMetaPath(GetTraceDetailCommand.metaPath);
57+
}
58+
}
59+
/**
60+
* Command to GetTraceTrend
61+
*/
62+
export class GetTraceTrendCommand extends Command<
63+
GetTraceTrendRequest,
64+
GetTraceTrendCommandOutput,
65+
'GetTraceTrendCommand'
66+
> {
67+
static readonly metaPath = '/GetTraceTrend/2026-01-01/apmplus_server/post/application_json/';
68+
69+
constructor(input: GetTraceTrendRequest) {
70+
super(input);
71+
this.requestConfig = buildRequestConfigFromMetaPath(GetTraceTrendCommand.metaPath);
72+
}
73+
}
74+
/**
75+
* Command to ListSpan
76+
*/
77+
export class ListSpanCommand extends Command<
78+
ListSpanRequest,
79+
ListSpanCommandOutput,
80+
'ListSpanCommand'
81+
> {
82+
static readonly metaPath = '/ListSpan/2026-01-01/apmplus_server/post/application_json/';
83+
84+
constructor(input: ListSpanRequest) {
85+
super(input);
86+
this.requestConfig = buildRequestConfigFromMetaPath(ListSpanCommand.metaPath);
87+
}
88+
}
89+
90+
export default {
91+
APMPLUSSERVERClient,
92+
GetTraceDetailCommand,
93+
GetTraceTrendCommand,
94+
ListSpanCommand,
95+
};

service/apmplusserver/src/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// tslint:disable
2+
/**
3+
* apmplus_server
4+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5+
*
6+
* OpenAPI spec version: common-version
7+
*
8+
*
9+
* NOTE: This class is auto generated by the swagger code generator program.
10+
* https://github.com/swagger-api/swagger-codegen.git
11+
* Do not edit the class manually.
12+
*/
13+
14+
export * from "./api";
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ComponentSpanIdsForGetTraceDetailOutput
20+
*/
21+
export interface ComponentSpanIdsForGetTraceDetailOutput {
22+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { ErrorTagsForGetTraceDetailOutput } from './error-tags-for-get-trace-detail-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface ErrorInfoListForGetTraceDetailOutput
21+
*/
22+
export interface ErrorInfoListForGetTraceDetailOutput {
23+
24+
/**
25+
* @type {string}
26+
* @memberof ErrorInfoListForGetTraceDetailOutput
27+
*/
28+
ErrorKind?: string;
29+
30+
/**
31+
* @type {string}
32+
* @memberof ErrorInfoListForGetTraceDetailOutput
33+
*/
34+
ErrorMessage?: string;
35+
36+
/**
37+
* @type {number}
38+
* @memberof ErrorInfoListForGetTraceDetailOutput
39+
*/
40+
ErrorOccurTime?: number;
41+
42+
/**
43+
* @type {string}
44+
* @memberof ErrorInfoListForGetTraceDetailOutput
45+
*/
46+
ErrorStack?: string;
47+
48+
/**
49+
* @type {ErrorTagsForGetTraceDetailOutput}
50+
* @memberof ErrorInfoListForGetTraceDetailOutput
51+
*/
52+
ErrorTags?: ErrorTagsForGetTraceDetailOutput;
53+
54+
/**
55+
* @type {string}
56+
* @memberof ErrorInfoListForGetTraceDetailOutput
57+
*/
58+
IssueId?: string;
59+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { ErrorTagsForListSpanOutput } from './error-tags-for-list-span-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface ErrorListForListSpanOutput
21+
*/
22+
export interface ErrorListForListSpanOutput {
23+
24+
/**
25+
* @type {string}
26+
* @memberof ErrorListForListSpanOutput
27+
*/
28+
ErrorKind?: string;
29+
30+
/**
31+
* @type {string}
32+
* @memberof ErrorListForListSpanOutput
33+
*/
34+
ErrorMessage?: string;
35+
36+
/**
37+
* @type {number}
38+
* @memberof ErrorListForListSpanOutput
39+
*/
40+
ErrorOccurTime?: number;
41+
42+
/**
43+
* @type {string}
44+
* @memberof ErrorListForListSpanOutput
45+
*/
46+
ErrorStack?: string;
47+
48+
/**
49+
* @type {ErrorTagsForListSpanOutput}
50+
* @memberof ErrorListForListSpanOutput
51+
*/
52+
ErrorTags?: ErrorTagsForListSpanOutput;
53+
54+
/**
55+
* @type {string}
56+
* @memberof ErrorListForListSpanOutput
57+
*/
58+
IssueId?: string;
59+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ErrorTagsForGetTraceDetailOutput
20+
*/
21+
export interface ErrorTagsForGetTraceDetailOutput {
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* apmplus_server
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ErrorTagsForListSpanOutput
20+
*/
21+
export interface ErrorTagsForListSpanOutput {
22+
}

0 commit comments

Comments
 (0)