-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Closed
Copy link
Labels
Description
Component(s)
exporter/otlp
What happened?
Describe the bug
An attempt to use a unix socket endpoint returns an error saying the port is invalid.
Steps to reproduce
Add the following configuration:
exporters:
otlp:
endpoint: unix:///my/unix/socket.sock
tls:
insecure: true
What did you expect to see?
I expected it to use the unix socket.
What did you see instead?
invalid configuration: exporters::otlp: invalid port "///tmp/B2604682329/exporter.grpc.sock"
Collector version
v0.135.0
Additional context
This configuration worked previously. We're attempting to upgrade from a version that used v0.92 to the latest and this now seems to no longer work. I'm not sure how else to configure the exporter to use a Unix socket.
Seems to be related to this change: #9632
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.