Skip to content

(fix) #2036 Otel default endpoint incorrectly uses https.#2048

Merged
BrynCooke merged 1 commit intodevfrom
bryn/otel-tls-defaulting
Nov 7, 2022
Merged

(fix) #2036 Otel default endpoint incorrectly uses https.#2048
BrynCooke merged 1 commit intodevfrom
bryn/otel-tls-defaulting

Conversation

@BrynCooke
Copy link
Contributor

@BrynCooke BrynCooke commented Nov 4, 2022

There is a bug in otel open-telemetry/opentelemetry-rust#908 that did not manifest until tls-roots was enabled on tonic.

This PR introduces a workaround until this is fixed upstream.

default endpoint is now configured to use http rather than https. In addition, tls domain will only be set if the endpoint scheme is https.
If the endpoint port is 443 ta warning is displayed if TLS has not been configured.

@github-actions

This comment has been minimized.

open-telemetry/opentelemetry-rust#908

default endpoint is now configured to use http rather than https.
In addition, tls domain will only be set if the endpoint scheme is https.
If the endpoint port is 443 a warning is displayed if TLS has not been configured.
@BrynCooke BrynCooke force-pushed the bryn/otel-tls-defaulting branch from c6105b0 to df128ae Compare November 4, 2022 15:46
@BrynCooke BrynCooke marked this pull request as ready for review November 4, 2022 15:53
@BrynCooke BrynCooke merged commit 62d7452 into dev Nov 7, 2022
@BrynCooke BrynCooke deleted the bryn/otel-tls-defaulting branch November 7, 2022 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default localhost metrics & trace endpoints no longer work

3 participants