Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OTLP/UDP Span Exporter #4396

Open
jj22ee opened this issue Feb 4, 2025 · 1 comment
Open

Support for OTLP/UDP Span Exporter #4396

jj22ee opened this issue Feb 4, 2025 · 1 comment
Labels
spec:protocol Related to the specification/protocol directory

Comments

@jj22ee
Copy link

jj22ee commented Feb 4, 2025

What are you trying to achieve?

We want to mitigate some of the performance issues in an AWS Lambda Environment when using the OTel Lambda Layers to send spans to AWS X-Ray. One mitigation involves avoid deploying the OTel Collector during a Lambda Function invocation to reduce cold start time and memory allocated. As a workaround for having no Collector, we are trying to send Spans to a UDP endpoint (AWS_XRAY_DAEMON_ADDRESS) in an AWS Lambda Environment. This UDP endpoint was originally designed for the X-Ray SDKs to send X-Ray Trace Segments to AWS X-Ray. Today in AWS Lambda, this UDP endpoint also supports receiving OTel Spans and send them to AWS X-Ray.

What did you expect to see?

We expect the OTel SDKs to provide a Span Exporter that can export spans via UDP protocol.

  • This exporter can be configured via OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=udp.
  • The endpoint is configurable when instantiating the UDP Exporter or via OTEL_EXPORTER_OTLP_TRACES_ENDPOINT env var.

Additional context.

@jj22ee jj22ee added the spec:protocol Related to the specification/protocol directory label Feb 4, 2025
@dmathieu
Copy link
Member

dmathieu commented Feb 4, 2025

While there could always be hacky ways to do this, OTLP relies on protobuf and gRPC, and the gRPC folks have explicitly said support for UDP is not on their roadmap.
grpc/grpc#9493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:protocol Related to the specification/protocol directory
Projects
None yet
Development

No branches or pull requests

2 participants