Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
4k
Star
24.5k
Code
Issues
245
Pull requests
186
Actions
Projects
Security and quality
11
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add basic OpenTelemetry tracing for client and server requests
- #2381
#2381
Merged
maxisbey
merged 16 commits into
main
modelcontextprotocol/python-sdk:main
from
marcelo/otel-spans
modelcontextprotocol/python-sdk:marcelo/otel-spans
Copy head branch name to clipboard
Mar 31, 2026
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Add basic OpenTelemetry tracing for client and server requests
#2381
maxisbey
merged 16 commits into
main
modelcontextprotocol/python-sdk:main
from
marcelo/otel-spans
modelcontextprotocol/python-sdk:marcelo/otel-spans
Copy head branch name to clipboard
Commits
Commits on Mar 31, 2026
Add basic OpenTelemetry tracing for client and server requests
Show description for bbdd99b
Kludex
committed
bbdd99b
View commit details
Copy full SHA for bbdd99b
Browse repository at this point
Make opentelemetry-api a mandatory dependency
Show description for e1ebbc7
Kludex
committed
e1ebbc7
View commit details
Copy full SHA for e1ebbc7
Browse repository at this point
Use logfire[testing] for OTel test assertions
Kludex
committed
7795f34
View commit details
Copy full SHA for 7795f34
Browse repository at this point
Use 'MCP send' prefix for outgoing request spans
Show description for e2d4b03
Kludex
committed
e2d4b03
View commit details
Copy full SHA for e2d4b03
Browse repository at this point
Propagate W3C trace context via _meta per SEP-414
Show description for 0e0b746
Kludex
committed
0e0b746
View commit details
Copy full SHA for 0e0b746
Browse repository at this point
Address review feedback on type annotations and _meta injection
Kludex
committed
54f8787
View commit details
Copy full SHA for 54f8787
Browse repository at this point
Merge branch 'main' into marcelo/otel-spans
Kludex
authored
a700ab9
View commit details
Copy full SHA for a700ab9
Browse repository at this point
Skip OTel test when logfire.testing is not available
Show description for 2369988
Kludex
committed
2369988
View commit details
Copy full SHA for 2369988
Browse repository at this point
Merge branch 'marcelo/otel-spans' of github.com:modelcontextprotocol/python-sdk into marcelo/otel-spans
Kludex
committed
f43dc4a
View commit details
Copy full SHA for f43dc4a
Browse repository at this point
Pin logfire>=3.0.0 dev dependency and restore direct import
Kludex
committed
0391854
View commit details
Copy full SHA for 0391854
Browse repository at this point
Use single backticks in docstrings
Kludex
committed
1ee1dfd
View commit details
Copy full SHA for 1ee1dfd
Browse repository at this point
Record ERROR status on server spans for error responses
Kludex
committed
d9dcc85
View commit details
Copy full SHA for d9dcc85
Browse repository at this point
Move StatusCode import to top of file
Kludex
committed
f79767e
View commit details
Copy full SHA for f79767e
Browse repository at this point
Use SpanKind enum directly instead of string conversion
Kludex
committed
8ae416e
View commit details
Copy full SHA for 8ae416e
Browse repository at this point
Add comment explaining filterwarnings on OTel test
Kludex
committed
b47c9c5
View commit details
Copy full SHA for b47c9c5
Browse repository at this point
Use isinstance assert instead of type: ignore in OTel test
Kludex
committed
e00d336
View commit details
Copy full SHA for e00d336
Browse repository at this point
You can’t perform that action at this time.