deno/runtime/js
Luca Casonato 594a99817c
feat(runtime): remove public OTEL trace API (#26854)
This PR removes the public Deno.tracing.Span API.
We are not confident we can ship an API that is
better than the `@opentelemetry/api` API, because
V8 CPED does not support us using `using` to
manage span context. If this changes, we can
revisit this decision. For now, users wanting
custom spans can instrument their code using
the `@opentelemetry/api` API and `@deno/otel`.

This PR also speeds up the OTEL trace generation
by a 30% by using Uint8Array instead of
strings for the trace ID and span ID.
2024-11-18 23:55:22 +00:00
..
01_errors.js feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
01_version.ts refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
06_util.js refactor: use web utils and lazy load utils from core (#22289) 2024-02-06 22:28:32 +01:00
10_permissions.js fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00
11_workers.js fix(runtime): use more null proto objects (#23921) 2024-05-23 00:03:35 +02:00
30_os.js fix: validate integer values in Deno.exitCode setter (#24068) 2024-06-02 21:29:01 -04:00
40_fs_events.js fix: share inotify fd across watchers (#26200) 2024-10-23 09:22:58 +05:30
40_process.js fix(node): Pass NPM_PROCESS_STATE to subprocesses via temp file instead of env var (#25896) 2024-09-27 12:35:37 -07:00
40_signals.js fix(runtime): use more null proto objects (#23921) 2024-05-23 00:03:35 +02:00
40_tty.js chore(tty): soft-remove Deno.isatty() (#25410) 2024-09-04 18:12:11 +10:00
41_prompt.js refactor: migrate extensions to virtual ops module (#22135) 2024-01-26 23:46:46 +01:00
90_deno_ns.js feat(runtime): remove public OTEL trace API (#26854) 2024-11-18 23:55:22 +00:00
98_global_scope_shared.js feat(cli): add --unstable-node-globals flag (#26617) 2024-11-14 13:11:29 +00:00
98_global_scope_window.js chore: cleanup remaining internals.future code (#25624) 2024-09-16 09:28:35 +10:00
98_global_scope_worker.js fix(runtime): use more null proto objects again (#25040) 2024-09-06 12:52:59 +02:00
99_main.js feat(runtime): remove public OTEL trace API (#26854) 2024-11-18 23:55:22 +00:00
README.md chore: fix outdated note in runtime/js/README.md (#23673) 2024-05-05 01:30:53 +00:00
telemetry.ts feat(runtime): remove public OTEL trace API (#26854) 2024-11-18 23:55:22 +00:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is an ES module and is prefixed with a number, telling in which order scripts should be loaded into V8 isolate.

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs