You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# sudo isn't needed to repro, but to rule out a permissions issue
sudo \
OTEL_TARGET_EXE=/usr/bin/ls \
OTEL_SERVICE_NAME=context-deadline-sadness \
OTEL_EXPORTER_OTLP_ENDPOINT=api.honeycomb.io:443 \
./otel-go-instrumentation
I think I might have accidentally-on-purpose made a fix for this and most/all of the OTEL_EXPORTER_OTLP_* environment variable while trying to add an "OTel-Go-Auto-Instrumentation" user-agent to the OTLP exporter connection. … which is an issue I meant to open, but could just open a PR for. 😁
Describe the bug
I receive a
context deadline exceeded
error when the agent is configured to send to a TLS OTLP endpoint.Environment
Linux 5.19.0-1023-aws #24~22.04.1-Ubuntu SMP Wed Mar 29 15:23:31 UTC 2023 x86_64 GNU/Linux
go version go1.18.1 linux/amd64
To Reproduce
Steps to reproduce the behavior:
make build
# sudo isn't needed to repro, but to rule out a permissions issue sudo \ OTEL_TARGET_EXE=/usr/bin/ls \ OTEL_SERVICE_NAME=context-deadline-sadness \ OTEL_EXPORTER_OTLP_ENDPOINT=api.honeycomb.io:443 \ ./otel-go-instrumentation
Console Output (JSON prettified)
Expected behavior
I expect a secure connection to be established. I can make it happen by changing the current hard-coded insecure gRPC config to a hard-coded TLS config:
I imagine the proper fix will be some shenanigans for supporting more of the OTEL_EXPORTER_OTLP_* environment variable config surface area.
The text was updated successfully, but these errors were encountered: