作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的应用程序是 Microsoft Azure Function App。与 HttpTrigger 以及 Microsoft.Extensions.Logging - ILogger 一起使用。
如何将自定义列添加到 Application Insights - 请求、跟踪表。
该列将应用程序引用 ID 与应用程序洞察的操作 ID 相关联。
最佳答案
本文介绍了如何使用您自己的 TelemetryClient
,它可以与 ILogger
并行运行,并为您提供将遥测放入 AppInsights 的充分灵 active :https://github.com/Azure/Azure-Functions/wiki/App-Insights#custom-telemetry
您还可以直接使用 ILogger
查看此以添加自定义维度:https://github.com/Azure/azure-functions-host/wiki/ILogger#structured-logging
关于c# - 如何在 azure applicationInsights 中创建自定义列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52023120/
我是一名优秀的程序员,十分优秀!