应用程序见解 - 我可以禁用其他所有内容,但是错误记录和异常吗?

发布于 2025-02-10 18:26:57 字数 481 浏览 1 评论 0 原文

我正在尝试将错误记录添加到ASP.NET Core 6 Web API上的应用程序见解中。

我想仅将应用程序见解用于日志:

  • 例外
  • 日志

我想要 这两个功能。

出于经济原因,我想禁用其他所有内容!我们的项目负担不起这两件事的其他遥测。

如果我从在这里 false,我会停止所有其他遥测吗?

大包装 microsoft.applicationinsights.aspnetcore 是否可以通过这些选项禁用?

I am trying to add error logging to Application Insights on an Asp.Net Core 6 Web Api.

I want to use Application Insights ONLY to log:

  • Exceptions
  • Logs

I want ONLY these 2 features.

I want to disable EVERYTHING else for financial reasons! Our project can not afford to have other telemetry that these 2 things.

If I set all the options from here to false, will I stop ALL other telemetry?

Is there anything else from the big package Microsoft.ApplicationInsights.AspNetCore that can not be disabled through these options?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

软糯酥胸 2025-02-17 18:26:57

替代方法是通过

这为您提供了最终的控制 - 您可以在更精细的层面上过滤出不需要的东西(例如,您可以滤除详细级别的轨迹)。

Alternative way is to do filtering through telemetry processor.

This gives you ultimate control - you can filter out what you don't need at more granular level (for instance, you might filter out verbose level traces).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文