René's URL Explorer Experiment


Title: No more last_event_id · Issue #3049 · getsentry/sentry-python · GitHub

Open Graph Title: No more last_event_id · Issue #3049 · getsentry/sentry-python

X Title: No more last_event_id · Issue #3049 · getsentry/sentry-python

Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.1.0 Steps to Reproduce https://develop.sentry.dev/sdk/features/#retrieve-last-event-id The method last_event_id does not exist anymore. I understand that's been deprecated but, how...

Open Graph Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.1.0 Steps to Reproduce https://develop.sentry.dev/sdk/features/#retrieve-last-event-id The method last_event_id does not exist anymore. I un...

X Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.1.0 Steps to Reproduce https://develop.sentry.dev/sdk/features/#retrieve-last-event-id The method last_event_id does not exist anymore. I un...

Opengraph URL: https://github.com/getsentry/sentry-python/issues/3049

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No more last_event_id","articleBody":"### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Version\r\n\r\n2.1.0\r\n\r\n### Steps to Reproduce\r\n[https://develop.sentry.dev/sdk/features/#retrieve-last-event-id](https://develop.sentry.dev/sdk/features/#retrieve-last-event-id)\r\nThe method last_event_id does not exist anymore. I understand that's been deprecated but, how are we supposed to show the event_id to the user now?\r\nfrom sentry_sdk import last_event_id\r\n\r\n### Expected Result\r\n\r\nBe able to get the last event id from a non controlled exception and show it to the final user.\r\nIn django for example, the recommended way was this:\r\n\r\n```\r\nfrom sentry_sdk import last_event_id\r\n\r\nfrom django.shortcuts import render\r\n\r\n\r\ndef custom_handler500(request):\r\n    context = {\r\n        \"request\": request,\r\n        \"title\": \"Error 500\",\r\n        \"last_event_id\": last_event_id(),\r\n    }\r\n    template_name = \"500.html\"\r\n    return render(request, template_name, context, status=500)\r\n```\r\n\r\n### Actual Result\r\n\r\n`ImportError: cannot import name 'last_event_id' from 'sentry_sdk' (/app/.venv/lib/python3.11/site-packages/sentry_sdk/__init__.py)`\r\n","author":{"url":"https://github.com/maltalk","@type":"Person","name":"maltalk"},"datePublished":"2024-05-06T15:35:18Z","url":"https://github.com/getsentry/sentry-python/issues/3049"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1307b0ba-50c5-20a5-613e-eca1afe0c9c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC53E:1FCE:2BB1C9:3D142F:6B0436D5
html-safe-nonce1d71f0603af2eb6d4368334caf93b4476ff9eef48ed22946fb45e27f89cb51c8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTNFOjFGQ0U6MkJCMUM5OjNEMTQyRjo2QjA0MzZENSIsInZpc2l0b3JfaWQiOiIzMTg2NTg3NjU3NzY5ODU4NzczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0fa9bf8cc8c92d7b903269d005691751d7d16357115256062a3f27e5a707af5e
hovercard-subject-tagissue:2281169833
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/3049/issue_layout
twitter:imagehttps://opengraph.githubassets.com/77851bf389984c7b81cdbcc14fd4ef246353b66fea9c61f467851440fec85295/getsentry/sentry-python/issues/3049
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/77851bf389984c7b81cdbcc14fd4ef246353b66fea9c61f467851440fec85295/getsentry/sentry-python/issues/3049
og:image:altHow do you use Sentry? Sentry Saas (sentry.io) Version 2.1.0 Steps to Reproduce https://develop.sentry.dev/sdk/features/#retrieve-last-event-id The method last_event_id does not exist anymore. I un...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaltalk
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/3049#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F3049
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%2Fissues%2F3049
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/3049
Reloadhttps://github.com/getsentry/sentry-python/issues/3049
Reloadhttps://github.com/getsentry/sentry-python/issues/3049
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues341 (341)https://github.com/getsentry/sentry-python/issues
Pull requests36 (36)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
https://github.com/getsentry/sentry-python
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/3049
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/3049
#3064https://github.com/getsentry/sentry-python/pull/3064
No more last_event_idhttps://github.com/getsentry/sentry-python/issues/3049#top
#3064https://github.com/getsentry/sentry-python/pull/3064
https://github.com/szokeasaurusrex
https://github.com/maltalk
maltalkhttps://github.com/maltalk
on May 6, 2024https://github.com/getsentry/sentry-python/issues/3049#issue-2281169833
https://develop.sentry.dev/sdk/features/#retrieve-last-event-idhttps://develop.sentry.dev/sdk/features/#retrieve-last-event-id
Nexthttps://github.com/getsentry/sentry-python/issues/3049?timeline_page=1
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on May 6, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12716780936
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on May 6, 2024https://github.com/getsentry/sentry-python/issues/3049#event-14898049823
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on May 6, 2024https://github.com/getsentry/sentry-python/issues/3049
https://github.com/szokeasaurusrex
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#issuecomment-2098682697
@maltalkhttps://github.com/maltalk
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12731303016
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049
https://github.com/maltalk
maltalkhttps://github.com/maltalk
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#issuecomment-2098750398
@szokeasaurusrexhttps://github.com/szokeasaurusrex
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12731576465
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049
https://github.com/szokeasaurusrex
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#issuecomment-2098776405
@maltalkhttps://github.com/maltalk
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12731705683
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 7, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12731731304
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 8, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12743201096
feat(client): Add last_event_id to `Client`https://github.com/getsentry/sentry-python/commit/978fa06fa43d04e3996f01bb98081757f7f4546b
978fa06https://github.com/getsentry/sentry-python/commit/978fa06fa43d04e3996f01bb98081757f7f4546b
test(client): Add unit tests for last_event_idhttps://github.com/getsentry/sentry-python/commit/efc324d8c40b0d44666f4c6dddfe91dd2b7b863b
efc324dhttps://github.com/getsentry/sentry-python/commit/efc324d8c40b0d44666f4c6dddfe91dd2b7b863b
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 8, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12743285888
test: Unit test top-level `last_event_id`https://github.com/getsentry/sentry-python/commit/751f6ca0e14bff879a1a00d6e214717d73ac9087
751f6cahttps://github.com/getsentry/sentry-python/commit/751f6ca0e14bff879a1a00d6e214717d73ac9087
feat(scope): Add last_event_id to Scopehttps://github.com/getsentry/sentry-python/commit/9eca8dc6c39259be818fbc26bcdf6e243630d8f2
9eca8dchttps://github.com/getsentry/sentry-python/commit/9eca8dc6c39259be818fbc26bcdf6e243630d8f2
feat(scope): Add last_event_id to Scopehttps://github.com/getsentry/sentry-python/commit/611588e63c247a298c9e491b99a1069e62e8ba42
611588ehttps://github.com/getsentry/sentry-python/commit/611588e63c247a298c9e491b99a1069e62e8ba42
feat(scope): Add last_event_id to Scopehttps://github.com/getsentry/sentry-python/commit/13d457dc4c42f07f73a0fd638670f457e4ebcb97
13d457dhttps://github.com/getsentry/sentry-python/commit/13d457dc4c42f07f73a0fd638670f457e4ebcb97
feat(scope): Add last_event_id to Scopehttps://github.com/getsentry/sentry-python/commit/77d4a4505a20b5270256d3e818e1011e0632c3b0
77d4a45https://github.com/getsentry/sentry-python/commit/77d4a4505a20b5270256d3e818e1011e0632c3b0
feat: Add `last_event_id` to top-level apihttps://github.com/getsentry/sentry-python/commit/54580671722cb579058f62ce0746a538e46850b5
5458067https://github.com/getsentry/sentry-python/commit/54580671722cb579058f62ce0746a538e46850b5
feat(scope): Add last_event_id to Scopehttps://github.com/getsentry/sentry-python/commit/92a369862cdef7f0ff38ae84c0145b38d21f5851
92a3698https://github.com/getsentry/sentry-python/commit/92a369862cdef7f0ff38ae84c0145b38d21f5851
feat: Add `last_event_id` to top-level apihttps://github.com/getsentry/sentry-python/commit/0d7a6f7f8a2eb662a5a9ddfb5576e62291ed569f
0d7a6f7https://github.com/getsentry/sentry-python/commit/0d7a6f7f8a2eb662a5a9ddfb5576e62291ed569f
szokeasaurusrexhttps://github.com/szokeasaurusrex
completedhttps://github.com/getsentry/sentry-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
92a3698https://github.com/getsentry/sentry-python/commit/92a369862cdef7f0ff38ae84c0145b38d21f5851
on May 15, 2024https://github.com/getsentry/sentry-python/issues/3049#event-12819824664
https://github.com/maltalk
maltalkhttps://github.com/maltalk
on May 16, 2024https://github.com/getsentry/sentry-python/issues/3049#issuecomment-2114205059
https://github.com/szokeasaurusrex
szokeasaurusrexhttps://github.com/szokeasaurusrex
on May 16, 2024https://github.com/getsentry/sentry-python/issues/3049#issuecomment-2115952507
@maltalkhttps://github.com/maltalk
mesemushttps://github.com/mesemus
on Jun 9, 2026https://github.com/getsentry/sentry-python/issues/3049#event-26543175840
fix: upgrade sentry-sdk from 1.* to 2.*https://github.com/oarepo/invenio-logging/commit/cbf5cec1cecd2b6695442038f9ad22f32b1b21dc
cbf5cechttps://github.com/oarepo/invenio-logging/commit/cbf5cec1cecd2b6695442038f9ad22f32b1b21dc
fix: upgrade sentry-sdk from 1.* to 2.*https://github.com/oarepo/invenio-logging/commit/d5f7764c4349095bc14020efed38772b710b2395
d5f7764https://github.com/oarepo/invenio-logging/commit/d5f7764c4349095bc14020efed38772b710b2395
fix: upgrade sentry-sdk from 1.* to 2.*https://github.com/oarepo/invenio-logging/commit/7000e84ed4c33527075a3140cd45288af9477ec4
7000e84https://github.com/oarepo/invenio-logging/commit/7000e84ed4c33527075a3140cd45288af9477ec4
slinthttps://github.com/slint
on Jun 10, 2026https://github.com/getsentry/sentry-python/issues/3049#event-26578091214
fix: upgrade sentry-sdk from 1.* to 2.*https://github.com/inveniosoftware/invenio-logging/commit/031eb9b4368c82e4ca98b24081a478de338b77c3
031eb9bhttps://github.com/inveniosoftware/invenio-logging/commit/031eb9b4368c82e4ca98b24081a478de338b77c3
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-python/issues/3049
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/3049
szokeasaurusrexhttps://github.com/szokeasaurusrex
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.