AmlOnlineEndpointTrafficLog 表的查询
有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询。
联机终结点失败请求
获取联机终结点的最新 100 个失败推理请求。
AmlOnlineEndpointTrafficLog
| where ResponseCode != "200" and ResponseCode != "100"
| project
TimeGenerated,
Location,
OperationName,
Method,
Path,
Subscription = _SubscriptionId,
AzureMLWorkspaceId,
EndpointName,
DeploymentName,
Protocol,
ResponseCode,
ResponseCodeReason,
ModelStatusCode,
ModelStatusReason,
RequestPayloadSize,
ResponsePayloadSize,
UserAgent,
XRequestId,
XMSClientRequestId,
TotalDurationMs,
RequestDurationMs,
ResponseDurationMs,
RequestThrottlingDelayMs,
ResponseThrottlingDelayMs
| top 100 by TimeGenerated