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

[Feature]: Allow datadog traces to export over UDS #146

Open
Hd0702 opened this issue Jan 7, 2025 · 0 comments
Open

[Feature]: Allow datadog traces to export over UDS #146

Hd0702 opened this issue Jan 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Hd0702
Copy link

Hd0702 commented Jan 7, 2025

Related Problems?

Hello,

My team is currently working on exporting traces over a Unix Domain Socket (UDS). We have a Kubernetes cluster that sets up auto-mount unix sockets to send traces to an agent running on another Kubernetes worker. AFAIK the crate only works over TCP.

What component are you working with?

opentelemetry-datadog

Describe the solution you'd like:

I noticed an example in lib.rs uses a hyperlocal::UnixConnector. However, I don't see an example on how to plug that in to the pipeline. I noticed that some code appends the path with a version field, so not sure if UDS paths are natively supported.

Is it possible to allow this? If so, am I just missing something simple in the example?

Considered Alternatives

I was able to get a rough solution working with socat on my http client's TCP port. Would be great to support UDS out of the box.

Additional Context

No response

@Hd0702 Hd0702 added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant