Skip to content

Commit fe7e978

Browse files
committed
add otel-collector service to docker-compose.yml
1 parent 5f1af3b commit fe7e978

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,16 @@ services:
4747
depends_on:
4848
- elasticsearch
4949
restart: unless-stopped
50+
otel-collector:
51+
image: otel/opentelemetry-collector-contrib:latest
52+
container_name: otel-collector
53+
# volumes:
54+
# - ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
55+
ports:
56+
- 1888:1888 # pprof extension
57+
- 8888:8888 # Prometheus metrics exposed by the Collector
58+
- 8889:8889 # Prometheus exporter metrics
59+
- 13133:13133 # health_check extension
60+
- 4317:4317 # OTLP gRPC receiver
61+
- 4318:4318 # OTLP http receiver
62+
- 55679:55679 # zpages extension

0 commit comments

Comments
 (0)