Coverage for src/ecnl/observability/__init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.14.2, created at 2026-06-28 08:19 +0000

1"""Observability bootstrap for the ECNL MCP server. 

2 

3The package provides a single entry point — :func:`tracing.setup_tracing` 

4— that wires the OpenTelemetry SDK from environment variables. Calling 

5it from :mod:`ecnl.server` is the only required integration; the 

6exporter, sampler, and resource attributes are all driven by config 

7rather than hardcoded so a deploy can repoint the trace destination 

8without code changes. 

9""" 

10 

11from .tracing import setup_tracing 

12 

13__all__ = ["setup_tracing"]