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
Describe your environment
When trying to configure the SDK to send telemetry to a backend, the default OTLP exporter behaviour is to send using an unsecured connection.
This is not intuitive behaviour and goes against the specification. The environment variables are different, but the intent is the *_INSECURE environment variables default to false, meaning a secure connection is used.
Two nice to have:
update the SDKs environment variable usage to match the spec
if no environment variable is set, determine whether a secure connection is required using the endpoint protocol (eg http:// = insecure, https:// = secure)
Steps to reproduce
Setup SDK to send telemetry to an endpoint that required a secure connection (eg https://).
What is the expected behavior?
Telemetry successfully be exported to the configured endpoint.
What is the actual behavior?
Telemetry is not exported with an invalid protocol error. To get it to work, the SDK required the OTEL_EXPORTER_OTLP_SSL_ENABLE set to true.
The text was updated successfully, but these errors were encountered:
Describe your environment
When trying to configure the SDK to send telemetry to a backend, the default OTLP exporter behaviour is to send using an unsecured connection.
This is not intuitive behaviour and goes against the specification. The environment variables are different, but the intent is the *_INSECURE environment variables default to false, meaning a secure connection is used.
Two nice to have:
Steps to reproduce
Setup SDK to send telemetry to an endpoint that required a secure connection (eg https://).
What is the expected behavior?
Telemetry successfully be exported to the configured endpoint.
What is the actual behavior?
Telemetry is not exported with an invalid protocol error. To get it to work, the SDK required the
OTEL_EXPORTER_OTLP_SSL_ENABLE
set totrue
.The text was updated successfully, but these errors were encountered: