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

OpenTelemetry span export to HTTPS fails #27703

Open
palmm opened this issue Jan 16, 2025 · 0 comments
Open

OpenTelemetry span export to HTTPS fails #27703

palmm opened this issue Jan 16, 2025 · 0 comments

Comments

@palmm
Copy link

palmm commented Jan 16, 2025

Version: Deno 2.1.5

% deno --version
deno 2.1.5 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2

Deno fails to export spans to non-HTTP endpoints when the OpenTelemtry integration is enabled. Once the spans are ready to export, the following is logged to the console:

name="BatchSpanProcessor.Flush.ExportError" reason="Other(hyper_util::client::legacy::Error(Connect, \"invalid URL, scheme is not http\"))" message=Failed during the export process

Steps to reproduce:

  1. Install deno 2.1.5.
  2. Run OTEL_EXPORTER_OTLP_ENDPOINT=https://api.honeycomb.io OTEL_DENO=true deno run -N --unstable-otel https://gist.githubusercontent.com/palmm/5ea10d52ab7786601664d13051894c0c/raw/0465db0c9d98edbfd76bcebc40b5e2ccc6b24bff/main.ts
  3. In a different terminal, run curl http://localhost:8000/ to trigger the span export. After a few seconds, the error message will be logged to the console running deno run.

keywords: otel opentelem opentelemetry

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

No branches or pull requests

1 participant