René's URL Explorer Experiment


Title: Cleanup op and description mapping by sl0thentr0py · Pull Request #4560 · getsentry/sentry-python · GitHub

Open Graph Title: Cleanup op and description mapping by sl0thentr0py · Pull Request #4560 · getsentry/sentry-python

X Title: Cleanup op and description mapping by sl0thentr0py · Pull Request #4560 · getsentry/sentry-python

Description: The main change is that op is now optional and name and description are basically interchangeable and map to each other as best as possible. Preference is given to explicitly set values (SentrySpanAttribute) and if not (in the case of pure otel spans), we try to derive them. The entire flow is much cleaner now instead of repeated calls to the same attributes. (For the main mapping changes in opentelemetry/test_utils I'd recommend reading the new code instead of the diff.)

Open Graph Description: The main change is that op is now optional and name and description are basically interchangeable and map to each other as best as possible. Preference is given to explicitly set values (SentrySpan...

X Description: The main change is that op is now optional and name and description are basically interchangeable and map to each other as best as possible. Preference is given to explicitly set values (SentrySpan...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/4560

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:19d439fa-cc0c-e896-2454-8355e27329bd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0C4:364B55:6A3C50:8B6FFF:6B00D298
html-safe-noncecd3abb95e41685d1e9b8cbee5b8549e905ea784318225c9735e112462ed4d043
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEM0OjM2NEI1NTo2QTNDNTA6OEI2RkZGOjZCMDBEMjk4IiwidmlzaXRvcl9pZCI6IjUwNDcxNzIzODEzNDE2NjE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf7950f026d84f02bd5554aadee06b70a273092a47a62eb0d01bd5a672b1b5bfd
hovercard-subject-tagpull_request:2650266594
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-python/pull/4560/files
twitter:imagehttps://avatars.githubusercontent.com/u/6536764?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6536764?s=400&v=4
og:image:altThe main change is that op is now optional and name and description are basically interchangeable and map to each other as best as possible. Preference is given to explicitly set values (SentrySpan...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/4560/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4560%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4560%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/4560/files
Reloadhttps://github.com/getsentry/sentry-python/pull/4560/files
Reloadhttps://github.com/getsentry/sentry-python/pull/4560/files
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose
sl0thentr0pyhttps://github.com/sl0thentr0py
potel-basehttps://github.com/getsentry/sentry-python/tree/potel-base
neel/refactor-span-datahttps://github.com/getsentry/sentry-python/tree/neel/refactor-span-data
Conversation 6 https://github.com/getsentry/sentry-python/pull/4560
Commits 4 https://github.com/getsentry/sentry-python/pull/4560/commits
Checks 0 https://github.com/getsentry/sentry-python/pull/4560/checks
Files changed https://github.com/getsentry/sentry-python/pull/4560/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4560/files
Cleanup op and description mapping https://github.com/getsentry/sentry-python/pull/4560/files#top
Show all changes 4 commits https://github.com/getsentry/sentry-python/pull/4560/files
b230b84 Cleanup op, description and status mapping sl0thentr0py Jul 8, 2025 https://github.com/getsentry/sentry-python/pull/4560/commits/b230b84b644a6b905a531ac8272e3204ff4fbac3
eaf10fd Simplify status mapping (#4570) sl0thentr0py Jul 14, 2025 https://github.com/getsentry/sentry-python/pull/4560/commits/eaf10fd4c39599e753fe9f8790ab039a8aafe267
eaf30e5 Simplify attributes typing and logic sl0thentr0py Jul 14, 2025 https://github.com/getsentry/sentry-python/pull/4560/commits/eaf30e5b0cafc86978c3acfd04a500d7ccc91a53
6978006 Cleaner http op logic sl0thentr0py Jul 14, 2025 https://github.com/getsentry/sentry-python/pull/4560/commits/697800630e99313f9e799b0447159d41466500f7
Clear filters https://github.com/getsentry/sentry-python/pull/4560/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4560/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4560/files
_types.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-e3349c1b1ad2cbd12844ebfa0e2210f645cfb5c75cea5ff2dbaa769e35becd9f
consts.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
span_processor.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-b4fc957cfba7d6b80014a59f402bbb4cf498ef78276ee8d2b7e42d3294ca24a8
utils.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-0af5f25aa887da2b8e5ab8f1a3c61b03bd71e25423dda59f5bd40967978893c1
tracing.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164
test_clickhouse_driver.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-472d1c606fe5950b2e65088d700af9430d10cc44056d2d130c3bd1d45f0da822
test_cache_module.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-c1f33e78b1097a7bf798677671ca8e96a19673afcac6faa0c7637e2f953f6fee
test_redis.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-8938151d698cbfb097e131557138203710105f1f96519e016a24c13d7ca9308a
test_redis_cache_module.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-404e8d77fd79dab732ad6af060c6d8d4c3a8eabebe73f138a667eb3f888e6c37
test_redis_cache_module_async.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-ab27e616b8dc6b347d153bf3e48779e245bdc6ac0fad534b0832985d09d6b7b5
test_sqlalchemy.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-79037249d5849a3209d4dc312145654a9f3f6e9168404f828b19a85782b6c321
test_potel.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-98aaa9a35d18a1dde13ae1e3a1d70194518e35a716958bd8bc3191f461a9ee40
test_utils.py https://github.com/getsentry/sentry-python/pull/4560/files#diff-45f49016eec7b609324a615132a5d36d1e3e6fdeb87f3e4835e130d10e35041d
https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1
sentry_sdk/_types.pyhttps://github.com/getsentry/sentry-python/pull/4560/files#diff-e3349c1b1ad2cbd12844ebfa0e2210f645cfb5c75cea5ff2dbaa769e35becd9f
View file https://github.com/getsentry/sentry-python/blob/697800630e99313f9e799b0447159d41466500f7/sentry_sdk/_types.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/4560/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/4560/files#diff-e3349c1b1ad2cbd12844ebfa0e2210f645cfb5c75cea5ff2dbaa769e35becd9f
https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1
sentry_sdk/consts.pyhttps://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
View file https://github.com/getsentry/sentry-python/blob/697800630e99313f9e799b0447159d41466500f7/sentry_sdk/consts.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/4560/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
https://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
https://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
https://github.com/getsentry/sentry-python/pull/4560/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017
https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1
sentry_sdk/opentelemetry/span_processor.pyhttps://github.com/getsentry/sentry-python/pull/4560/files#diff-b4fc957cfba7d6b80014a59f402bbb4cf498ef78276ee8d2b7e42d3294ca24a8
View file https://github.com/getsentry/sentry-python/blob/697800630e99313f9e799b0447159d41466500f7/sentry_sdk/opentelemetry/span_processor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/4560/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/4560/files#diff-b4fc957cfba7d6b80014a59f402bbb4cf498ef78276ee8d2b7e42d3294ca24a8
https://github.com/getsentry/sentry-python/pull/4560/files#diff-b4fc957cfba7d6b80014a59f402bbb4cf498ef78276ee8d2b7e42d3294ca24a8
https://github.com/getsentry/sentry-python/pull/4560/files#diff-b4fc957cfba7d6b80014a59f402bbb4cf498ef78276ee8d2b7e42d3294ca24a8
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4560/files
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.