Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

ApplicationInsights.config.install.xdt 1.0 KiB

4 роки тому
12345678910111213141516171819
  1. <ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  2. <TelemetryChannel xdt:Transform="Remove" />
  3. <TelemetryChannel xdt:Transform="Insert" Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel" />
  4. <TelemetryProcessors>
  5. <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.SamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel"
  6. xdt:Transform="Remove"
  7. xdt:Locator="Match(Type)">
  8. </Add>
  9. </TelemetryProcessors>
  10. <TelemetryProcessors xdt:Transform="InsertIfMissing">
  11. <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel"
  12. xdt:Transform="InsertIfMissing"
  13. xdt:Locator="Match(Type)">
  14. <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
  15. </Add>
  16. </TelemetryProcessors>
  17. </ApplicationInsights>