{"repo":"cloudydeno/opentelemetry","free":true,"listed":false,"github":"https://github.com/cloudydeno/opentelemetry","clone":"git clone https://github.com/cloudydeno/opentelemetry.git","description":"WIP module for instrumenting Deno programs with OpenTelemetry, transmitting traces and metrics in a standard way.","language":"JavaScript","stars":14,"topics":["opentelemetry"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"@cloudydeno/opentelemetry on JSR A Deno-oriented build of opentelemetry-js, with extra Deno-specific integrations. Published on JSR since v0.10.0 . Previous versions were published to /x/ . Interaction with Deno's OTel support Deno now has parts of a opentelemetry sdk available by setting DENO OTEL=true when starting Deno. This support was recently marked as stable and is backed by a Rust opentelemetry library, outside of the running typescript sandbox. Deno OTel support is therefore simpler to configure, as it works just like every other programs's built-in opentelemetry support. HTTP fetches and inbound requests are automatically traced, while console.log() calls get sent as OTel log lines and even correlate with traces. Deno's OTel SDK is also partially available for custom instrumentation in your program using opentelemetry-js . And if you'd rather have a leaner, Deno-first build of opentelemetry-js , this is the repository for you! console.log() Deno OTel uploads your program's console output as OTel log signals by default (docs here). This is an excellent way to correlate logs with traces, much more complete than trying to inject trace correlation into JSON logs. The downside is that you may experience double-logging as Deno also writes your logs to stdout/stderr. Here are several options to resolve double logging: 1. If you set OTEL DENO CONSOLE=replace , the traditional logging will stop, and you will only have OTel versions of the program logs. 1. If you'd like to ke","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudydeno","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudydeno/opentelemetry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}