From d1b01e21a86c0a46d35ba02646edba6264bca3a0 Mon Sep 17 00:00:00 2001 From: Brett Samblanet Date: Wed, 12 Oct 2022 12:56:10 -0700 Subject: [PATCH] updating ApplicationInsights to 2.21; decoupling ApplicationInsights package from Host (#2916) --- ...WebJobs.Logging.ApplicationInsights.csproj | 28 +++++++++++-------- .../Loggers/ApplicationInsightsLoggerTests.cs | 2 +- .../WebJobs.Host.UnitTests.csproj | 2 +- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/WebJobs.Logging.ApplicationInsights.csproj b/src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/WebJobs.Logging.ApplicationInsights.csproj index 3aff486a0..f401a3c9a 100644 --- a/src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/WebJobs.Logging.ApplicationInsights.csproj +++ b/src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/WebJobs.Logging.ApplicationInsights.csproj @@ -2,6 +2,7 @@ + 3.0.34$(VersionSuffix) netstandard2.0 Microsoft.Azure.WebJobs.Logging.ApplicationInsights This package contains the runtime assemblies for Microsoft.Azure.WebJobs.Logging.ApplicationInsights. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=320971 @@ -22,28 +23,31 @@ - + - - - - - - + + + + + + all - - + + - - - + + diff --git a/test/Microsoft.Azure.WebJobs.Host.UnitTests/Loggers/ApplicationInsightsLoggerTests.cs b/test/Microsoft.Azure.WebJobs.Host.UnitTests/Loggers/ApplicationInsightsLoggerTests.cs index c6d422f74..f72b7753e 100644 --- a/test/Microsoft.Azure.WebJobs.Host.UnitTests/Loggers/ApplicationInsightsLoggerTests.cs +++ b/test/Microsoft.Azure.WebJobs.Host.UnitTests/Loggers/ApplicationInsightsLoggerTests.cs @@ -696,7 +696,7 @@ public void ApplicationInsightsLoggerOptions_Format() }, SnapshotConfiguration = new SnapshotCollectorConfiguration() { - AgentEndpoint = "123", + AgentEndpoint = "http://something", FailedRequestLimit = 42, IsEnabled = false, IsEnabledInDeveloperMode = false, diff --git a/test/Microsoft.Azure.WebJobs.Host.UnitTests/WebJobs.Host.UnitTests.csproj b/test/Microsoft.Azure.WebJobs.Host.UnitTests/WebJobs.Host.UnitTests.csproj index f03e309b4..1cfe8d5e6 100644 --- a/test/Microsoft.Azure.WebJobs.Host.UnitTests/WebJobs.Host.UnitTests.csproj +++ b/test/Microsoft.Azure.WebJobs.Host.UnitTests/WebJobs.Host.UnitTests.csproj @@ -29,7 +29,7 @@ - + all