From 7aa78abcce42fa6108318f2b1e76feccb986af65 Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Tue, 4 Dec 2018 12:33:37 -0800 Subject: [PATCH] Do not prevent correlation headers injection on localhost (#1122) --- CHANGELOG.md | 5 +++++ .../ApplicationInsights.config.install.xdt | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37d7a3b9..a870b0ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog ## Version 2.9.0-beta3 +- [Fix: Correlation doesn't work for localhost](https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/1120). If you are upgrading and have previously opted into legacy header injection via `DependencyTrackingTelemetryModule.EnableLegacyCorrelationHeadersInjection` and run app locally with Azure Storage Emulator, make sure you manually exclude localhost from correlation headers injection in the `ExcludeComponentCorrelationHttpHeadersOnDomains` under `DependencyCollector` + ```xml + localhost + 127.0.0.1 + ``` - [Fix: Non-default port is not included into the target for Http dependencies on .NET Core](https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/1121) - [When Activity has root id compatible with W3C trace Id, use it as trace id](https://github.com/Microsoft/ApplicationInsights-dotnet-server/pull/1107) diff --git a/Src/DependencyCollector/DependencyCollector/ApplicationInsights.config.install.xdt b/Src/DependencyCollector/DependencyCollector/ApplicationInsights.config.install.xdt index 2939c9a5..c3091382 100644 --- a/Src/DependencyCollector/DependencyCollector/ApplicationInsights.config.install.xdt +++ b/Src/DependencyCollector/DependencyCollector/ApplicationInsights.config.install.xdt @@ -14,8 +14,6 @@ core.chinacloudapi.cn core.cloudapi.de core.usgovcloudapi.net - localhost - 127.0.0.1 Microsoft.Azure.EventHubs