Get telemetry configuration from centralized application config.
Framework-managed:
OTEL_ENABLED
OTEL_SERVICE_NAME
createServer()
OTEL_METRICS_EXPORTER
Standard OTEL (pass-through):
OTEL_EXPORTER_OTLP_ENDPOINT
OTEL_TRACES_EXPORTER
OTEL_LOGS_EXPORTER
OTEL_LOG_LEVEL
OTEL_METRIC_EXPORT_INTERVAL
Telemetry configuration object
Get telemetry configuration from centralized application config.
Framework-managed:
OTEL_ENABLED— Master toggle (default: false)OTEL_SERVICE_NAME— Service name (default: MCP server name fromcreateServer())OTEL_METRICS_EXPORTER— Metric exporters (default: 'otlp,prometheus')Standard OTEL (pass-through):
OTEL_EXPORTER_OTLP_ENDPOINT— OTLP endpoint URLOTEL_TRACES_EXPORTER— Trace exporter selectionOTEL_LOGS_EXPORTER— Log exporter selection (default: 'none')OTEL_LOG_LEVEL— SDK diagnostic log levelOTEL_METRIC_EXPORT_INTERVAL— Periodic metric export interval