调用DescribeCdnDiagnoseReport获取诊断报告详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| TaskId |
string |
否 |
诊断任务 ID。 |
xxxxxxxxx-x-x-xxxxxxxxxxxxxxx |
| TraceId |
string |
否 |
诊断链路 ID。 |
0000xxxxxxxxxxxxxxxxxxxxxx75e |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
64D28B53-xxxxx-xxx-xxxxx-FD46680144FE |
| Content |
object |
查询到的报表数据。 |
|
| Aliuid |
string |
阿里云账号 ID。 |
1077********7468 |
| ClientAddr |
string |
本地 DNS 服务器 IP 地址。 |
xx.xx.xx.xx |
| ClientInfo |
object |
客户端信息。 |
|
| BrowserInfo |
string |
浏览器。 |
Chrome |
| Os |
string |
操作系统。 |
Macintosh |
| UAString |
string |
版本。 |
Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 |
| ClientIp |
string |
客户端 IP 地址。 |
xx.xx.xx.xx |
| CreateTime |
string |
报告创建时间。 |
2022-12-10 15:11:47 |
| DiagnoseId |
string |
诊断 ID。 |
f2xxxxd5 |
| DiagnoseReportLink |
string |
诊断报告链接。 |
https://cdnskyeye.alibaba-inc.com/#/databrain/detectionPlatformAction?module=trace报表&id=xxx&instance_id=xxxx&type=copy&edition_id=xxxxx |
| DiagnoseUrl |
string |
诊断链接。 |
http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx |
| Domain |
string |
被诊断的域名。 |
http://www.example.com |
| ExpireTime |
integer |
过期时间。 |
1678701915 |
| RemainDiagnoseTimes |
integer |
剩余可用诊断次数。 |
10 |
| Report |
object |
诊断报告详情。 |
|
| ClientInfo |
string |
客户端信息。 |
客户端IP : xxx.xxx.xxx.xxx DNS_IP : xxx.xxx.xxx.xxx |
| DiagnoseResult |
string |
诊断结果。 |
诊断结论 : 检测正常 调度结论 : 检测正常 检测项详情 : 异常项 : 【请求正常】 |
| L1Node |
string |
L1 节点。 |
节点:cn4461 电信-山东省青岛市(400G)\n水位: (223.36G/400G)\n状态: online\n节点IP: 150.138.98.121\n响应状态码: 200\n响应时长: 107ms\n响应大小: 3775 bytes\n平均响应速度: 35.28 kb/s\n |
| L1Tengine |
object |
L1 tengine 信息。 |
|
| Addr |
string |
IP 和端口。 |
150.xxx.xxx.197:81 |
| Code |
string |
HTTP 返回码。 |
200 |
| ErrorLog |
string |
错误日志。 |
Unmatched CNAME. |
| Fbt |
string |
首字节往返耗时。 |
107ms |
| Intro |
string |
请求节点的信息。 |
节点: cn4461\n请求时间: 2023-02-06 12:17:47\n状态码: 200\nreq_time : 107ms\nresp_size : 2892bytes\nfbt : 107ms\nups_read_wait_time: 107ms\nups_header_time: 107ms\nups_connect_time: 0ms\nwrite_wait_time: 0ms |
| ReqHeader |
string |
请求头。 |
aG9zd******8tbWVtYmV |
| ReqTime |
string |
请求时间。 |
2023-02-06 12:17:47 |
| RespHeader |
string |
响应头。 |
U2VydmV*******Qo |
| RespSize |
integer |
返回信息大小,单位字节。 |
2892 |
| Rt |
string |
响应时间。 |
107ms |
| Station |
string |
节点名称。 |
cn4461 |
| SourceInfo |
array |
源站信息。 |
|
|
string |
源站信息。 |
源站IP : xxx.xxx.xxx.xxx tproxy响应状态码 : 200\n平均响应速度 : 47.96 kb/s |
|
| State |
string |
报告生成状态。
|
0 |
| Status |
integer |
诊断链接的状态。
|
1 |
| TaskId |
string |
任务 ID。 |
xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx |
| TimeConsuming |
integer |
报告生成耗时。 |
1s |
| TraceDisplayLink |
string |
链路展示链接。 |
https://tracing-sk.alibaba-inc.com/trace/xxxxxxxxxxxxxx |
| TraceId |
string |
诊断链路 ID。 |
0000006xxxxxxxxxxxx533427e |
示例
正常返回示例
JSON格式
{
"RequestId": "64D28B53-xxxxx-xxx-xxxxx-FD46680144FE",
"Content": {
"Aliuid": "1077********7468",
"ClientAddr": "xx.xx.xx.xx",
"ClientInfo": {
"BrowserInfo": "Chrome",
"Os": "Macintosh",
"UAString": "Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36"
},
"ClientIp": "xx.xx.xx.xx",
"CreateTime": "2022-12-10 15:11:47",
"DiagnoseId": "f2xxxxd5",
"DiagnoseReportLink": "https://cdnskyeye.alibaba-inc.com/#/databrain/detectionPlatformAction?module=trace报表&id=xxx&instance_id=xxxx&type=copy&edition_id=xxxxx",
"DiagnoseUrl": "http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx",
"Domain": "http://www.example.com",
"ExpireTime": 1678701915,
"RemainDiagnoseTimes": 10,
"Report": {
"ClientInfo": "客户端IP : xxx.xxx.xxx.xxx DNS_IP : xxx.xxx.xxx.xxx ",
"DiagnoseResult": "诊断结论 : 检测正常 调度结论 : 检测正常 检测项详情 : 异常项 : 【请求正常】 ",
"L1Node": "节点:cn4461 电信-山东省青岛市(400G)\\n水位: (223.36G/400G)\\n状态: online\\n节点IP: 150.138.98.121\\n响应状态码: 200\\n响应时长: 107ms\\n响应大小: 3775 bytes\\n平均响应速度: 35.28 kb/s\\n",
"L1Tengine": {
"Addr": "150.xxx.xxx.197:81",
"Code": "200",
"ErrorLog": "Unmatched CNAME.",
"Fbt": "107ms",
"Intro": "节点: cn4461\\n请求时间: 2023-02-06 12:17:47\\n状态码: 200\\nreq_time : 107ms\\nresp_size : 2892bytes\\nfbt : 107ms\\nups_read_wait_time: 107ms\\nups_header_time: 107ms\\nups_connect_time: 0ms\\nwrite_wait_time: 0ms",
"ReqHeader": "aG9zd******8tbWVtYmV",
"ReqTime": "2023-02-06 12:17:47",
"RespHeader": "U2VydmV*******Qo",
"RespSize": 2892,
"Rt": "107ms",
"Station": "cn4461"
},
"SourceInfo": [
"源站IP : xxx.xxx.xxx.xxx tproxy响应状态码 : 200\\n平均响应速度 : 47.96 kb/s"
]
},
"State": "0",
"Status": 1,
"TaskId": "xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx\n",
"TimeConsuming": 0,
"TraceDisplayLink": "https://tracing-sk.alibaba-inc.com/trace/xxxxxxxxxxxxxx",
"TraceId": "0000006xxxxxxxxxxxx533427e"
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。