logixlysia/otel subpath:
trace_id and span_id are merged into the request context bag and appear on the access log. Logixlysia does not start an OpenTelemetry SDK—you bring your own tracer provider and instrumentation.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The canonical Logixlysia documentation lives at logixlysia.vercel.app. This mirror exists to power the AI assistant.
Correlate logs with active trace and span IDs
bun add @opentelemetry/api
logixlysia/otel subpath:
import logixlysia from 'logixlysia'
import { injectTraceContext } from 'logixlysia/otel'
const plugin = logixlysia()
const app = new Elysia()
.use(plugin)
.request(({ request, store }) => {
injectTraceContext(store.logger, request)
})
.get('/', () => 'ok')
trace_id and span_id are merged into the request context bag and appear on the access log. Logixlysia does not start an OpenTelemetry SDK—you bring your own tracer provider and instrumentation.Was this page helpful?