AWS Distro for Opentelemetry with basic configuration for sidecar pattern deployment
1.9K
FROM public.ecr.aws/aws-observability/aws-otel-collector:v0.27.0
COPY otel-config.yml /etc/otel-config.yml
ENTRYPOINT ["/awscollector"]
CMD ["--config=/etc/otel-config.yml"]
EXPOSE 4317 4318 13133
receivers:
otlp:
protocols:
grpc: # port 4317
http: # port 4318
exporters:
awsxray:
logging:
processors:
batch/traces:
timeout: 1s
send_batch_size: 50
batch/metrics:
timeout: 60s
memory_limiter:
limit_mib: 120
check_interval: 5s
filter:
spans:
exclude:
match_type: strict
attributes:
- key: http.user_agent
value: ELB-HealthChecker/2.0
resourcedetection:
detectors:
- env
- system
- ecs
- ec2
resource:
attributes:
- key: TaskDefinitionFamily
from_attribute: aws.ecs.task.family
action: insert
- key: aws.ecs.task.family
action: delete
- key: InstanceId
from_attribute: host.id
action: insert
extensions:
health_check:
service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp]
processors: [filter, resourcedetection, resource, batch/traces, memory_limiter]
exporters: [logging, awsxray]
Content type
Image
Digest
sha256:af6ac9ed9…
Size
29.4 MB
Last updated
over 3 years ago
docker pull cupajaypeeig/adot-basic