Skip to content

feat(toolbox-core): add observability with OpenTelemetry#583

Open
AjmeraParth132 wants to merge 14 commits intogoogleapis:mainfrom
AjmeraParth132:feat/update-telemetry
Open

feat(toolbox-core): add observability with OpenTelemetry#583
AjmeraParth132 wants to merge 14 commits intogoogleapis:mainfrom
AjmeraParth132:feat/update-telemetry

Conversation

@AjmeraParth132
Copy link

Description:

Add observability to the toolbox-core Python SDK via OpenTelemetry, including tracing and metrics, and context propogation by client-server link following MCP Semantic Convention


What we have covered:

  • Introduce tracing spans for SDK operations following MCP Semantic Conventions.
  • Add metrics to capture SDK usage and performance (mcp.client.session.duration, mcp.client.operation.duration).
  • Ensure client spans are linked as parents of corresponding server spans for proper context propagation.
  • Enables consistent telemetry across the Toolbox stack and OTLP-compatible backends for debugging and performance monitoring.

Issue: #582

@AjmeraParth132 AjmeraParth132 changed the title feat(core): add observability with OpenTelemetry feat(toolbox-core): add observability with OpenTelemetry Mar 11, 2026
@AjmeraParth132 AjmeraParth132 marked this pull request as ready for review March 12, 2026 21:55
@AjmeraParth132 AjmeraParth132 requested a review from a team as a code owner March 12, 2026 21:55
@anubhav756
Copy link
Contributor

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants