@connectum/otel
OpenTelemetry providers, server/client RPC instrumentation, metrics, logging, and deep tracing helpers.
Install
bash
npm install @connectum/otelbash
pnpm add @connectum/otelbash
bun add @connectum/otelStart Here
typescript
import { createOtelInterceptor, initProvider } from '@connectum/otel';
initProvider({ serviceName: 'orders-service' });
const interceptor = createOtelInterceptor({ serverPort: 5000 });For a complete, source-verified workflow, continue with the focused guide below.
Key Entry Points
| Entry point | Use it to |
|---|---|
initProvider | Initialize trace, metric, and log providers. |
createOtelInterceptor | Instrument inbound RPCs. |
createOtelClientInterceptor | Instrument outbound RPCs and propagate context. |
Runtime boundaries and extension seams remain in Connectum Runtime Architecture.
Learn / Configure / API Reference
- Learn: Focused guide
- Configure: Task and configuration guidance
- API reference: Exact options and symbols
- Package API index: Generated TypeDoc
- Source: @connectum/otel on GitHub
Related Modules
Compare all Connectum packages by capability.