diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/xtrace | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/xtrace')
| -rw-r--r-- | data/zh_cn/xtrace/2019-08-08/api-docs.php | 1621 |
1 files changed, 676 insertions, 945 deletions
diff --git a/data/zh_cn/xtrace/2019-08-08/api-docs.php b/data/zh_cn/xtrace/2019-08-08/api-docs.php index 84d5012..649f6ec 100644 --- a/data/zh_cn/xtrace/2019-08-08/api-docs.php +++ b/data/zh_cn/xtrace/2019-08-08/api-docs.php @@ -1,10 +1,6 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'xtrace', - 'version' => '2019-08-08', - ], + 'info' => ['style' => 'RPC', 'product' => 'xtrace', 'version' => '2019-08-08'], 'directories' => [ 'GetTagKey', 'GetTagVal', @@ -15,28 +11,84 @@ 'QueryMetric', 'SearchTraces', [ - 'id' => 188134, - 'title' => '访问控制', + 'children' => ['OpenXtraceService', 'CheckCommercialStatus'], 'type' => 'directory', - 'children' => [ - 'OpenXtraceService', - 'CheckCommercialStatus', - ], + 'title' => '访问控制', + 'id' => 322329, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetTagKey' => [ - 'methods' => [ - 'post', - 'get', + 'CheckCommercialStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '201972', + 'abilityTreeNodes' => ['FEATURExtraceQU1HZ6', 'FEATURExtraceP9I50Y', 'FEATURExtraceWNT0B5'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + ], + [ + 'name' => 'Service', + 'in' => 'query', + 'schema' => ['description' => '服务Code。'."\n" + ."\n" + .'xtrace:可观测链路 OpenTelemetry 版', 'type' => 'string', 'required' => true, 'example' => 'xtrace'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结构体。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F*******'], + 'Data' => ['description' => '查询结果。', 'type' => 'string', 'example' => 'true'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '检查商业化状态', + 'summary' => '检查商业化状态。', + 'changeSet' => [ + ['createdAt' => '2024-06-25T06:06:44.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'xtrace:GetCommercialStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F*******\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', + ], + 'GetTagKey' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46,65 +98,35 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55548', - 'abilityTreeNodes' => [ - 'FEATURExtraceZX0L4J', - ], + 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '服务名称,又称为应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'appTest', - ], + 'schema' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'appTest'], ], [ 'name' => 'SpanName', 'in' => 'query', - 'schema' => [ - 'description' => 'Span名称,又称为Operation名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'createOrder', - ], + 'schema' => ['description' => 'Span名称,又称为Operation名称。', 'type' => 'string', 'required' => false, 'example' => 'createOrder'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间的时间戳,精确到毫秒(ms)。'."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。</notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1575561600000', - ], + 'schema' => ['description' => '开始时间的时间戳,精确到毫秒(ms)。'."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。</notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间的时间戳,精确到毫秒(ms)。'."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。</notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1575622455686', - ], + 'schema' => ['description' => '结束时间的时间戳,精确到毫秒(ms)。'."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。</notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575622455686'], ], ], 'responses' => [ @@ -112,11 +134,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'TagKeys' => [ 'type' => 'object', 'itemNode' => true, @@ -124,34 +142,43 @@ 'TagKey' => [ 'description' => '标签键列表。', 'type' => 'array', - 'items' => [ - 'description' => '标签键列表。', - 'type' => 'string', - 'example' => '{"TagKey":["date","resultCount","aTid"]}', - ], + 'items' => ['description' => '标签键列表。', 'type' => 'string', 'example' => '{"TagKey":["date","resultCount","aTid"]}'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagKeys\\": {\\n \\"TagKey\\": [\\n \\"{\\\\\\"TagKey\\\\\\":[\\\\\\"date\\\\\\",\\\\\\"resultCount\\\\\\",\\\\\\"aTid\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTagKeyResponse> \\n <TagKeys> \\n <TagKey>date</TagKey> \\n <TagKey>resultCount</TagKey> \\n <TagKey>aTid</TagKey> \\n </TagKeys> \\n <RequestId>7D6519C1-A92A-4F07-AC83-706D48204242</RequestId> \\n</GetTagKeyResponse>\\n","errorExample":""}]', 'title' => '获取标签Key', 'summary' => '调用GetTagKey接口获取标签键', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetTagVal' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagKeys\\": {\\n \\"TagKey\\": [\\n \\"{\\\\\\"TagKey\\\\\\":[\\\\\\"date\\\\\\",\\\\\\"resultCount\\\\\\",\\\\\\"aTid\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTagKeyResponse> \\n <TagKeys> \\n <TagKey>date</TagKey> \\n <TagKey>resultCount</TagKey> \\n <TagKey>aTid</TagKey> \\n </TagKeys> \\n <RequestId>7D6519C1-A92A-4F07-AC83-706D48204242</RequestId> \\n</GetTagKeyResponse>\\n","errorExample":""}]', + ], + 'GetTagVal' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -161,77 +188,42 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55549', - 'abilityTreeNodes' => [ - 'FEATURExtraceZX0L4J', - ], + 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '服务名称,又称为应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'appTest', - ], + 'schema' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'appTest'], ], [ 'name' => 'SpanName', 'in' => 'query', - 'schema' => [ - 'description' => 'Span名称,又称为Operation名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'createOrder', - ], + 'schema' => ['description' => 'Span名称,又称为Operation名称。', 'type' => 'string', 'required' => false, 'example' => 'createOrder'], ], [ 'name' => 'TagKey', 'in' => 'query', - 'schema' => [ - 'description' => '标签键。'."\n" - ."\n" - .'获取TagKey,请参见[GetTagKey](~~2399667~~)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'span.kind', - ], + 'schema' => ['description' => '标签键。'."\n" + ."\n" + .'获取TagKey,请参见[GetTagKey](~~2399667~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'span.kind'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,精确到毫秒(ms)。'."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1575561600000', - ], + 'schema' => ['description' => '开始时间,精确到毫秒(ms)。'."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,精确到毫秒(ms)。'."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1575622455686', - ], + 'schema' => ['description' => '结束时间,精确到毫秒(ms)。'."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575622455686'], ], ], 'responses' => [ @@ -239,46 +231,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'TagValues' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagValue' => [ 'type' => 'array', - 'items' => [ - 'description' => '标签值列表。', - 'type' => 'string', - 'example' => '{"TagValue":["server"]}', - ], + 'items' => ['description' => '标签值列表。', 'type' => 'string', 'example' => '{"TagValue":["server"]}'], + 'description' => '', ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagValues\\": {\\n \\"TagValue\\": [\\n \\"{\\\\\\"TagValue\\\\\\":[\\\\\\"server\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTagValResponse> \\n <RequestId>D36507D4-FD30-430B-BEC4-738661CFB86C</RequestId> \\n <TagValues> \\n <TagValue>server</TagValue> \\n </TagValues> \\n</GetTagValResponse>","errorExample":""}]', 'title' => '获取标签Value', 'summary' => '获取上报的链路数据中指定Tag Key对应的Tag Value。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetTrace' => [ - 'summary' => '调用GetTrace接口获取调用链路详情。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagValues\\": {\\n \\"TagValue\\": [\\n \\"{\\\\\\"TagValue\\\\\\":[\\\\\\"server\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTagValResponse> \\n <RequestId>D36507D4-FD30-430B-BEC4-738661CFB86C</RequestId> \\n <TagValues> \\n <TagValue>server</TagValue> \\n </TagValues> \\n</GetTagValResponse>","errorExample":""}]', + ], + 'GetTrace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -291,69 +288,39 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55551', - 'abilityTreeNodes' => [ - 'FEATURExtraceDX6R5A', - ], + 'abilityTreeNodes' => ['FEATURExtraceDX6R5A'], ], 'parameters' => [ [ 'name' => 'TraceID', 'in' => 'query', - 'schema' => [ - 'description' => '调用链ID,链路请求的唯一标识。'."\n" - ."\n" - .'可在控制台的**调用链分析**页面获取,也可通过**SearchTraces** API获取。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1c6881aab84191a4******', - ], + 'schema' => ['description' => '调用链ID,链路请求的唯一标识。'."\n" + ."\n" + .'可在控制台的**调用链分析**页面获取,也可通过**SearchTraces** API获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1c6881aab84191a4******'], ], [ 'name' => 'AppType', 'in' => 'query', - 'schema' => [ - 'description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" - ."\n" - .'- 空:查询XTRACE和ARMS调用链。'."\n" - ."\n" - .'- `XTRACE`:只查询XTRACE调用链。', - 'type' => 'string', - 'required' => false, - 'example' => 'XTRACE', - ], + 'schema' => ['description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" + ."\n" + .'- 空:查询XTRACE和ARMS调用链。'."\n" + ."\n" + .'- `XTRACE`:只查询XTRACE调用链。', 'type' => 'string', 'required' => false, 'example' => 'XTRACE'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '查询分页的页码。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '查询分页的页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询分页的每页项目数量,最大值为 100。', - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '查询分页的每页项目数量,最大值为 100。', 'type' => 'string', 'required' => false, 'example' => '5'], ], ], 'responses' => [ @@ -361,11 +328,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'Spans' => [ 'type' => 'object', 'itemNode' => true, @@ -377,67 +340,21 @@ 'description' => 'span列表。', 'type' => 'object', 'properties' => [ - 'SpanId' => [ - 'description' => 'Span ID。', - 'type' => 'string', - 'example' => 'fec891bb8f8XXX', - ], - 'HaveStack' => [ - 'description' => '是否有子Span。取值:'."\n" - ."\n" - .'- `true`:有子Span。'."\n" - ."\n" - .'- `false`:无子Span。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ServiceIp' => [ - 'description' => '服务IP地址,即Span所在的机器IP地址。', - 'type' => 'string', - 'example' => '192.168.XXX.XXX', - ], - 'OperationName' => [ - 'description' => 'Span名称。', - 'type' => 'string', - 'example' => '/api', - ], - 'ParentSpanId' => [ - 'description' => '父Span ID。', - 'type' => 'string', - 'example' => 'fec891bb8f8XXX', - ], - 'ResultCode' => [ - 'description' => '返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Duration' => [ - 'description' => '耗时,单位为毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'RpcId' => [ - 'description' => '表示Span之间的父子兄弟关系。 例如1.1是1.1.1的父亲Span, 而1.1.2和1.1.1是兄弟Span。', - 'type' => 'string', - 'example' => '1.1', - ], - 'Timestamp' => [ - 'description' => 'Span的产生时间戳。单位为微秒(μm)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1689845513298000', - ], - 'ServiceName' => [ - 'description' => '服务名称,又称为应用名称。', - 'type' => 'string', - 'example' => 'server1', - ], - 'TraceID' => [ - 'description' => '调用链ID,链路请求的唯一标识。', - 'type' => 'string', - 'example' => '1c6881aab84191a4', - ], + 'SpanId' => ['description' => 'Span ID。', 'type' => 'string', 'example' => 'fec891bb8f8XXX'], + 'HaveStack' => ['description' => '是否有子Span。取值:'."\n" + ."\n" + .'- `true`:有子Span。'."\n" + ."\n" + .'- `false`:无子Span。', 'type' => 'boolean', 'example' => 'false'], + 'ServiceIp' => ['description' => '服务IP地址,即Span所在的机器IP地址。', 'type' => 'string', 'example' => '192.168.XXX.XXX'], + 'OperationName' => ['description' => 'Span名称。', 'type' => 'string', 'example' => '/api'], + 'ParentSpanId' => ['description' => '父Span ID。', 'type' => 'string', 'example' => 'fec891bb8f8XXX'], + 'ResultCode' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'], + 'Duration' => ['description' => '耗时,单位为毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'RpcId' => ['description' => '表示Span之间的父子兄弟关系。 例如1.1是1.1.1的父亲Span, 而1.1.2和1.1.1是兄弟Span。', 'type' => 'string', 'example' => '1.1'], + 'Timestamp' => ['description' => 'Span的产生时间戳。单位为微秒(μm)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1689845513298000'], + 'ServiceName' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'example' => 'server1'], + 'TraceID' => ['description' => '调用链ID,链路请求的唯一标识。', 'type' => 'string', 'example' => '1c6881aab84191a4'], 'TagEntryList' => [ 'type' => 'object', 'itemNode' => true, @@ -449,20 +366,13 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'Span的标签键。', - 'type' => 'string', - 'example' => 'logLevel', - ], - 'Value' => [ - 'description' => 'Span的标签值。', - 'type' => 'string', - 'example' => 'Warning', - ], + 'Key' => ['description' => 'Span的标签键。', 'type' => 'string', 'example' => 'logLevel'], + 'Value' => ['description' => 'Span的标签值。', 'type' => 'string', 'example' => 'Warning'], ], ], ], ], + 'description' => '', ], 'LogEventList' => [ 'type' => 'object', @@ -475,12 +385,7 @@ 'description' => '日志事件列表。', 'type' => 'object', 'properties' => [ - 'Timestamp' => [ - 'description' => '日志事件的产生时间戳。单位为微秒(μm)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1689845513298000', - ], + 'Timestamp' => ['description' => '日志事件的产生时间戳。单位为微秒(μm)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1689845513298000'], 'TagEntryList' => [ 'type' => 'object', 'itemNode' => true, @@ -492,56 +397,64 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '日志事件的标签键。', - 'type' => 'string', - 'example' => 'logLevel', - ], - 'Value' => [ - 'description' => '日志事件的标签值。', - 'type' => 'string', - 'example' => 'Warning', - ], + 'Key' => ['description' => '日志事件的标签键。', 'type' => 'string', 'example' => 'logLevel'], + 'Value' => ['description' => '日志事件的标签值。', 'type' => 'string', 'example' => 'Warning'], ], ], ], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], - 'StatusCode' => [ - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'StatusCode' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"Spans\\": {\\n \\"Span\\": [\\n {\\n \\"SpanId\\": \\"fec891bb8f8XXX\\",\\n \\"HaveStack\\": false,\\n \\"ServiceIp\\": \\"192.168.XXX.XXX\\",\\n \\"OperationName\\": \\"/api\\",\\n \\"ParentSpanId\\": \\"fec891bb8f8XXX\\",\\n \\"ResultCode\\": \\"200\\",\\n \\"Duration\\": 1000,\\n \\"RpcId\\": \\"1.1\\",\\n \\"Timestamp\\": 1689845513298000,\\n \\"ServiceName\\": \\"server1\\",\\n \\"TraceID\\": \\"1c6881aab84191a4\\",\\n \\"TagEntryList\\": {\\n \\"TagEntry\\": [\\n {\\n \\"Key\\": \\"logLevel\\",\\n \\"Value\\": \\"Warning\\"\\n }\\n ]\\n },\\n \\"LogEventList\\": {\\n \\"LogEvent\\": [\\n {\\n \\"Timestamp\\": 1689845513298000,\\n \\"TagEntryList\\": {\\n \\"TagEntry\\": [\\n {\\n \\"Key\\": \\"logLevel\\",\\n \\"Value\\": \\"Warning\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"StatusCode\\": 200\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTraceResponse> \\n <RequestId>1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED</RequestId> \\n <Spans> \\n <Span> \\n <HaveStack>false</HaveStack> \\n <ParentSpanId>fec891bb8f8XXX</ParentSpanId> \\n <ServiceIp>192.168.XXX.XXX</ServiceIp> \\n <ServiceName>server1</ServiceName> \\n <OperationName>/api</OperationName> \\n <RpcId>1.1</RpcId> \\n <TraceID>1c6881aab84191a4</TraceID> \\n <Duration>1000</Duration> \\n <Timestamp>1583683202047000</Timestamp> \\n <ResultCode>200</ResultCode> \\n <SpanId>fec891bb8f8XXX</SpanId> \\n <TagEntryList> \\n <TagEntry> \\n <Value>Warning</Value> \\n <Key>logLevel</Key> \\n </TagEntry> \\n </TagEntryList> \\n <LogEventList> \\n <LogEvent> \\n <Timestamp>1583683202047000</Timestamp> \\n <TagEntryList> \\n <TagEntry> \\n <Value>Warning</Value> \\n <Key>logLevel</Key> \\n </TagEntry> \\n </TagEntryList> \\n </LogEvent> \\n </LogEventList> \\n </Span> \\n </Spans> \\n</GetTraceResponse>","errorExample":""}]', 'title' => '获取调用链路详情', + 'summary' => '调用GetTrace接口获取调用链路详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListIpOrHosts' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-27T08:43:46.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2021-08-20T06:40:07.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrace'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"Spans\\": {\\n \\"Span\\": [\\n {\\n \\"SpanId\\": \\"fec891bb8f8XXX\\",\\n \\"HaveStack\\": false,\\n \\"ServiceIp\\": \\"192.168.XXX.XXX\\",\\n \\"OperationName\\": \\"/api\\",\\n \\"ParentSpanId\\": \\"fec891bb8f8XXX\\",\\n \\"ResultCode\\": \\"200\\",\\n \\"Duration\\": 1000,\\n \\"RpcId\\": \\"1.1\\",\\n \\"Timestamp\\": 1689845513298000,\\n \\"ServiceName\\": \\"server1\\",\\n \\"TraceID\\": \\"1c6881aab84191a4\\",\\n \\"TagEntryList\\": {\\n \\"TagEntry\\": [\\n {\\n \\"Key\\": \\"logLevel\\",\\n \\"Value\\": \\"Warning\\"\\n }\\n ]\\n },\\n \\"LogEventList\\": {\\n \\"LogEvent\\": [\\n {\\n \\"Timestamp\\": 1689845513298000,\\n \\"TagEntryList\\": {\\n \\"TagEntry\\": [\\n {\\n \\"Key\\": \\"logLevel\\",\\n \\"Value\\": \\"Warning\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"StatusCode\\": 200\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTraceResponse> \\n <RequestId>1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED</RequestId> \\n <Spans> \\n <Span> \\n <HaveStack>false</HaveStack> \\n <ParentSpanId>fec891bb8f8XXX</ParentSpanId> \\n <ServiceIp>192.168.XXX.XXX</ServiceIp> \\n <ServiceName>server1</ServiceName> \\n <OperationName>/api</OperationName> \\n <RpcId>1.1</RpcId> \\n <TraceID>1c6881aab84191a4</TraceID> \\n <Duration>1000</Duration> \\n <Timestamp>1583683202047000</Timestamp> \\n <ResultCode>200</ResultCode> \\n <SpanId>fec891bb8f8XXX</SpanId> \\n <TagEntryList> \\n <TagEntry> \\n <Value>Warning</Value> \\n <Key>logLevel</Key> \\n </TagEntry> \\n </TagEntryList> \\n <LogEventList> \\n <LogEvent> \\n <Timestamp>1583683202047000</Timestamp> \\n <TagEntryList> \\n <TagEntry> \\n <Value>Warning</Value> \\n <Key>logLevel</Key> \\n </TagEntry> \\n </TagEntryList> \\n </LogEvent> \\n </LogEventList> \\n </Span> \\n </Spans> \\n</GetTraceResponse>","errorExample":""}]', + ], + 'ListIpOrHosts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -551,53 +464,28 @@ 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '55553', - 'abilityTreeNodes' => [ - 'FEATURExtraceOGOOWE', - ], + 'abilityTreeNodes' => ['FEATURExtraceOGOOWE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称。若为空则查询该地域下所有应用的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'service1', - ], + 'schema' => ['description' => '应用名称。若为空则查询该地域下所有应用的IP地址。', 'type' => 'string', 'required' => false, 'example' => 'service1'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间的时间戳,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200000', - ], + 'schema' => ['description' => '开始时间的时间戳,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间的时间戳,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583723776974', - ], + 'schema' => ['description' => '结束时间的时间戳,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583723776974'], ], ], 'responses' => [ @@ -605,11 +493,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1******'], 'IpNames' => [ 'type' => 'object', 'itemNode' => true, @@ -617,34 +501,43 @@ 'IpName' => [ 'description' => 'IP地址列表。', 'type' => 'array', - 'items' => [ - 'description' => 'IP地址列表。', - 'type' => 'string', - 'example' => '[ "172.19.XXX.XXX", "10.0.X.X" ]', - ], + 'items' => ['description' => 'IP地址列表。', 'type' => 'string', 'example' => '[ "172.19.XXX.XXX", "10.0.X.X" ]'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1******\\",\\n \\"IpNames\\": {\\n \\"IpName\\": [\\n \\"[ \\\\\\"172.19.XXX.XXX\\\\\\", \\\\\\"10.0.X.X\\\\\\" ]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListIpOrHostsResponse>\\n <RequestId>23D9757C-CB58-41A5-BBE7-2A9A0652****</RequestId>\\n <IpNames>\\n <IpName>172.19.XXX.XXX</IpName>\\n <IpName>10.0.X.X</IpName>\\n </IpNames>\\n</ListIpOrHostsResponse>","errorExample":""}]', 'title' => '获取IP地址或机器名', 'summary' => '获取链路数据中的IP地址或者机器名称,可获取整个地域或某个应用下的所有IP地址。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListServices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1******\\",\\n \\"IpNames\\": {\\n \\"IpName\\": [\\n \\"[ \\\\\\"172.19.XXX.XXX\\\\\\", \\\\\\"10.0.X.X\\\\\\" ]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListIpOrHostsResponse>\\n <RequestId>23D9757C-CB58-41A5-BBE7-2A9A0652****</RequestId>\\n <IpNames>\\n <IpName>172.19.XXX.XXX</IpName>\\n <IpName>10.0.X.X</IpName>\\n </IpNames>\\n</ListIpOrHostsResponse>","errorExample":""}]', + ], + 'ListServices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -654,35 +547,22 @@ 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '55554', - 'abilityTreeNodes' => [ - 'FEATURExtraceF2LCA8', - ], + 'abilityTreeNodes' => ['FEATURExtraceF2LCA8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'AppType', 'in' => 'query', - 'schema' => [ - 'description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" - ."\n" - .'- 空:查询XTRACE和ARMS调用链。'."\n" - ."\n" - .'- `XTRACE`:只查询XTRACE调用链。', - 'type' => 'string', - 'required' => false, - 'example' => 'XTRACE', - ], + 'schema' => ['description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" + ."\n" + .'- 空:查询XTRACE和ARMS调用链。'."\n" + ."\n" + .'- `XTRACE`:只查询XTRACE调用链。', 'type' => 'string', 'required' => false, 'example' => 'XTRACE'], ], ], 'responses' => [ @@ -690,11 +570,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'Services' => [ 'type' => 'object', 'itemNode' => true, @@ -706,47 +582,48 @@ 'description' => '应用列表。', 'type' => 'object', 'properties' => [ - 'ServiceName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'a3', - ], - 'Pid' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'example' => 'XXXqn3ly@741623b4e915df8', - ], - 'RegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], + 'ServiceName' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'a3'], + 'Pid' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'XXXqn3ly@741623b4e915df8'], + 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], ], ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"Services\\": {\\n \\"Service\\": [\\n {\\n \\"ServiceName\\": \\"a3\\",\\n \\"Pid\\": \\"XXXqn3ly@741623b4e915df8\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListServicesResponse> \\n <Services> \\n <Service> \\n <ServiceName>a3</ServiceName> \\n <Pid>XXXqn3ly@741623b4e915df8</Pid> \\n <RegionId>cn-hangzhou</RegionId> \\n </Service> \\n </Services> \\n</ListServicesResponse>","errorExample":""}]', 'title' => '获取应用列表', 'summary' => '调用ListServices获取应用列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"Services\\": {\\n \\"Service\\": [\\n {\\n \\"ServiceName\\": \\"a3\\",\\n \\"Pid\\": \\"XXXqn3ly@741623b4e915df8\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListServicesResponse> \\n <Services> \\n <Service> \\n <ServiceName>a3</ServiceName> \\n <Pid>XXXqn3ly@741623b4e915df8</Pid> \\n <RegionId>cn-hangzhou</RegionId> \\n </Service> \\n </Services> \\n</ListServicesResponse>","errorExample":""}]', ], 'ListSpanNames' => [ 'summary' => '获取指定地域下所有的Span名称,也可获取某个微服务的所有Span名称。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -758,53 +635,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55555', - 'abilityTreeNodes' => [ - 'FEATURExtraceZX0L4J', - ], + 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '服务名称,又称为应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'service 1', - ], + 'schema' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'service 1'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间的时间戳,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1714298814000', - ], + 'schema' => ['description' => '开始时间的时间戳,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1714298814000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间的时间戳,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1714385214000', - ], + 'schema' => ['description' => '结束时间的时间戳,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1714385214000'], ], ], 'responses' => [ @@ -812,11 +664,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'SpanNames' => [ 'type' => 'object', 'itemNode' => true, @@ -824,63 +672,124 @@ 'SpanName' => [ 'description' => 'Span名称列表。', 'type' => 'array', - 'items' => [ - 'description' => 'Span名称列表。', - 'type' => 'string', - 'example' => '{'."\n" - .' "SpanName": ['."\n" - .' "GET /**",'."\n" - .' "path_selection",'."\n" - .' "POST"'."\n" - .' ]'."\n" - .' }', - ], + 'items' => ['description' => 'Span名称列表。', 'type' => 'string', 'example' => '{'."\n" + .' "SpanName": ['."\n" + .' "GET /**",'."\n" + .' "path_selection",'."\n" + .' "POST"'."\n" + .' ]'."\n" + .' }'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterRegionIdMissing', - 'errorMessage' => '区域参数缺失', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => '内部错误,建议重试,如果多次重试报错请联系钉钉服务账号', - ], + ['errorCode' => 'ParameterRegionIdMissing', 'errorMessage' => '区域参数缺失', 'description' => ''], + ['errorCode' => 'InternalError', 'errorMessage' => '内部错误,建议重试,如果多次重试报错请联系钉钉服务账号', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'APINotAuthorize', - 'errorMessage' => '当前用户无权限访问该接口', - ], + ['errorCode' => 'APINotAuthorize', 'errorMessage' => '当前用户无权限访问该接口', 'description' => ''], ], [ - [ - 'errorCode' => 'ServiceNameNotExist', - 'errorMessage' => 'ServiceName不存在', - ], + ['errorCode' => 'ServiceNameNotExist', 'errorMessage' => 'ServiceName不存在', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"SpanNames\\": {\\n \\"SpanName\\": [\\n \\"{\\\\n \\\\\\"SpanName\\\\\\": [\\\\n \\\\\\"GET /**\\\\\\",\\\\n \\\\\\"path_selection\\\\\\",\\\\n \\\\\\"POST\\\\\\"\\\\n ]\\\\n }\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListSpanNamesResponse> \\n <SpanNames> \\n <SpanName>rpc0</SpanName> \\n <SpanName>rpc1.1</SpanName> \\n <SpanName>rpc1.1.1</SpanName> \\n </SpanNames> \\n <RequestId>79C84C64-9951-477E-96F3-7FA44128C601</RequestId> \\n</ListSpanNamesResponse>","errorExample":""}]', 'title' => '获取所有Span名称', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-09-04T09:29:42.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-14T09:45:53.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"SpanNames\\": {\\n \\"SpanName\\": [\\n \\"{\\\\n \\\\\\"SpanName\\\\\\": [\\\\n \\\\\\"GET /**\\\\\\",\\\\n \\\\\\"path_selection\\\\\\",\\\\n \\\\\\"POST\\\\\\"\\\\n ]\\\\n }\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListSpanNamesResponse> \\n <SpanNames> \\n <SpanName>rpc0</SpanName> \\n <SpanName>rpc1.1</SpanName> \\n <SpanName>rpc1.1.1</SpanName> \\n </SpanNames> \\n <RequestId>79C84C64-9951-477E-96F3-7FA44128C601</RequestId> \\n</ListSpanNamesResponse>","errorExample":""}]', ], - 'QueryMetric' => [ - 'methods' => [ - 'post', - 'get', + 'OpenXtraceService' => [ + 'summary' => '开通可观测链路 OpenTelemetry 版。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '55556', + 'abilityTreeNodes' => ['FEATURExtraceQU1HZ6', 'FEATURExtraceP9I50Y', 'FEATURExtraceWNT0B5'], ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'True'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****'], + 'OrderId' => ['description' => '订单id。', 'type' => 'string', 'example' => '155709986'], + ], + 'description' => '', + ], + ], + ], + 'title' => '开通可观测链路 OpenTelemetry 版', + 'changeSet' => [ + ['createdAt' => '2023-11-27T08:50:57.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-10-25T03:45:56.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'xtrace:GetToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"True\\",\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****\\",\\n \\"OrderId\\": \\"155709986\\"\\n}","type":"json"}]', + ], + 'QueryMetric' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -891,110 +800,60 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55557', - 'abilityTreeNodes' => [ - 'FEATURExtraceOGOOWE', - ], + 'abilityTreeNodes' => ['FEATURExtraceOGOOWE'], ], 'parameters' => [ [ 'name' => 'IntervalInSec', 'in' => 'query', - 'schema' => [ - 'description' => '数据片的时间间隔,单位为毫秒,最小值为60000。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '100000', - ], + 'schema' => ['description' => '数据片的时间间隔,单位为毫秒,最小值为60000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '100000'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,精确到毫秒(ms)。'."\n" - ."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1575561600000', - ], + 'schema' => ['description' => '开始时间,精确到毫秒(ms)。'."\n" + ."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,精确到毫秒(ms)。'."\n" - ."\n" - .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1575622455686', - ], + 'schema' => ['description' => '结束时间,精确到毫秒(ms)。'."\n" + ."\n" + .'><notice>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1575622455686'], ], [ 'name' => 'OrderBy', 'in' => 'query', - 'schema' => [ - 'description' => '排序字段,根据查询返回字段中的某个字段排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'count', - ], + 'schema' => ['description' => '排序字段,根据查询返回字段中的某个字段排序。', 'type' => 'string', 'required' => false, 'example' => 'count'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '返回数据条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'Metric', 'in' => 'query', - 'schema' => [ - 'description' => '指标名称,取值:'."\n" - ."\n" - .'- `appstat.incall`:接口统计。'."\n" - ."\n" - .'- `appstat.sql`:SQL统计。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'appstat.incall', - ], + 'schema' => ['description' => '指标名称,取值:'."\n" + ."\n" + .'- `appstat.incall`:接口统计。'."\n" + ."\n" + .'- `appstat.sql`:SQL统计。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'appstat.incall'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '排序,取值:'."\n" - ."\n" - .'- `ASC`:升序。'."\n" - ."\n" - .'- `DESC`:降序。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => '排序,取值:'."\n" + ."\n" + .'- `ASC`:升序。'."\n" + ."\n" + .'- `DESC`:降序。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'ProxyUserId', 'in' => 'query', - 'schema' => [ - 'description' => '代理用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'testefgag12', - ], + 'schema' => ['description' => '代理用户ID。', 'type' => 'string', 'required' => false, 'example' => 'testefgag12'], ], [ 'name' => 'Filters', @@ -1014,12 +873,7 @@ 'enumValueTitles' => [], 'example' => 'service', ], - 'Value' => [ - 'description' => '过滤字段的Value。', - 'type' => 'string', - 'required' => false, - 'example' => 'service-test', - ], + 'Value' => ['description' => '过滤字段的Value。', 'type' => 'string', 'required' => false, 'example' => 'service-test'], ], 'required' => false, ], @@ -1034,12 +888,7 @@ 'schema' => [ 'description' => '维度,即GroupBy分组。', 'type' => 'array', - 'items' => [ - 'description' => '指标对应的维度。', - 'type' => 'string', - 'required' => false, - 'example' => 'pid', - ], + 'items' => ['description' => '指标对应的维度。', 'type' => 'string', 'required' => false, 'example' => 'pid'], 'required' => false, 'example' => 'RT', 'maxItems' => 5, @@ -1052,26 +901,21 @@ 'schema' => [ 'description' => '查询字段。', 'type' => 'array', - 'items' => [ - 'description' => '**Metric**取值为`appstat.incall`时,**Measures**取值:'."\n" - ."\n" - .'- rt:响应时间。'."\n" - .'- count:总数。'."\n" - .'- error:错误数。'."\n" - .'- exception:异常。'."\n" - .'- errorrate:错误率。'."\n" - .'- qps:每秒请求数。'."\n" - ."\n" - .'**Metric**取值为`appstat.sql`时,**Measures**取值:'."\n" - ."\n" - .'- rt:响应时间。'."\n" - .'- count:总数。'."\n" - .'- error:错误数。'."\n" - .'- slowcount:慢调用次数。', - 'type' => 'string', - 'required' => false, - 'example' => 'rt', - ], + 'items' => ['description' => '**Metric**取值为`appstat.incall`时,**Measures**取值:'."\n" + ."\n" + .'- rt:响应时间。'."\n" + .'- count:总数。'."\n" + .'- error:错误数。'."\n" + .'- exception:异常。'."\n" + .'- errorrate:错误率。'."\n" + .'- qps:每秒请求数。'."\n" + ."\n" + .'**Metric**取值为`appstat.sql`时,**Measures**取值:'."\n" + ."\n" + .'- rt:响应时间。'."\n" + .'- count:总数。'."\n" + .'- error:错误数。'."\n" + .'- slowcount:慢调用次数。', 'type' => 'string', 'required' => false, 'example' => 'rt'], 'required' => true, 'example' => 'count', 'maxItems' => 5, @@ -1083,37 +927,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回统计信息。', - 'type' => 'string', - 'example' => '{ "Data": "{\\"data\\":[{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"}]}}', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'Data' => ['description' => '返回统计信息。', 'type' => 'string', 'example' => '{ "Data": "{\\"data\\":[{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"}]}}'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{ \\\\\\"Data\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":1583686800000,\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"rt\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"rpc\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"childSpan3\\\\\\\\\\\\\\"}]}}\\",\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryMetricResponse> \\n <RequestId>E2373982-D8CD-413D-B991-8EB678C01B4F</RequestId> \\n <Data>{\\"data\\":[{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":0.01,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":305.18,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":305.25,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":306.25,\\"rpc\\":\\"parentSpan\\"}],\\"actualSizeFromDB\\":0,\\"intervalInSec\\":3600,\\"resultSize\\":0,\\"successful\\":true}</Data> \\n</QueryMetricResponse>\\n","errorExample":""}]', 'title' => '查询监控指标', 'summary' => '调用QueryMetric查询相关监控指标。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{ \\\\\\"Data\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":1583686800000,\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"rt\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"rpc\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"childSpan3\\\\\\\\\\\\\\"}]}}\\",\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryMetricResponse> \\n <RequestId>E2373982-D8CD-413D-B991-8EB678C01B4F</RequestId> \\n <Data>{\\"data\\":[{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583686800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583690400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583694000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583697600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583701200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583704800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583708400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583712000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583715600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583719200000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583722800000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583726400000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583730000000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583733600000,\\"count\\":0,\\"rt\\":0,\\"rpc\\":\\"parentSpan\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":0.01,\\"rpc\\":\\"childSpan3\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":305.18,\\"rpc\\":\\"childSpan2\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":305.25,\\"rpc\\":\\"childSpan\\"},{\\"date\\":1583737200000,\\"count\\":100,\\"__time__\\":1583683200,\\"rt\\":306.25,\\"rpc\\":\\"parentSpan\\"}],\\"actualSizeFromDB\\":0,\\"intervalInSec\\":3600,\\"resultSize\\":0,\\"successful\\":true}</Data> \\n</QueryMetricResponse>\\n","errorExample":""}]', ], 'SearchTraces' => [ 'summary' => '调用SearchTraces查询调用链列表,可根据时间、应用名称、IP地址、Span名称、Tag等信息对调用链进行过滤查询。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1125,136 +973,71 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55558', - 'abilityTreeNodes' => [ - 'FEATURExtraceZX0L4J', - ], + 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1714298814000', - ], + 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1714298814000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,精确到毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1714385214000', - ], + 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1714385214000'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '地域ID。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '微服务名称,又称为应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'service 1', - ], + 'schema' => ['description' => '微服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'service 1'], ], [ 'name' => 'OperationName', 'in' => 'query', - 'schema' => [ - 'description' => 'Span名称,即某个跟踪点或埋点的名称。', - 'type' => 'string', - 'required' => false, - 'example' => '/api', - ], + 'schema' => ['description' => 'Span名称,即某个跟踪点或埋点的名称。', 'type' => 'string', 'required' => false, 'example' => '/api'], ], [ 'name' => 'MinDuration', 'in' => 'query', - 'schema' => [ - 'description' => '大于某个时间跨度范围,单位为毫秒(ms)。例如,200表示大于200毫秒的数据。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '大于某个时间跨度范围,单位为毫秒(ms)。例如,200表示大于200毫秒的数据。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'AppType', 'in' => 'query', - 'schema' => [ - 'description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" - ."\n" - .'- 空:查询XTRACE和ARMS调用链。'."\n" - ."\n" - .'- `XTRACE`:只查询XTRACE调用链。', - 'type' => 'string', - 'required' => false, - 'example' => 'XTRACE', - ], + 'schema' => ['description' => '应用类型,取值为空或`XTRACE`,推荐设置为空。'."\n" + ."\n" + .'- 空:查询XTRACE和ARMS调用链。'."\n" + ."\n" + .'- `XTRACE`:只查询XTRACE调用链。', 'type' => 'string', 'required' => false, 'example' => 'XTRACE'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码,例如,5表示第5页。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码,例如,5表示第5页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页的查询数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '每页的查询数据条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'Reverse', 'in' => 'query', - 'schema' => [ - 'description' => '按照时间正序或者倒序排列。默认为`false`。取值:'."\n" - ."\n" - .'- `true`:倒序。'."\n" - ."\n" - .'- `false` :顺序。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '按照时间正序或者倒序排列。默认为`false`。取值:'."\n" + ."\n" + .'- `true`:倒序。'."\n" + ."\n" + .'- `false` :顺序。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ServiceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'Span对应主机的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.163.XXX.XXX', - ], + 'schema' => ['description' => 'Span对应主机的IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.163.XXX.XXX'], ], [ 'name' => 'Tag', @@ -1267,18 +1050,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'http.status_cod', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '200', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'http.status_cod'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '200'], ], 'required' => false, ], @@ -1289,10 +1062,7 @@ [ 'name' => 'StatusCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -1301,33 +1071,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'PageBean' => [ 'description' => '返回数据的位置信息。', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageNumber' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], + 'PageSize' => ['description' => '每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'], 'TraceInfos' => [ 'type' => 'object', 'itemNode' => true, @@ -1339,288 +1090,268 @@ 'description' => '返回的调用链信息。', 'type' => 'object', 'properties' => [ - 'OperationName' => [ - 'description' => 'Span名称。', - 'type' => 'string', - 'example' => '/api', - ], - 'ServiceIp' => [ - 'description' => 'Span所在的主机IP地址或主机名称。', - 'type' => 'string', - 'example' => '192.163.XXX.XXX', - ], - 'Duration' => [ - 'description' => '耗时,单位为毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], - 'Timestamp' => [ - 'description' => 'Span产生时间,单位为毫秒(ms)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1714306014000', - ], - 'ServiceName' => [ - 'description' => '微服务名称,又称为应用名称。', - 'type' => 'string', - 'example' => 'service1', - ], - 'TraceID' => [ - 'description' => '调用链ID。', - 'type' => 'string', - 'example' => '1c6881aab841******', - ], - 'TagMap' => [ - 'description' => '标签信息。', - 'type' => 'object', - 'example' => '{"env":"dev"}', - ], - 'StatusCode' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'OperationName' => ['description' => 'Span名称。', 'type' => 'string', 'example' => '/api'], + 'ServiceIp' => ['description' => 'Span所在的主机IP地址或主机名称。', 'type' => 'string', 'example' => '192.163.XXX.XXX'], + 'Duration' => ['description' => '耗时,单位为毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'], + 'Timestamp' => ['description' => 'Span产生时间,单位为毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1714306014000'], + 'ServiceName' => ['description' => '微服务名称,又称为应用名称。', 'type' => 'string', 'example' => 'service1'], + 'TraceID' => ['description' => '调用链ID。', 'type' => 'string', 'example' => '1c6881aab841******'], + 'TagMap' => ['description' => '标签信息。', 'type' => 'object', 'example' => '{"env":"dev"}'], + 'StatusCode' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], ], ], ], ], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"PageBean\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 500,\\n \\"TraceInfos\\": {\\n \\"TraceInfo\\": [\\n {\\n \\"OperationName\\": \\"/api\\",\\n \\"ServiceIp\\": \\"192.163.XXX.XXX\\",\\n \\"Duration\\": 500,\\n \\"Timestamp\\": 1714306014000,\\n \\"ServiceName\\": \\"service1\\",\\n \\"TraceID\\": \\"1c6881aab841******\\",\\n \\"TagMap\\": {\\n \\"env\\": \\"dev\\"\\n },\\n \\"StatusCode\\": 0\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<SearchTracesResponse>\\n <RequestId>1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED</RequestId>\\n <PageBean>\\n <PageSize>100</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1000</TotalCount>\\n <TraceInfos>\\n <OperationName>/api</OperationName>\\n <ServiceIp>192.163.XXX.XXX</ServiceIp>\\n <Duration>100</Duration>\\n <Timestamp>1575561600000000</Timestamp>\\n <ServiceName>service1</ServiceName>\\n <TraceID>1c6881aab84191a4</TraceID>\\n </TraceInfos>\\n </PageBean>\\n</SearchTracesResponse>","errorExample":""}]', 'title' => '查询调用链列表', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'OpenXtraceService' => [ - 'summary' => '开通可观测链路 OpenTelemetry 版。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-27T08:43:47.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ - [ - 'AK' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '55556', - 'abilityTreeNodes' => [ - 'FEATURExtraceQU1HZ6', - 'FEATURExtraceP9I50Y', - 'FEATURExtraceWNT0B5', - ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"PageBean\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 500,\\n \\"TraceInfos\\": {\\n \\"TraceInfo\\": [\\n {\\n \\"OperationName\\": \\"/api\\",\\n \\"ServiceIp\\": \\"192.163.XXX.XXX\\",\\n \\"Duration\\": 500,\\n \\"Timestamp\\": 1714306014000,\\n \\"ServiceName\\": \\"service1\\",\\n \\"TraceID\\": \\"1c6881aab841******\\",\\n \\"TagMap\\": {\\n \\"env\\": \\"dev\\"\\n },\\n \\"StatusCode\\": 0\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<SearchTracesResponse>\\n <RequestId>1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED</RequestId>\\n <PageBean>\\n <PageSize>100</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1000</TotalCount>\\n <TraceInfos>\\n <OperationName>/api</OperationName>\\n <ServiceIp>192.163.XXX.XXX</ServiceIp>\\n <Duration>100</Duration>\\n <Timestamp>1575561600000000</Timestamp>\\n <ServiceName>service1</ServiceName>\\n <TraceID>1c6881aab84191a4</TraceID>\\n </TraceInfos>\\n </PageBean>\\n</SearchTracesResponse>","errorExample":""}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.ap-northeast-1.aliyuncs.com', 'endpoint' => 'xtrace.ap-northeast-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.ap-southeast-1.aliyuncs.com', 'endpoint' => 'xtrace.ap-southeast-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.ap-southeast-3.aliyuncs.com', 'endpoint' => 'xtrace.ap-southeast-3.aliyuncs.com', 'vpc' => 'xtrace-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.ap-southeast-5.aliyuncs.com', 'endpoint' => 'xtrace.ap-southeast-5.aliyuncs.com', 'vpc' => 'xtrace-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-beijing.aliyuncs.com', 'endpoint' => 'xtrace.cn-beijing.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-guangzhou.aliyuncs.com', 'endpoint' => 'xtrace.cn-guangzhou.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-hangzhou.aliyuncs.com', 'endpoint' => 'xtrace.cn-hangzhou.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-heyuan.aliyuncs.com', 'endpoint' => 'xtrace.cn-heyuan.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-hongkong.aliyuncs.com', 'endpoint' => 'xtrace.cn-hongkong.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-huhehaote.aliyuncs.com', 'endpoint' => 'xtrace.cn-huhehaote.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-qingdao.aliyuncs.com', 'endpoint' => 'xtrace.cn-qingdao.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-shanghai.aliyuncs.com', 'endpoint' => 'xtrace.cn-shanghai.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-shenzhen.aliyuncs.com', 'endpoint' => 'xtrace.cn-shenzhen.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'xtrace.cn-wulanchabu.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'xtrace.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'xtrace.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'xtrace.us-west-1.aliyuncs.com', 'endpoint' => 'xtrace.us-west-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'xtrace.us-east-1.aliyuncs.com', 'endpoint' => 'xtrace.us-east-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'xtrace.eu-west-1.aliyuncs.com', 'endpoint' => 'xtrace.eu-west-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'xtrace.eu-central-1.aliyuncs.com', 'endpoint' => 'xtrace.eu-central-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'xtrace.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'xtrace.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'xtrace-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => '1006', 'message' => 'The parameter is invalid.', 'http_code' => 503, 'description' => '参数错误'], + ['code' => 'InternalError', 'message' => 'internal error, it is recommended to try again.', 'http_code' => 500, 'description' => '内部错误,建议重试,如果多次重试报错请联系钉钉服务账号'], + ['code' => 'InvalidParameter', 'message' => 'The parameter is invalid.', 'http_code' => 503, 'description' => ' 参数错误'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CheckCommercialStatus'], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'createdAt' => '2024-06-25T06:06:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'OpenXtraceService'], + ], + 'createdAt' => '2023-11-27T08:51:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'OpenXtraceService'], + ], + 'createdAt' => '2023-10-25T03:46:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListSpanNames'], + ], + 'createdAt' => '2023-09-04T09:29:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListSpanNames'], + ], + 'createdAt' => '2023-08-14T09:45:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'GetTrace'], + ], + 'createdAt' => '2021-08-20T06:40:55.000Z', + 'description' => 'GetTrace限流调整', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrace'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ], + ], + 'ram' => [ + 'productCode' => 'Tracing', + 'productName' => '可观测链路 OpenTelemetry 版', + 'ramCodes' => ['xtrace'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CheckCommercialStatus', + 'description' => '检查商业化状态', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'xtrace:GetCommercialStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Result' => [ - 'description' => '返回结果。', - 'type' => 'string', - 'example' => 'True', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****', - ], - 'OrderId' => [ - 'description' => '订单id。', - 'type' => 'string', - 'example' => '155709986', - ], - ], + [ + 'apiName' => 'ListSpanNames', + 'description' => '获取所有Span名称', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": \\"True\\",\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****\\",\\n \\"OrderId\\": \\"155709986\\"\\n}","type":"json"}]', - 'title' => '开通可观测链路 OpenTelemetry 版', - ], - 'CheckCommercialStatus' => [ - 'summary' => '检查商业化状态。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListIpOrHosts', + 'description' => '获取IP地址或机器名', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListServices', + 'description' => '获取应用列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetTagVal', + 'description' => '获取标签Value', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '201972', - 'abilityTreeNodes' => [ - 'FEATURExtraceQU1HZ6', - 'FEATURExtraceP9I50Y', - 'FEATURExtraceWNT0B5', + [ + 'apiName' => 'SearchTraces', + 'description' => '查询调用链列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', + [ + 'apiName' => 'GetTrace', + 'description' => '获取调用链路详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Service', - 'in' => 'query', - 'schema' => [ - 'description' => '服务Code。'."\n" - ."\n" - .'xtrace:可观测链路 OpenTelemetry 版', - 'type' => 'string', - 'required' => true, - 'example' => 'xtrace', + ], + [ + 'apiName' => 'GetTagKey', + 'description' => '获取标签Key', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结构体。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F*******', - ], - 'Data' => [ - 'description' => '查询结果。', - 'type' => 'string', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'OpenXtraceService', + 'description' => '开通可观测链路 OpenTelemetry 版', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'xtrace:GetToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'QueryMetric', + 'description' => '查询监控指标', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'xtrace:SearchTrace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F*******\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', - 'title' => '检查商业化状态', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'xtrace.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'xtrace.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'xtrace.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'xtrace.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'xtrace.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'xtrace.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'xtrace.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'xtrace.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'xtrace.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'xtrace.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'xtrace.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'xtrace.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'xtrace.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'xtrace.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'xtrace.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'xtrace.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'xtrace.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'xtrace.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'xtrace.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'xtrace.ap-southeast-5.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
