63 lines
1.7 KiB
Bash
63 lines
1.7 KiB
Bash
# Global registry prefix (optional, e.g., docker.io/, ghcr.io/)
|
|
# Leave empty to pull from Docker Hub by default
|
|
GLOBAL_REGISTRY=
|
|
|
|
# Timezone setting for all containers
|
|
TZ=UTC
|
|
|
|
# ============================================
|
|
# OpenTelemetry Collector Version
|
|
# ============================================
|
|
|
|
# OTel Collector Contrib version
|
|
OTEL_COLLECTOR_VERSION=0.115.1
|
|
|
|
# ============================================
|
|
# Port Configuration
|
|
# ============================================
|
|
|
|
# OTLP gRPC receiver port (default: 4317)
|
|
OTEL_COLLECTOR_OTLP_GRPC_PORT_OVERRIDE=4317
|
|
|
|
# OTLP HTTP receiver port (default: 4318)
|
|
OTEL_COLLECTOR_OTLP_HTTP_PORT_OVERRIDE=4318
|
|
|
|
# Jaeger gRPC receiver port (default: 14250)
|
|
OTEL_COLLECTOR_JAEGER_GRPC_PORT_OVERRIDE=14250
|
|
|
|
# Jaeger Thrift HTTP receiver port (default: 14268)
|
|
OTEL_COLLECTOR_JAEGER_THRIFT_HTTP_PORT_OVERRIDE=14268
|
|
|
|
# Zipkin receiver port (default: 9411)
|
|
OTEL_COLLECTOR_ZIPKIN_PORT_OVERRIDE=9411
|
|
|
|
# Prometheus metrics port (default: 8888)
|
|
OTEL_COLLECTOR_PROMETHEUS_PORT_OVERRIDE=8888
|
|
|
|
# Health check extension port (default: 13133)
|
|
OTEL_COLLECTOR_HEALTH_CHECK_PORT_OVERRIDE=13133
|
|
|
|
# ============================================
|
|
# Collector Configuration
|
|
# ============================================
|
|
|
|
# Go memory limit (e.g., 1536MiB, leave empty for automatic)
|
|
# Recommended to set to ~80% of container memory limit
|
|
OTEL_COLLECTOR_GOMEMLIMIT=
|
|
|
|
# ============================================
|
|
# Resource Limits
|
|
# ============================================
|
|
|
|
# CPU limit for OTel Collector
|
|
OTEL_COLLECTOR_CPU_LIMIT=1.0
|
|
|
|
# Memory limit for OTel Collector
|
|
OTEL_COLLECTOR_MEMORY_LIMIT=2G
|
|
|
|
# CPU reservation for OTel Collector
|
|
OTEL_COLLECTOR_CPU_RESERVATION=0.25
|
|
|
|
# Memory reservation for OTel Collector
|
|
OTEL_COLLECTOR_MEMORY_RESERVATION=512M
|