Title: Include more information in `event.contexts` for Node.js · Issue #5500 · getsentry/sentry-javascript · GitHub
Open Graph Title: Include more information in `event.contexts` for Node.js · Issue #5500 · getsentry/sentry-javascript
X Title: Include more information in `event.contexts` for Node.js · Issue #5500 · getsentry/sentry-javascript
Description: Problem Statement The event contexts.device payload has many properties that are easily accessible from the os module. Since bundle size is less of a concern in Node, we should probably be including these as a default included integratio...
Open Graph Description: Problem Statement The event contexts.device payload has many properties that are easily accessible from the os module. Since bundle size is less of a concern in Node, we should probably be includin...
X Description: Problem Statement The event contexts.device payload has many properties that are easily accessible from the os module. Since bundle size is less of a concern in Node, we should probably be includin...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5500
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Include more information in `event.contexts` for Node.js","articleBody":"### Problem Statement\r\n\r\nThe event [`contexts.device` payload](https://develop.sentry.dev/sdk/event-payloads/contexts/#device-context) has many properties that are easily accessible from the `os` module.\r\n\r\nSince bundle size is less of a concern in Node, we should probably be including these as a default included integration.\r\n\r\n### Solution Brainstorm\r\n\r\nMany of these are already added to the Electron SDK so they can be moved to Node.js and removed from Electron!\r\n\r\n### `device`\r\n- `boot_time`\r\n- `arch`\r\n- `memory_size`\r\n- `free_memory`\r\n- `processor_count` - I initially opened a [separate issue](https://github.com/getsentry/sentry-javascript/issues/5499) for this since it can also be added to the browser.\r\n- `cpu_description`\r\n- `processor_frequency`\r\n\r\n### `os`\r\n- `version`\r\n- `build`\r\n- `kernel_version`\r\n\r\n### `app`\r\n- `app_start_time`\r\n- `memory_used` (https://github.com/getsentry/develop/pull/658)\r\n\r\n### `culture`\r\n- `locale`\r\n- `timezone`","author":{"url":"https://github.com/timfish","@type":"Person","name":"timfish"},"datePublished":"2022-07-30T14:03:25Z","url":"https://github.com/getsentry/sentry-javascript/issues/5500"}
| 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:9a5022a7-bb99-3058-bad3-6f552059df68 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9794:25E63A:1C31EB:272CA7:6B0466E1 |
| html-safe-nonce | 8722a17c51c9b01e66fc3cb950f18c5262c22ae98063342de3ba758881c8d5a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzk0OjI1RTYzQToxQzMxRUI6MjcyQ0E3OjZCMDQ2NkUxIiwidmlzaXRvcl9pZCI6IjQ5MDc4ODI3NTc1NDk3NDU4ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0b329e9fc8d5aaa6b91056eee906c1eb2e552c64ee370476b726efa48a9304cc |
| hovercard-subject-tag | issue:1323089122 |
| 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-javascript/5500/issue_layout |
| twitter:image | https://opengraph.githubassets.com/984babaf3803073c46c4ed9e682f2715afacdc4670391b689126483297f09669/getsentry/sentry-javascript/issues/5500 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/984babaf3803073c46c4ed9e682f2715afacdc4670391b689126483297f09669/getsentry/sentry-javascript/issues/5500 |
| og:image:alt | Problem Statement The event contexts.device payload has many properties that are easily accessible from the os module. Since bundle size is less of a concern in Node, we should probably be includin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timfish |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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