'1.0', 'info' => ['style' => 'RPC', 'product' => 'xtrace', 'version' => '2019-08-08'], 'directories' => [ 'GetTagKey', 'GetTagVal', 'GetTrace', 'ListIpOrHosts', 'ListServices', 'ListSpanNames', 'QueryMetric', 'SearchTraces', [ 'children' => ['OpenXtraceService', 'CheckCommercialStatus'], 'type' => 'directory', 'title' => '访问控制', 'id' => 322329, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ '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' => '请求参数发生变更'], ], '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' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55548', 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'appTest'], ], [ 'name' => 'SpanName', 'in' => 'query', 'schema' => ['description' => 'Span名称,又称为Operation名称。', 'type' => 'string', 'required' => false, 'example' => 'createOrder'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => '开始时间的时间戳,精确到毫秒(ms)。'."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => '结束时间的时间戳,精确到毫秒(ms)。'."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575622455686'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'TagKeys' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagKey' => [ 'description' => '标签键列表。', 'type' => 'array', 'items' => ['description' => '标签键列表。', 'type' => 'string', 'example' => '{"TagKey":["date","resultCount","aTid"]}'], ], ], 'description' => '', ], ], 'description' => '', ], ], ], 'title' => '获取标签Key', 'summary' => '调用GetTagKey接口获取标签键', '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 \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagKeys\\": {\\n \\"TagKey\\": [\\n \\"{\\\\\\"TagKey\\\\\\":[\\\\\\"date\\\\\\",\\\\\\"resultCount\\\\\\",\\\\\\"aTid\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":" \\n \\n date \\n resultCount \\n aTid \\n \\n 7D6519C1-A92A-4F07-AC83-706D48204242 \\n\\n","errorExample":""}]', ], 'GetTagVal' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55549', 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => '服务名称,又称为应用名称。', 'type' => 'string', 'required' => false, 'example' => 'appTest'], ], [ 'name' => 'SpanName', 'in' => 'query', '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'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => '开始时间,精确到毫秒(ms)。'."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => '结束时间,精确到毫秒(ms)。'."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1575622455686'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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"]}'], 'description' => '', ], ], 'description' => '', ], ], 'description' => '', ], ], ], 'title' => '获取标签Value', 'summary' => '获取上报的链路数据中指定Tag Key对应的Tag Value。', '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 \\"RequestId\\": \\"1E2B6A4C-6B83-4062-8B6F-AEEC1F******\\",\\n \\"TagValues\\": {\\n \\"TagValue\\": [\\n \\"{\\\\\\"TagValue\\\\\\":[\\\\\\"server\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":" \\n D36507D4-FD30-430B-BEC4-738661CFB86C \\n \\n server \\n \\n","errorExample":""}]', ], 'GetTrace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55551', 'abilityTreeNodes' => ['FEATURExtraceDX6R5A'], ], 'parameters' => [ [ 'name' => 'TraceID', 'in' => 'query', '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'], ], [ 'name' => 'RegionId', 'in' => 'query', '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'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '查询分页的每页项目数量,最大值为 100。', 'type' => 'string', 'required' => false, 'example' => '5'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'Spans' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Span' => [ 'description' => 'Span列表。', 'type' => 'array', 'items' => [ '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'], 'TagEntryList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagEntry' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'Span的标签键。', 'type' => 'string', 'example' => 'logLevel'], 'Value' => ['description' => 'Span的标签值。', 'type' => 'string', 'example' => 'Warning'], ], ], ], ], 'description' => '', ], 'LogEventList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'LogEvent' => [ 'description' => '日志事件列表。', 'type' => 'array', 'items' => [ 'description' => '日志事件列表。', 'type' => 'object', 'properties' => [ 'Timestamp' => ['description' => '日志事件的产生时间戳。单位为微秒(μm)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1689845513298000'], 'TagEntryList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagEntry' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '日志事件的标签键。', 'type' => 'string', 'example' => 'logLevel'], 'Value' => ['description' => '日志事件的标签值。', 'type' => 'string', 'example' => 'Warning'], ], ], ], ], 'description' => '', ], ], ], ], ], 'description' => '', ], 'StatusCode' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], 'description' => '', ], ], 'description' => '', ], ], ], 'title' => '获取调用链路详情', 'summary' => '调用GetTrace接口获取调用链路详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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'], ], ], '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":" \\n 1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED \\n \\n \\n false \\n fec891bb8f8XXX \\n 192.168.XXX.XXX \\n server1 \\n /api \\n 1.1 \\n 1c6881aab84191a4 \\n 1000 \\n 1583683202047000 \\n 200 \\n fec891bb8f8XXX \\n \\n \\n Warning \\n logLevel \\n \\n \\n \\n \\n 1583683202047000 \\n \\n \\n Warning \\n logLevel \\n \\n \\n \\n \\n \\n \\n","errorExample":""}]', ], 'ListIpOrHosts' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '55553', 'abilityTreeNodes' => ['FEATURExtraceOGOOWE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', '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'], ], [ 'name' => 'StartTime', 'in' => 'query', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1******'], 'IpNames' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'IpName' => [ 'description' => 'IP地址列表。', 'type' => 'array', 'items' => ['description' => 'IP地址列表。', 'type' => 'string', 'example' => '[ "172.19.XXX.XXX", "10.0.X.X" ]'], ], ], 'description' => '', ], ], 'description' => '', ], ], ], 'title' => '获取IP地址或机器名', 'summary' => '获取链路数据中的IP地址或者机器名称,可获取整个地域或某个应用下的所有IP地址。', '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-AEEC1******\\",\\n \\"IpNames\\": {\\n \\"IpName\\": [\\n \\"[ \\\\\\"172.19.XXX.XXX\\\\\\", \\\\\\"10.0.X.X\\\\\\" ]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 23D9757C-CB58-41A5-BBE7-2A9A0652****\\n \\n 172.19.XXX.XXX\\n 10.0.X.X\\n \\n","errorExample":""}]', ], 'ListServices' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '55554', 'abilityTreeNodes' => ['FEATURExtraceF2LCA8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'Services' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Service' => [ 'description' => '应用列表。', 'type' => 'array', 'items' => [ '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'], ], ], ], ], 'description' => '', ], ], 'description' => '', ], ], ], '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":" \\n \\n \\n a3 \\n XXXqn3ly@741623b4e915df8 \\n cn-hangzhou \\n \\n \\n","errorExample":""}]', ], 'ListSpanNames' => [ 'summary' => '获取指定地域下所有的Span名称,也可获取某个微服务的所有Span名称。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55555', 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', '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'], ], [ 'name' => 'StartTime', 'in' => 'query', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1E2B6A4C-6B83-4062-8B6F-AEEC1F******'], 'SpanNames' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'SpanName' => [ 'description' => 'Span名称列表。', 'type' => 'array', 'items' => ['description' => 'Span名称列表。', 'type' => 'string', 'example' => '{'."\n" .' "SpanName": ['."\n" .' "GET /**",'."\n" .' "path_selection",'."\n" .' "POST"'."\n" .' ]'."\n" .' }'], ], ], 'description' => '', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterRegionIdMissing', 'errorMessage' => '区域参数缺失', 'description' => ''], ['errorCode' => 'InternalError', 'errorMessage' => '内部错误,建议重试,如果多次重试报错请联系钉钉服务账号', 'description' => ''], ], 403 => [ ['errorCode' => 'APINotAuthorize', 'errorMessage' => '当前用户无权限访问该接口', 'description' => ''], ], [ ['errorCode' => 'ServiceNameNotExist', 'errorMessage' => 'ServiceName不存在', 'description' => ''], ], ], '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":" \\n \\n rpc0 \\n rpc1.1 \\n rpc1.1.1 \\n \\n 79C84C64-9951-477E-96F3-7FA44128C601 \\n","errorExample":""}]', ], 'OpenXtraceService' => [ 'summary' => '开通可观测链路 OpenTelemetry 版。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '55557', 'abilityTreeNodes' => ['FEATURExtraceOGOOWE'], ], 'parameters' => [ [ 'name' => 'IntervalInSec', 'in' => 'query', 'schema' => ['description' => '数据片的时间间隔,单位为毫秒,最小值为60000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '100000'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => '开始时间,精确到毫秒(ms)。'."\n" ."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1575561600000'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => '结束时间,精确到毫秒(ms)。'."\n" ."\n" .'>该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1575622455686'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['description' => '排序字段,根据查询返回字段中的某个字段排序。', 'type' => 'string', 'required' => false, 'example' => 'count'], ], [ 'name' => 'Limit', 'in' => 'query', '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'], ], [ 'name' => 'Order', 'in' => 'query', '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'], ], [ 'name' => 'Filters', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '过滤字段列表。', 'type' => 'array', 'items' => [ 'description' => '过滤字段列表', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤字段的Key。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'service', ], 'Value' => ['description' => '过滤字段的Value。', 'type' => 'string', 'required' => false, 'example' => 'service-test'], ], 'required' => false, ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'Dimensions', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '维度,即GroupBy分组。', 'type' => 'array', 'items' => ['description' => '指标对应的维度。', 'type' => 'string', 'required' => false, 'example' => 'pid'], 'required' => false, 'example' => 'RT', 'maxItems' => 5, ], ], [ 'name' => 'Measures', 'in' => 'query', 'style' => 'repeatList', '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'], 'required' => true, 'example' => 'count', 'maxItems' => 5, ], ], ], 'responses' => [ 200 => [ '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******'], ], 'description' => '', ], ], ], '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":" \\n E2373982-D8CD-413D-B991-8EB678C01B4F \\n {\\"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} \\n\\n","errorExample":""}]', ], 'SearchTraces' => [ 'summary' => '调用SearchTraces查询调用链列表,可根据时间、应用名称、IP地址、Span名称、Tag等信息对调用链进行过滤查询。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '55558', 'abilityTreeNodes' => ['FEATURExtraceZX0L4J'], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', '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'], ], [ 'name' => 'RegionId', 'in' => 'query', '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'], ], [ 'name' => 'OperationName', 'in' => 'query', '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'], ], [ 'name' => 'AppType', 'in' => 'query', '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'], ], [ 'name' => 'PageSize', 'in' => 'query', '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'], ], [ 'name' => 'ServiceIp', 'in' => 'query', 'schema' => ['description' => 'Span对应主机的IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.163.XXX.XXX'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'http.status_cod'], 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '200'], ], 'required' => false, ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'StatusCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ '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'], 'TraceInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TraceInfo' => [ 'description' => '返回的调用链信息。', 'type' => 'array', 'items' => [ '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', 'description' => ''], ], ], ], ], 'description' => '', ], ], ], ], 'description' => '', ], ], ], 'title' => '查询调用链列表', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-12-27T08:43:47.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], '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 \\"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":"\\n 1E2B6A4C-6B83-4062-8B6F-AEEC1FC47DED\\n \\n 100\\n 1\\n 1000\\n \\n /api\\n 192.163.XXX.XXX\\n 100\\n 1575561600000000\\n service1\\n 1c6881aab84191a4\\n \\n \\n","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'], ], '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' => '*'], ], ], ], [ 'apiName' => 'ListSpanNames', 'description' => '获取所有Span名称', 'operationType' => 'list', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListIpOrHosts', 'description' => '获取IP地址或机器名', 'operationType' => 'list', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListServices', 'description' => '获取应用列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTagVal', 'description' => '获取标签Value', 'operationType' => 'get', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchTraces', 'description' => '查询调用链列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTrace', 'description' => '获取调用链路详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTagKey', 'description' => '获取标签Key', 'operationType' => 'get', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'OpenXtraceService', 'description' => '开通可观测链路 OpenTelemetry 版', 'operationType' => 'create', 'ramAction' => [ 'action' => 'xtrace:GetToken', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'QueryMetric', 'description' => '查询监控指标', 'operationType' => 'get', 'ramAction' => [ 'action' => 'xtrace:SearchTrace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Tracing', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];