Custom OpenTelemetry Collector distribution with AWS components and Dwolla-specific processors.
This distribution builds upon the AWS Distro for OpenTelemetry (ADOT) by adding:
- Transform Processor - Enables efficient pattern replacement in span attributes (e.g., replacing
!with:inpeer.service) - Link Extractor Processor - Custom processor that extracts linked trace IDs from OpenTelemetry span links and copies them to span attributes
AWS X-Ray does not natively support OpenTelemetry's span links concept. When traces reference other traces via links, this relationship is lost when exported to X-Ray.
The linkextractor processor solves this by:
- Extracting trace IDs from
span.links - Copying them to a
linked_trace_idsattribute on the span - Making these relationships visible in X-Ray as indexed attributes
This allows Dwolla to maintain trace relationships and query for linked traces in X-Ray.
To build this image locally:
make allFor multi-architecture builds:
make PLATFORM=linux/arm64,linux/amd64 OUTPUT=--push all