Skip to content

Commit 1593471

Browse files
Fix collector address
Container name is `lgtm` not `container`.
1 parent 440146d commit 1593471

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/docker-compose-aspnetcore/docker-compose.oats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
context: ../..
66
dockerfile: examples/net8.0/aspnetcore/Dockerfile
77
environment:
8-
- OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4317
8+
- OTEL_EXPORTER_OTLP_ENDPOINT=http://lgtm:4317
99
ports:
1010
- "5000:8080"
1111
- "8080:8080" # for OATs

docker/docker-compose-aspnetcore/docker-compose.self-contained.oats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
DOTNET_PUBLISH_ARGS: "--self-contained true /p:PublishSingleFile=true"
99
entrypoint: ./aspnetcore
1010
environment:
11-
- OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4317
11+
- OTEL_EXPORTER_OTLP_ENDPOINT=http://lgtm:4317
1212
ports:
1313
- "5000:8080"
1414
- "8080:8080" # for OATs

0 commit comments

Comments
 (0)