Custom otel collector configuration in AWS ECS EC2
splunk otel collector는 ECS 환경에서 커스터마이징 하는 방법입니다. workaround 방법이지만 쉽게 응용할 수 있습니다. splunk-otel-collector container definition에 아래 처럼 정의합니다. "entryPoint": [ "sh", "-c" ], "command": [ "curl --fail $CONFIG_URL > /etc/otel/collector/ecs_ec2_config.yaml && exec /otelcol" ], "environment": [ ... { "name": "CONFIG_URL", "value": "https://raw.githubusercontent.com/InhoJung/custom-splunk-otel-collector/ma..
Splunk/Observability
2024. 3. 23. 22:13