Title: Add cloud resource context · Issue #1820 · getsentry/sentry-python · GitHub
Open Graph Title: Add cloud resource context · Issue #1820 · getsentry/sentry-python
X Title: Add cloud resource context · Issue #1820 · getsentry/sentry-python
Description: Problem Statement When a user gets an error or transacation (performance event) in Sentry they may not know the specific of where that particular service is hosted. Where possible it would be great to know some contextual information abo...
Open Graph Description: Problem Statement When a user gets an error or transacation (performance event) in Sentry they may not know the specific of where that particular service is hosted. Where possible it would be great...
X Description: Problem Statement When a user gets an error or transacation (performance event) in Sentry they may not know the specific of where that particular service is hosted. Where possible it would be great...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/1820
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add cloud resource context","articleBody":"### Problem Statement\r\n\r\nWhen a user gets an error or transacation (performance event) in Sentry they may not know the specific of where that particular service is hosted. Where possible it would be great to know some contextual information about where that service is hosted to speed up problem solving and eventually deploying a fix\r\n\r\n\r\nexample data\r\n```\r\ncloud:\r\n provider: aws|gcp|azure\r\n region: ...\r\n [account|project]_id: ...\r\n service: ec2, cloud-functions, ...\r\n resource: \u003cARN>\r\n```\r\n\r\n### Solution Brainstorm\r\n\r\nAdd this data using the [Contexts Interface](https://develop.sentry.dev/sdk/event-payloads/contexts/) of the event payload\r\n\r\n- [x] Define a standard set of contextual data: \r\n - example above\r\n- [ ] determine how to fetch that data from top hosting platforms\r\n - [x] AWS\n - [x] GCP\n - [ ] Azure\r\n - [ ] Vercel\r\n - [ ] Netlify\r\n - [ ] others?\r\n- [ ] Python SDK should check for this context and populate it in the event when possible\r\n - [ ] relay changes needed prior to\r\n\r\n\r\nFuture considerations:\r\n- contexts should be searchable in product, changes will be needed in sentry backend so this data can be used to filter issues","author":{"url":"https://github.com/smeubank","@type":"Person","name":"smeubank"},"datePublished":"2023-01-04T16:50:12Z","url":"https://github.com/getsentry/sentry-python/issues/1820"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dae20cc2-d701-585c-44ce-af2352ffd995 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84D8:1CFF11:E1E9D:134F14:6B049011 |
| html-safe-nonce | 5d4104d8885184e10b3262ed6c9786a19a7d73e44e9b7c2a73390c01f636224d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEQ4OjFDRkYxMTpFMUU5RDoxMzRGMTQ6NkIwNDkwMTEiLCJ2aXNpdG9yX2lkIjoiNjY4NDcwNzY3NDE4MzIwODk3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d39627de45eeed4d56f01b6ccb361ebeed2d2c47ea9c46e05cc2db641b6a520d |
| hovercard-subject-tag | issue:1519288682 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/1820/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a66048bd621e4102aca30d11c3689397eb4ef6e6a9f46b6ba0ee4064e169e14/getsentry/sentry-python/issues/1820 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a66048bd621e4102aca30d11c3689397eb4ef6e6a9f46b6ba0ee4064e169e14/getsentry/sentry-python/issues/1820 |
| og:image:alt | Problem Statement When a user gets an error or transacation (performance event) in Sentry they may not know the specific of where that particular service is hosted. Where possible it would be great... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smeubank |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b51ce57ca6d4565a42856fc1c9897077c794597f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width