Coverage for src/usls/observability/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.15.3, created at 2026-08-05 10:11 +0000
« prev ^ index » next coverage.py v7.15.3, created at 2026-08-05 10:11 +0000
1"""Observability bootstrap for the USL Super League MCP server.
3The package provides a single entry point — :func:`tracing.setup_tracing`
4— that wires the OpenTelemetry SDK from environment variables. Calling
5it from :mod:`usls.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"""
11from .tracing import setup_tracing
13__all__ = ["setup_tracing"]