Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure application insights Application Insights Analytics-图表X轴_Azure Application Insights_Ms App Analytics_Aiql - Fatal编程技术网

Azure application insights Application Insights Analytics-图表X轴

Azure application insights Application Insights Analytics-图表X轴,azure-application-insights,ms-app-analytics,aiql,Azure Application Insights,Ms App Analytics,Aiql,如何为查询呈现图表 performanceCounters | where name == "% Processor Time" | summarize avg(value) by bin(timestamp, 5s),cloud_RoleInstance 如果我每5秒而不是每1分钟获得一个点?性能计数器以固定间隔(约1分钟)收集。bin功能的效果将时间戳移动到最近的5秒间隔。您看到的是由于计数器收集间隔,您将无法获得该粒度。要做到这一点,您需要实现自己的模块

如何为查询呈现图表

performanceCounters
| where name == "% Processor Time" 
| summarize avg(value) by bin(timestamp, 5s),cloud_RoleInstance 

如果我每5秒而不是每1分钟获得一个点?

性能计数器以固定间隔(约1分钟)收集。bin功能的效果将时间戳移动到最近的5秒间隔。您看到的是由于计数器收集间隔,您将无法获得该粒度。要做到这一点,您需要实现自己的模块