gpt4 book ai didi

Azure 函数 v2 : Filter out dependency tracking

转载 作者:行者123 更新时间:2023-12-02 08:32:17 24 4
gpt4 key购买 nike

是否有人有一些Azure Functions V2的示例代码,可以通过host.json禁用依赖项跟踪

最佳答案

在 host.json 中,将字段 enableDependencyTracking 设置为 false

更多详情请引用此article -> 日志记录字段 -> applicationInsights 字段。

禁用依赖项跟踪的 host.json 示例:

 {
"logging": {
"applicationInsights": {
"samplingSettings": {
//other settings
},
"enableDependencyTracking": false
}
}
}

以及 official doc 中的示例截图:

enter image description here

关于Azure 函数 v2 : Filter out dependency tracking,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59830819/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com