resq_mcp.telemetry
Telemetry setup for the ResQ MCP server. Provides initialization hooks for OpenTelemetry tracing and metrics. Currently operates in no-op mode with structured logging as a fallback. Future integration path:- Install: opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-otlp
- Configure TracerProvider with appropriate exporters
- Configure MeterProvider for Prometheus metrics
- Add trace decorators to key operations
annotations
logging
TYPE_CHECKING
settings
logger
setup_telemetry
trace
name- Optional span name. Defaults to the function name.