Luca Casonato
00719ecef7
feat(unstable): no config npm:@opentelemetry/api integration ( #27541 )
...
After this PR, one does not need to import `jsr:@deno/otel` anymore.
2025-01-09 15:19:19 -05:00
Luca Casonato
2a54c08182
feat(unstable): replace SpanExporter with TracerProvider ( #27473 )
2025-01-09 15:19:18 -05:00
Kenta Moriuchi
a39c83170f
chore: Happy New Year 2025 ( #27509 )
2025-01-09 15:19:16 -05:00
Luca Casonato
7ad45db55f
feat(unstable): add OTEL MeterProvider ( #27240 )
...
This commit replaces `Deno.telemetry.MetricsExporter` with
`Deno.telemetry.MeterProvider`.
Signed-off-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: snek <snek@deno.com>
2025-01-09 15:19:13 -05:00
snek
26266045d4
refactor(unstable): otel configuration ( #27333 )
...
split up otel config into user configurable and runtime configurable
parts. user configurable part is now set via env vars parsed according
to the otel spec. otel is now enabled via `OTEL_DENO=true`, and
`--unstable-otel` only acts as a guard.
Fixes: https://github.com/denoland/deno/issues/27273
2025-01-09 15:19:06 -05:00
snek
d410358789
fix(unstable): don't unwrap optional state in otel ( #27292 )
...
otel global state may not be initialized if otel is not enabled, so bail
out instead of panicking.
Fixes: https://github.com/denoland/deno/issues/27272
2024-12-11 03:37:33 +01:00
snek
f32c836520
fix(unstable): otel context with multiple keys ( #27230 )
...
`SafeMap` treats its argument as an object with a "length" and index
properties, rather than a generic iterator, so every time we cloned it,
it was dropping all the data.
2024-12-05 23:03:54 +01:00
snek
dac0226882
feat(unstable): add metrics to otel ( #27143 )
...
Refs: https://github.com/denoland/deno/issues/26852
Initial support for exporting metrics.
Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-12-05 23:03:52 +01:00
snek
6755f5b55d
refactor(unstable): move telemetry to own ext ( #27067 )
...
Move telemetry to its own ext to clean up some code and resolve circular
deps.
2024-11-28 15:47:25 +01:00