René's URL Explorer Experiment


Title: OpenTelemetry MCP client spans by aabmass · Pull Request #2132 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: OpenTelemetry MCP client spans by aabmass · Pull Request #2132 · modelcontextprotocol/python-sdk

X Title: OpenTelemetry MCP client spans by aabmass · Pull Request #2132 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - OpenTelemetry MCP client spans by aabmass · Pull Request #2132 · modelcontextprotocol/python-sdk

Open Graph Description: Part of #421 Depends on OpenTelemetry inject trace context propagation in _meta #2093 Propagate contextvars through anyio streams #1996 OpenTelemetry extract trace context from _meta in incomin...

X Description: Part of #421 Depends on OpenTelemetry inject trace context propagation in _meta #2093 Propagate contextvars through anyio streams #1996 OpenTelemetry extract trace context from _meta in incomin...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2132

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:10c32abe-cd4e-a8aa-3e3a-253df5afa817
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id82F0:D6A80:3019C1:4610D5:6A61E46B
html-safe-noncef7c9677e90a6096f6c6a9e936506ddfb4d4ade767954075a99e02c48aca46f27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkYwOkQ2QTgwOjMwMTlDMTo0NjEwRDU6NkE2MUU0NkIiLCJ2aXNpdG9yX2lkIjoiMzA4MDAwNjE4MDI5MzE3NDM3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac65e011d8df5bfd0c6c808cf61c198ea7434a6bd79209e3c0c613b1af0a8e5f86
hovercard-subject-tagpull_request:3319099134
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2132/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1445661b0ace7dba6fdfbf0ef7a01092b6307af486a5040fa8917fb92fa0e8a6/modelcontextprotocol/python-sdk/pull/2132
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1445661b0ace7dba6fdfbf0ef7a01092b6307af486a5040fa8917fb92fa0e8a6/modelcontextprotocol/python-sdk/pull/2132
og:image:altPart of #421 Depends on OpenTelemetry inject trace context propagation in _meta #2093 Propagate contextvars through anyio streams #1996 OpenTelemetry extract trace context from _meta in incomin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaabmass
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2132#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2132
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2132
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2132
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2132
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2132
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2132
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 268 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 314 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
aabmasshttps://github.com/aabmass
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
aabmass:otel-client-spanshttps://github.com/aabmass/mcp-python-sdk/tree/otel-client-spans
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2132
Commits6 (6)https://github.com/modelcontextprotocol/python-sdk/pull/2132/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2132/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2132/files
OpenTelemetry MCP client spanshttps://github.com/modelcontextprotocol/python-sdk/pull/2132#top
aabmasshttps://github.com/aabmass
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
aabmass:otel-client-spanshttps://github.com/aabmass/mcp-python-sdk/tree/otel-client-spans
https://github.com/aabmass
aabmasshttps://github.com/aabmass
Feb 24, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2132#issue-3981811543
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2132
#421https://github.com/modelcontextprotocol/python-sdk/issues/421
OpenTelemetry inject trace context propagation in _meta #2093https://github.com/modelcontextprotocol/python-sdk/pull/2093
Propagate contextvars through anyio streams #1996https://github.com/modelcontextprotocol/python-sdk/pull/1996
OpenTelemetry extract trace context from _meta in incoming requests #2133https://github.com/modelcontextprotocol/python-sdk/pull/2133
https://github.com/open-telemetry/semantic-conventions/blob/v1.40.0/docs/gen-ai/mcp.md#clienthttps://github.com/open-telemetry/semantic-conventions/blob/v1.40.0/docs/gen-ai/mcp.md#client
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2132
https://github.com/aabmass
aabmasshttps://github.com/aabmass
Feb 24, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2132#ref-pullrequest-3959785777
OpenTelemetry inject trace context propagation in _meta #2093 https://github.com/modelcontextprotocol/python-sdk/pull/2093
https://github.com/aabmass
aabmasshttps://github.com/aabmass
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/40c909b2b32dbb268a13d9f4c3c761e1c73860fd..54eea14c6b5c2617e36885514aa28838c0462f93
40c909bhttps://github.com/modelcontextprotocol/python-sdk/commit/40c909b2b32dbb268a13d9f4c3c761e1c73860fd
54eea14https://github.com/modelcontextprotocol/python-sdk/commit/54eea14c6b5c2617e36885514aa28838c0462f93
Compare https://github.com/modelcontextprotocol/python-sdk/compare/40c909b2b32dbb268a13d9f4c3c761e1c73860fd..54eea14c6b5c2617e36885514aa28838c0462f93
March 3, 2026 06:14https://github.com/modelcontextprotocol/python-sdk/pull/2132#event-23216018570
https://github.com/aabmass
aabmasshttps://github.com/aabmass
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/54eea14c6b5c2617e36885514aa28838c0462f93..2725881fcd1cc51d3cc76f519b6e14da69a0e099
54eea14https://github.com/modelcontextprotocol/python-sdk/commit/54eea14c6b5c2617e36885514aa28838c0462f93
2725881https://github.com/modelcontextprotocol/python-sdk/commit/2725881fcd1cc51d3cc76f519b6e14da69a0e099
Compare https://github.com/modelcontextprotocol/python-sdk/compare/54eea14c6b5c2617e36885514aa28838c0462f93..2725881fcd1cc51d3cc76f519b6e14da69a0e099
March 6, 2026 05:24https://github.com/modelcontextprotocol/python-sdk/pull/2132#event-23321202183
aabmasshttps://github.com/aabmass
March 6, 2026 05:24https://github.com/modelcontextprotocol/python-sdk/pull/2132#commits-pushed-4445a3a
https://github.com/aabmass
Test caseshttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/4445a3af0c8a61b91d4680f1cf7d09dc7c08c115
4445a3ahttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/4445a3af0c8a61b91d4680f1cf7d09dc7c08c115
https://github.com/aabmass
OpenTelemetry _meta propagationhttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/526d9acee8f203e14acb6406ffe4f5dace3df663
526d9achttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/526d9acee8f203e14acb6406ffe4f5dace3df663
https://github.com/aabmass
Propagate contextvars through anyio streamshttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/ab277262da6ba85e3e5be41f3b684c6a096ba185
ab27726https://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/ab277262da6ba85e3e5be41f3b684c6a096ba185
https://github.com/aabmass
tmp merge commithttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/0bccb25f845ac4f30cca8fd69082655ca8f3428d
0bccb25https://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/0bccb25f845ac4f30cca8fd69082655ca8f3428d
https://github.com/aabmass
Extract OTel context from _meta in incoming requestshttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/c0ae32f86ce6012d67e29cba9e4764f42f01ac01
c0ae32fhttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/c0ae32f86ce6012d67e29cba9e4764f42f01ac01
https://github.com/aabmass
aabmasshttps://github.com/aabmass
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/2725881fcd1cc51d3cc76f519b6e14da69a0e099..ca917fa6e7610d55b794f07197d07aa28d910333
2725881https://github.com/modelcontextprotocol/python-sdk/commit/2725881fcd1cc51d3cc76f519b6e14da69a0e099
ca917fahttps://github.com/modelcontextprotocol/python-sdk/commit/ca917fa6e7610d55b794f07197d07aa28d910333
Compare https://github.com/modelcontextprotocol/python-sdk/compare/2725881fcd1cc51d3cc76f519b6e14da69a0e099..ca917fa6e7610d55b794f07197d07aa28d910333
March 6, 2026 05:29https://github.com/modelcontextprotocol/python-sdk/pull/2132#event-23321335632
https://github.com/aabmass
Implement MCP client opentelemetry tracinghttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/7873d3bb161d1acefb638d89745bdad4a22c7cbc
7873d3bhttps://github.com/modelcontextprotocol/python-sdk/pull/2132/commits/7873d3bb161d1acefb638d89745bdad4a22c7cbc
https://github.com/aabmass
aabmasshttps://github.com/aabmass
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/ca917fa6e7610d55b794f07197d07aa28d910333..7873d3bb161d1acefb638d89745bdad4a22c7cbc
ca917fahttps://github.com/modelcontextprotocol/python-sdk/commit/ca917fa6e7610d55b794f07197d07aa28d910333
7873d3bhttps://github.com/modelcontextprotocol/python-sdk/commit/7873d3bb161d1acefb638d89745bdad4a22c7cbc
Compare https://github.com/modelcontextprotocol/python-sdk/compare/ca917fa6e7610d55b794f07197d07aa28d910333..7873d3bb161d1acefb638d89745bdad4a22c7cbc
March 6, 2026 05:42https://github.com/modelcontextprotocol/python-sdk/pull/2132#event-23321568239
https://github.com/aabmass
aabmasshttps://github.com/aabmass
Mar 10, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2132#ref-issue-4049241574
Interoperating with OpenTelemetry instrumentation in the MCP SDK PrefectHQ/fastmcp#3451 https://github.com/PrefectHQ/fastmcp/issues/3451
https://github.com/apps/marvin-context-protocol
marvin-context-protocolhttps://github.com/apps/marvin-context-protocol
Apr 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2132#ref-issue-4251424428
OTEL: Fix attribute compliance with MCP semantic conventions PrefectHQ/fastmcp#3886 https://github.com/PrefectHQ/fastmcp/issues/3886
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2132
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2132
https://github.com/aabmass
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.