Azure Application Insights是否具有最大日志长度?

2024-09-28 01:33:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个Azure函数(Python)绑定到AppInsights实例。该函数从Azure存储中下载大blob进行处理。作为加载到内存的一部分,BlobClient对blob容器进行多次调用

一个约2GB的文件会导致App Insights日志被截断(日志中的最后一条消息应该是### File Successfully Processed ###):

enter image description here

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日志长度是否有限制?


Tags: 实例函数内存appmessagewhereazureblob

热门问题