Skip to main content

resq_mcp.core.telemetry

Telemetry subsystem for the ResQ MCP server. Provides unified OpenTelemetry tracing, Prometheus-compatible metrics, and structured logging with automatic PII redaction.

annotations

functools

logging

re

time

contextmanager

TYPE_CHECKING

Any

ParamSpec

TypeVar

settings

P

R

logger

tracer

meter

setup_telemetry

Initialize OpenTelemetry tracing and metrics.

metrics

trace

Instrument a function with an OpenTelemetry span.

span

log_event

shutdown_telemetry