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
bash script that sets env variables and runs the server:
export OTEL_SERVICE_NAME=my-service-name
export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io"export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=***"export RUST_BACKTRACE=full
deno run --unstable-otel -A main.ts
Backtrace:
Listening on http://0.0.0.0:8000/
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: linux x86_64
Version: 2.1.2
Args: ["deno", "run", "--unstable-otel", "-A", "main.ts"]
thread 'main' panicked at ext/telemetry/lib.rs:638:42:
called `Option::unwrap()` on a `None` valuestack backtrace: 0: 0x55dba96fe921 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h9754a6437f1de22a 1: 0x55dba81d5a5b - core::fmt::write::hb706a393bb60a06f 2: 0x55dba9702088 - std::io::Write::write_fmt::h9b447dc5d824d0bd 3: 0x55dba9735153 - std::panicking::default_hook::{{closure}}::h227952daede9dd84 4: 0x55dba9734e54 - std::panicking::default_hook::h31626ee1feb8ee2a 5: 0x55dba810784e - deno::setup_panic_hook::{{closure}}::he901c578798dbf08 6: 0x55dba9735b99 - std::panicking::rust_panic_with_hook::h76d2aa694a00748e 7: 0x55dba96fed42 - std::panicking::begin_panic_handler::{{closure}}::h8855a344ffa1638b 8: 0x55dba96fecd9 - std::sys::backtrace::__rust_end_short_backtrace::h3110d0cbfbf26886 9: 0x55dba9735584 - rust_begin_unwind 10: 0x55dba7a1f522 - core::panicking::panic_fmt::h3af706d0346c1c60 11: 0x55dba7a1f4eb - core::panicking::panic::h8fa9c73fac331fdb 12: 0x55dba7a1f4a8 - core::option::unwrap_failed::had2d05111e3e145c 13: 0x55dba8f83f4e - deno_telemetry::op_otel_instrumentation_scope_enter_builtin::op_otel_instrumentation_scope_enter_builtin::v8_fn_ptr::hcd9ad9072700e39b 14: 0x55db4a2cf1c6 - <unknown>
The text was updated successfully, but these errors were encountered:
Running the example from the Deno.telemetry docs.
main.ts:
bash script that sets env variables and runs the server:
Backtrace:
The text was updated successfully, but these errors were encountered: