我有一个Azure函数(Python)绑定到AppInsights实例。该函数从Azure存储中下载大blob进行处理。作为加载到内存的一部分,BlobClient
对blob容器进行多次调用
一个约2GB的文件会导致App Insights日志被截断(日志中的最后一条消息应该是### File Successfully Processed ###
):
Kusto查询是:
union traces
| union exceptions
| where timestamp > ago(30d)
| where operation_Id == 'bigGUID'
| where customDimensions['InvocationId'] == 'bigGUID2'
| order by timestamp asc
| project timestamp, message = iff(message != '', message, iff(innermostMessage != '', innermostMessage, customDimensions.['prop__{OriginalFormat}'])), logLevel = customDimensions.['LogLevel']
单个事件的App Insights日志长度是否有限制?
是的,有一个最大长度。 请在这里找到答案:
Azure Application Insight. Custom attribute length restriction
相关问题 更多 >
编程相关推荐