otel-bootstrap 2.1.1

One-call OpenTelemetry bootstrap — traces + metrics with OTLP export
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
services:
  otel-collector:
    image: ${OTEL_COLLECTOR_IMAGE:-registry.brefwiz.com/proxy-docker/otel/opentelemetry-collector-contrib:0.150.1}
    command: ["--config", "/etc/otel/config.yaml"]
    user: "${OTEL_UID:-1000}:${OTEL_GID:-1000}"
    ports:
      - "4317:4317"
      - "13133:13133"
    volumes:
      - ./collector-config.yaml:/etc/otel/config.yaml:ro
      - ./collector-output:/var/lib/otel
    healthcheck:
      test: ["CMD", "/bin/sh", "-c", "cat /dev/null > /dev/tcp/127.0.0.1/4317"]
      interval: 2s
      timeout: 2s
      retries: 30
      start_period: 5s