Skip to content

Commit

Permalink
Update cart.md
Browse files Browse the repository at this point in the history
  • Loading branch information
julianocosta89 authored Feb 26, 2024
1 parent b855ca7 commit 3e6db7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/en/docs/demo/services/cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ and resource attributes is performed through environment variables.
```cs
Action<ResourceBuilder> appResourceBuilder =
resource => resource
.AddDetector(new ContainerResourceDetector());
.AddDetector(new ContainerResourceDetector())
.AddDetector(new HostDetector());

builder.Services.AddOpenTelemetry()
.ConfigureResource(appResourceBuilder)
Expand Down

0 comments on commit 3e6db7a

Please sign in to comment.