0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 18:12:59 -05:00
deno/cli/tsc/dts
Bartek Iwańczuk 55c5b07535
perf(lsp): add built-in tracing support for the LSP (#27843)
adds tracing and opentelemetry exporting to the LSP.

enable it in `.vscode/settings.json` (or wherever you configure the
LSP), like

```
{
  "deno.tracing": true
}
```

which will by default export opentelemetry traces to `localhost:4317`
or
```
{
  "deno.tracing": {
    // all fields optional
     "collector": "openTelemetry" (default) | "logging" (output in lsp log window)
     "collectorEndpoint": "http://localhost:4318" (for opentelemetry)
     "enable": true | false,
     "filter": "info" // defaults to "info", but can be any span filter
   }
}
```

---

a full working setup would be 

1: Run jaeger (an opentelemetry collector with a nice UI):
```
docker run --rm -p 16686:16686 -p 4317:4317 jaegertracing/jaeger
```
2. Enable in .vscode/settings.json
```
{
  "deno.tracing": true
}
```
3. Restart LSP (right now it only will start the opentelemetry exporter
on LSP startup)
3. open `http://localhost:16686` in your browser

---------

Co-authored-by: Nathan Whitaker <nathan@deno.com>
2025-02-12 08:40:40 -08:00
..
lib.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.decorators.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.decorators.legacy.d.ts fix: upgrade to TypeScript 5.0.3 (#18532) 2023-03-31 17:09:04 +00:00
lib.deno.ns.d.ts docs(cli): update description of readFile and readFileSync (#28079) 2025-02-12 17:56:12 +09:00
lib.deno.shared_globals.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lib.deno.unstable.d.ts fix(lint): Deno.lint.runPlugin throws in deno run (#28063) 2025-02-12 09:18:55 +00:00
lib.deno.window.d.ts docs: JSDocs examples for prompt, confirm, and alert (#27695) 2025-01-16 14:20:45 +00:00
lib.deno.worker.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lib.deno_webgpu.d.ts refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
lib.dom.asynciterable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.dom.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.dom.extras.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lib.dom.iterable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es5.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es6.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.collection.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.core.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2015.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.generator.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es2015.iterable.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2015.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.proxy.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.reflect.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.symbol.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.symbol.wellknown.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2016.array.include.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2016.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2016.full.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2016.intl.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2017.arraybuffer.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2017.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2017.date.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2017.full.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2017.intl.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2017.object.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es2017.sharedmemory.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2017.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.typedarrays.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2018.asyncgenerator.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es2018.asynciterable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es2018.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2018.intl.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.es2018.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2018.regexp.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.array.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2019.intl.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.es2019.object.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.symbol.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.bigint.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2020.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.date.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2020.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2020.intl.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2020.number.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2020.sharedmemory.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2020.string.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2020.symbol.wellknown.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.es2021.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2021.intl.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2021.promise.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2021.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.weakref.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2022.array.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2022.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2022.error.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2022.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2022.intl.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2022.object.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.regexp.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.es2022.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2023.array.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2023.collection.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.es2023.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2023.intl.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.es2024.arraybuffer.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.collection.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.full.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.object.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.promise.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.regexp.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.sharedmemory.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.es2024.string.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.esnext.array.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.esnext.collection.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.esnext.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.esnext.decorators.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.esnext.disposable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.esnext.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.intl.d.ts feat: Upgrade to TypeScript 5.5.2 (#24326) 2024-07-03 16:09:54 +02:00
lib.esnext.iterator.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.scripthost.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.webworker.asynciterable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
lib.webworker.d.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
lib.webworker.importscripts.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.webworker.iterable.d.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
typescript.d.ts perf(lsp): add built-in tracing support for the LSP (#27843) 2025-02-12 08:40:40 -08:00