ADFActivityRun テーブルのクエリ

Azure portal でこれらのクエリを使用する方法については、 Log Analytics のチュートリアルを参照してください。 REST API については、「 Query」を参照してください。

アクティビティの実行の可用性

アクティビティ実行の可用性を提供します。

// To create an alert for this query, click '+ New alert rule'
ADFActivityRun
| where Status != 'InProgress' and Status != 'Queued'
| where FailureType != 'UserError'
| summarize availability = 100.00 - (100.00*countif(Status != 'Succeeded') / count())  by bin(TimeGenerated, 1h)), _ResourceId
| order by TimeGenerated asc
| render timechart

アクティビティが最新の状態を実行する

アクティビティ実行の最新の状態を返します。

ADFActivityRun
| summarize argmax(TimeGenerated, * ) by ActivityRunId, Status, _ResourceId