Bartek Iwańczuk
412426511a
feat(otel): add events for boot failure and uncaught error ( #29287 )
...
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / build wasm32 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This commit adds "boot_failure" and "uncaught_exception"
events that are sent when a worker crashes during `deno run`.
2025-05-14 12:20:12 +02:00
snek
5c6c52d132
fix: update deno_core ( #29166 )
...
for https://github.com/denoland/deno_core/pull/1111
2025-05-05 13:58:34 -05:00
snek
f360d61d64
fix: move otel logic into otel ( #29073 )
...
cleanup
229228ae0d
2025-04-28 15:09:15 +02:00
Lach
ec8e683de9
fix(otel): support attributes on links and events ( #28584 )
2025-04-25 18:26:33 +02:00
snek
ebc4f82eca
feat: v8js metrics ( #28592 )
...
Implement
https://opentelemetry.io/docs/specs/semconv/runtime/v8js-metrics/
2025-04-03 15:18:54 +02:00
Lach
7ac8130854
feat(otel): basic event recording ( #28552 )
2025-03-20 13:58:08 -07:00
Leo Kettmeir
28e5c388b4
feat(otel): span context propagators ( #28460 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2025-03-13 16:32:45 +01:00
Nathan Whitaker
ee4c14a550
chore: update to rust 1.85 ( #28236 )
...
Updates to use rust 1.85. Doesn't move to the 2024 edition, as that's a
fair bit more involved.
A nice side benefit is that the new rustc version seems to lead to a
slight reduction in binary size (at least on mac):
```
FILE SIZE
--------------
+4.3% +102Ki __DATA_CONST,__const
[NEW] +69.3Ki __TEXT,__literals
[NEW] +68.5Ki Rebase Info
+5.0% +39.9Ki __TEXT,__unwind_info
+57% +8.85Ki [__TEXT]
[NEW] +8.59Ki Lazy Binding Info
[NEW] +5.16Ki __TEXT,__stub_helper
[NEW] +3.58Ki Export Info
[NEW] +3.42Ki __DATA,__la_symbol_ptr
-0.1% -726 [12 Others]
-21.4% -3.10Ki [__DATA_CONST]
-95.8% -3.39Ki __DATA_CONST,__got
-20.9% -3.43Ki [__DATA]
-0.5% -4.52Ki Code Signature
-100.0% -11.6Ki [__LINKEDIT]
-1.0% -43.5Ki Symbol Table
-1.6% -44.0Ki __TEXT,__gcc_except_tab
-0.2% -48.1Ki __TEXT,__const
-3.3% -78.6Ki __TEXT,__eh_frame
-0.7% -320Ki __TEXT,__text
-1.5% -334Ki String Table
-0.5% -586Ki TOTAL
```
2025-02-25 08:50:01 -08:00
Leo Kettmeir
4ba166b207
fix(http): generate OtelInfo
only when otel metrics are enabled ( #28286 )
2025-02-24 20:27:35 -08:00
Leo Kettmeir
bf79971c95
feat(http): add otel metrics ( #28034 )
...
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2025-02-18 14:19:52 -08:00
Luca Casonato
6619210509
fix(otel): custom span start + end times are fractional ms ( #27995 )
...
Previously they were treated as fractional seconds.
2025-02-06 14:53:43 +01:00
snek
32eb991ef8
feat(unstable): support https otlp endpoints ( #27743 )
...
Support HTTPS protocol for otel exporting. Includes support for
`OTEL_EXPORTER_OTLP_CERTIFICATE`, `OTEL_EXPORTER_OTLP_CLIENT_KEY`, and
`OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE`
Fixes: https://github.com/denoland/deno/issues/27703
2025-01-22 13:07:04 +00:00
Luca Casonato
5e9b3712de
feat(unstable): add basic support for otel trace links ( #27727 )
...
Currently only links with no attributes.
2025-01-20 15:39:59 +01:00
Leo Kettmeir
ea30e188a8
refactor: update deno_core for error refactor ( #26867 )
...
Closes #26171
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-01-08 14:52:32 -08:00
Luca Casonato
4b35ba6b13
feat(unstable): replace SpanExporter with TracerProvider ( #27473 )
2025-01-06 14:28:29 +01:00
Kenta Moriuchi
8fb073d7b4
chore: Happy New Year 2025 ( #27509 )
2024-12-31 19:12:39 +00:00
David Sherret
ac7b33a340
chore: cargo fmt - turn on group_imports=StdExternalCrate ( #26646 )
2024-12-31 12:13:39 -05:00
Luca Casonato
f4e321342f
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>
2024-12-26 09:01:39 +01:00
snek
5f8be055db
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
2024-12-12 09:17:26 +01:00
snek
1c0f236923
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-09 22:33:07 +01:00
snek
7c036772df
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-02 20:45:41 +01:00
snek
e61cf8d7d6
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-26 11:22:18 +00:00