forked from nextlevelbuilder/goclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.otel.yml
More file actions
31 lines (29 loc) · 859 Bytes
/
docker-compose.otel.yml
File metadata and controls
31 lines (29 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# OTel overlay — rebuilds with OTel support + adds Jaeger for trace visualization.
#
# Usage:
# docker compose -f docker-compose.yml -f docker-compose.postgres.yml -f docker-compose.otel.yml up
#
# Jaeger UI: http://localhost:16686
services:
jaeger:
image: jaegertracing/all-in-one:1.68.0
ports:
- "16686:16686" # Jaeger UI
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
environment:
- COLLECTOR_OTLP_ENABLED=true
restart: unless-stopped
goclaw:
build:
args:
ENABLE_OTEL: "true"
environment:
- GOCLAW_TELEMETRY_ENABLED=true
- GOCLAW_TELEMETRY_ENDPOINT=jaeger:4317
- GOCLAW_TELEMETRY_PROTOCOL=grpc
- GOCLAW_TELEMETRY_INSECURE=true
- GOCLAW_TELEMETRY_SERVICE_NAME=goclaw-gateway
depends_on:
jaeger:
condition: service_started