From 3e6db7a6edc56a5416c43d316f70cb6f998d00b3 Mon Sep 17 00:00:00 2001 From: Juliano Costa Date: Mon, 26 Feb 2024 21:25:46 +0100 Subject: [PATCH] Update cart.md Updating due to https://github.com/open-telemetry/opentelemetry-demo/pull/1415 --- content/en/docs/demo/services/cart.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/demo/services/cart.md b/content/en/docs/demo/services/cart.md index 862acbe704ae..d325d9d6f74e 100644 --- a/content/en/docs/demo/services/cart.md +++ b/content/en/docs/demo/services/cart.md @@ -25,7 +25,8 @@ and resource attributes is performed through environment variables. ```cs Action appResourceBuilder = resource => resource - .AddDetector(new ContainerResourceDetector()); + .AddDetector(new ContainerResourceDetector()) + .AddDetector(new HostDetector()); builder.Services.AddOpenTelemetry() .ConfigureResource(appResourceBuilder)