Azure Functions v2:筛选出依赖项跟踪
Azure Functions v2: Filter out dependency tracking
有没有人有 Azure Functions V2 的示例代码以通过 [=18=禁用依赖关系跟踪 ]?
在host.json中,将字段enableDependencyTracking
设置为false
。
详情请参考article -> logging 字段 -> applicationInsights 字段
host.json 禁用依赖项跟踪的示例:
{
"logging": {
"applicationInsights": {
"samplingSettings": {
//other settings
},
"enableDependencyTracking": false
}
}
}
以及来自 official doc 的示例屏幕截图:
有没有人有 Azure Functions V2 的示例代码以通过 [=18=禁用依赖关系跟踪 ]?
在host.json中,将字段enableDependencyTracking
设置为false
。
详情请参考article -> logging 字段 -> applicationInsights 字段
host.json 禁用依赖项跟踪的示例:
{
"logging": {
"applicationInsights": {
"samplingSettings": {
//other settings
},
"enableDependencyTracking": false
}
}
}
以及来自 official doc 的示例屏幕截图: