1- # TFO-MCP Observability Standards
1+ # TFO-Python- MCP Observability Standards
22
33## Overview
44
@@ -56,7 +56,7 @@ class TelemetryConfig(BaseSettings):
5656 description = " Enable telemetry collection" ,
5757 )
5858 service_name: str = Field(
59- default = " telemetryflow-mcp" ,
59+ default = " telemetryflow-python- mcp" ,
6060 description = " Service name for telemetry" ,
6161 )
6262 service_version: str = Field(
@@ -128,7 +128,7 @@ from contextlib import asynccontextmanager
128128from typing import Any
129129
130130
131- tracer = trace.get_tracer(" telemetryflow-mcp" )
131+ tracer = trace.get_tracer(" telemetryflow-python- mcp" )
132132
133133
134134@asynccontextmanager
@@ -139,7 +139,7 @@ async def mcp_span(
139139 """ Create an MCP operation span."""
140140 attrs = {
141141 " mcp.protocol.version" : " 2024-11-05" ,
142- " service.name" : " telemetryflow-mcp" ,
142+ " service.name" : " telemetryflow-python- mcp" ,
143143 }
144144 if attributes:
145145 attrs.update(attributes)
@@ -805,7 +805,7 @@ class SamplingStrategy:
805805| Variable | Description | Default |
806806| ----------| -------------| ---------|
807807| TELEMETRYFLOW_MCP_TELEMETRY_ENABLED | Enable telemetry | true |
808- | TELEMETRYFLOW_MCP_TELEMETRY_SERVICE_NAME | Service name | telemetryflow-mcp |
808+ | TELEMETRYFLOW_MCP_TELEMETRY_SERVICE_NAME | Service name | telemetryflow-python- mcp |
809809| TELEMETRYFLOW_MCP_OTLP_ENDPOINT | OTLP endpoint | http://localhost:4317 |
810810| TELEMETRYFLOW_MCP_LOG_LEVEL | Log level | INFO |
811811| TELEMETRYFLOW_MCP_LOG_FORMAT | Log format | json |
0 commit comments