【发布时间】:2023-01-19 23:28:46
【问题描述】:
在 Azure Application Insights 中,我将每个 InvocationId 的 traces 条目分组,以跟踪 Azure Function 的并行调用。
traces
| where timestamp between (todatetime('2022-06-29T21:00:00Z')..todatetime('2022-06-29T22:00:00Z'))
| where tostring(customDimensions.InvocationId) <> ""
| summarize StartedAt=min(timestamp), FinishedAt=max(timestamp),
Succeeded=max(severityLevel)==1
by operation_Id, tostring(customDimensions.InvocationId)
基于上面的 Kusto 查询,我想创建一个图表,显示一段时间内的并行运行数。当我查看Window functions 和make_series operator 时,我没有找到解决方案。我想呈现一个 timechart,它每分钟显示有多少个并行运行的调用,例如countif(currentMinute? between (StartedAt..FinishedAt))
我怎样才能制作出想要的图表?
【问题讨论】:
标签: azure-application-insights kql azure-monitoring