@queuert/otel
createOtelObservabilityAdapter
Section titled “createOtelObservabilityAdapter”const observabilityAdapter = await createOtelObservabilityAdapter({ meter?: Meter, // From @opentelemetry/api — metrics disabled if omitted tracer?: Tracer, // From @opentelemetry/api — tracing disabled if omitted});Returns Promise<ObservabilityAdapter>.
Both parameters are optional. When neither is provided, all observability operations are noops. Provide meter for metrics, tracer for distributed tracing, or both.
See Also
Section titled “See Also”- Observability — Integration guide for observability
- OTEL Metrics — Counters, histograms, and gauges
- OTEL Tracing — Span hierarchy and messaging conventions