azure - 如何缩放 Kusto 时间表上的数据系列

标签 azure azure-application-insights azure-data-explorer

我想在时间表上缩放数据系列,以便它与其他系列一起可见。前两个系列代表成功和失败的请求,第三个系列代表应用程序尝试纠正自身的customEvent。所有三个系列均已绘制,但由于幅度的相对差异,重新启动系列本质上是一条 0 线。 renderysplit 选项的文档运算符建议 axes 将提供我正在寻找的内容,但所有值似乎都不会影响图表。

requests
| where timestamp > ago(3d) and name has "POST /v1/validation"
| union customEvents |  where timestamp > ago(3d)
| extend Event=case(itemType == 'request' and success == "True", "Succeeded", itemType == "request" and success == "False", "Failed", "Restarted")
| summarize Count=count() by Event, bin(timestamp, 1h)
| render timechart

这是使用“重新启动”系列渲染的时间图,但存储桶中的最高数字是 2,因此它本质上是原点处的一条平线。

Kusto Timechart

更新5/3

UX 客户端是 Azure 门户的 Application Insights Analytics 小部件。

最佳答案

下面是如何使用 ysplit 为每个系列创建自定义 y 轴的示例:

range timestamp from ago(3d) to now() step 1m
| extend Event = rand(100)
| extend EventCategory = case(
            Event < 80, 1, 
            Event < 99, 2,
            3)
| summarize Count=count() by tostring(EventCategory), bin(timestamp, 1h)
| render timechart with (ysplit=axes)

我无法确定运行您的查询,但我认为也许只需在末尾添加 with (ysplit=axes) 就足以为您提供所需的行为。

关于azure - 如何缩放 Kusto 时间表上的数据系列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55944174/

相关文章:

azure - 是否有 azure python sdk 来检索应用程序洞察数据?

azure-data-explorer - Kusto 排序与顺序

azure - 使用 "greater than"运算符实现外连接

azure - HDinsight 配置单元输出到 blob

c# - 如何通过代理连接到Azure服务总线主题-C#?

azure - 从 Azure Devops 中的中央 GIT 存储库管理 API 管理?

azure - 使用 Azure Application Insights REST API (https ://dev. applicationinsights.io) 读取自定义事件/指标

Java,App Insights : "I/O Exception: Invalid Argument or cannot assign requested address" only when I run using docker. gradle 在本地没有错误

azure - 更改 Kusto 中使用 make-series 操作生成的日期时间格式

sql-server - 如何知道 SQL Server 是在云端还是本地?