From b70103bb62d19cf7a5895b5c735b47f6f251f35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Mon, 12 Jun 2023 16:59:59 +0200 Subject: [PATCH] [demo/cart] simplify resource configuration (#2847) Co-authored-by: Phillip Carter --- content/en/docs/demo/services/cart.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/content/en/docs/demo/services/cart.md b/content/en/docs/demo/services/cart.md index 350d47f7e519..660ca7818824 100644 --- a/content/en/docs/demo/services/cart.md +++ b/content/en/docs/demo/services/cart.md @@ -24,8 +24,6 @@ attributes is performed through environment variables. ```cs Action appResourceBuilder = resource => resource - .AddTelemetrySdk() - .AddEnvironmentVariableDetector() .AddDetector(new ContainerResourceDetector()); builder.Services.AddOpenTelemetry() @@ -81,8 +79,6 @@ libraries, exporters, etc. ```cs Action appResourceBuilder = resource => resource - .AddTelemetrySdk() - .AddEnvironmentVariableDetector() .AddDetector(new ContainerResourceDetector()); builder.Services.AddOpenTelemetry()