Skip to content

Commit

Permalink
[cartservice] Simplify resource configuration
Browse files Browse the repository at this point in the history
TelemetrySdk and EnvVariable are defaults
  • Loading branch information
Kielek committed Jun 9, 2023
1 parent 4e4bb72 commit 68d74bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cartservice/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

Action<ResourceBuilder> appResourceBuilder =
resource => resource
.AddTelemetrySdk()
.AddEnvironmentVariableDetector()
.AddDetector(new ContainerResourceDetector());

builder.Services.AddOpenTelemetry()
Expand Down

0 comments on commit 68d74bc

Please sign in to comment.