共用方式為


AmlOnlineEndpointTrafficLog 數據表的查詢

在線端點失敗的要求

取得對在線端點的最新 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