@theoven/telemetry
v0.6.1
Published
OpenTelemetry tracing for Oven — spans, context propagation and log correlation
Downloads
1,584
Maintainers
Readme
@theoven/telemetry
OpenTelemetry tracing for Oven — spans, context propagation and log correlation.
bun add @theoven/telemetry @opentelemetry/apiimport { telemetry } from '@theoven/telemetry'
app.use(telemetry())Brings no SDK and no exporter — you configure those as you would for any OpenTelemetry application, and this uses whatever is globally registered.
Spans are named by route pattern (GET /users/:id), not path, so a backend can aggregate.
Only 5xx marks a span as failed: a 404 is the server working correctly, and an error rate made of
other people's typos is a dashboard nobody looks at.
Documentation
https://theoven.app/docs/bricks/telemetry/
License
MIT
