From 6f629ec56a0a800312635faa46a1b7c386e80578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Fri, 9 Jun 2023 07:41:13 +0200 Subject: [PATCH 1/3] [cartservice] Update OTel .NET to 1.5.0 --- src/cartservice/src/cartservice.csproj | 22 +++++++++---------- .../tests/cartservice.tests.csproj | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/cartservice/src/cartservice.csproj b/src/cartservice/src/cartservice.csproj index 62a54da972..7350ad9644 100644 --- a/src/cartservice/src/cartservice.csproj +++ b/src/cartservice/src/cartservice.csproj @@ -5,17 +5,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/src/cartservice/tests/cartservice.tests.csproj b/src/cartservice/tests/cartservice.tests.csproj index 933aefa5a8..d3ace53272 100644 --- a/src/cartservice/tests/cartservice.tests.csproj +++ b/src/cartservice/tests/cartservice.tests.csproj @@ -5,9 +5,9 @@ - + - + all From 7da7865b038e2327a015b65cc8c6f03e2ac00c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Fri, 9 Jun 2023 07:42:00 +0200 Subject: [PATCH 2/3] [cartservice] Simplify resource configuration TelemetrySdk and EnvVariable are defaults --- src/cartservice/src/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cartservice/src/Program.cs b/src/cartservice/src/Program.cs index cf4b57138b..ea42d613f1 100644 --- a/src/cartservice/src/Program.cs +++ b/src/cartservice/src/Program.cs @@ -37,8 +37,6 @@ Action appResourceBuilder = resource => resource - .AddTelemetrySdk() - .AddEnvironmentVariableDetector() .AddDetector(new ContainerResourceDetector()); builder.Services.AddOpenTelemetry() From de95e7542a0cc2bd3cf268f57903f9d33c843dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Fri, 9 Jun 2023 07:53:58 +0200 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa31c65f16..f8fc76de2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ release. ([#913](https://github.com/open-telemetry/opentelemetry-demo/pull/913)) * [loadgenerator] run load through frontend proxy (Envoy) ([#914](https://github.com/open-telemetry/opentelemetry-demo/pull/914)) +* [cartservice] update .NET package to 1.5.0 release + ([#935](https://github.com/open-telemetry/opentelemetry-demo/pull/935)) ## 1.4.0