【问题标题】:.NET Application Insight logs sampling how to set to specific files extensions.NET Application Insight 日志采样如何设置特定文件扩展名
【发布时间】:2022-12-04 13:10:01
【问题描述】:

i\'ve just written web app in ASP.NET that sends lots of logs to Application Insight. I want to set adaptive sampling on requests that are send to my application, because of huge amount of them. However I wouldn\'t like to be so restrictive on sampling of .js files. Is it possible to to set sampling to reqests just for specific files extensions ? E.g. I want to set sampling with max items per seconds = 3 for all files except .js files - for them I allow to set it to 1. (send more data to AI)

I didn\'t find solution for this case in documentation. Some piece of code would be nice.

    标签: .net logging filter azure-application-insights sampling


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2022-01-18
    • 1970-01-01
    • 1970-01-01
    • 2019-12-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多