Title: Attachments in @sentry/node@7.2.0 do not appear in Saas UI · Issue #5294 · getsentry/sentry-javascript · GitHub
Open Graph Title: Attachments in @sentry/node@7.2.0 do not appear in Saas UI · Issue #5294 · getsentry/sentry-javascript
X Title: Attachments in @sentry/node@7.2.0 do not appear in Saas UI · Issue #5294 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5294
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Attachments in @sentry/node@7.2.0 do not appear in Saas UI","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which package are you using?\r\n\r\n@sentry/node\r\n\r\n### SDK Version\r\n\r\n7.2.0\r\n\r\n### Framework Version\r\n\r\n7.2.0\r\n\r\n### Link to Sentry event\r\n\r\nhttps://sentry.io/organizations/num42/issues/3370243729/?project=6504869&query=is%3Aunresolved\r\n\r\n### Steps to Reproduce\r\n\r\nThis is a continuation of #4371 and an attempt to provide reproduction steps.\r\n\r\n1. I followed the steps that @AbhiPrasad outlined in their comment https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1156799237\r\n2. ensure node@16 is installed\r\n3. In a new directory create a file test.mjs containing:\r\n```js\r\nimport * as Sentry from '@sentry/node';\r\n\r\nasync function run() {\r\n Sentry.init({\r\n debug: true,\r\n dsn: process.env.SENTRY_DSN,\r\n });\r\n \r\n Sentry.configureScope(scope => {\r\n scope.addAttachment({ filename: \"attachment.txt\", data: \"some context\" })\r\n });\r\n \r\n Sentry.captureException(new Error('should have attachments'));\r\n \r\n await Sentry.flush(2000);\r\n}\r\n\r\nrun();\r\n```\r\n5. install @sentry/node@7.2.0 `npm install -D @sentry/node@7.2.0`\r\n6. export sentry dsn: `export SENTRY_DSN=\u003cYOUR_SENTRY_DSN>`\r\n7. run: `SENTRY_DSN=$SENTRY_DSN node test.mjs`\r\n\r\nthis zip contains a Dockerfile which reproduces the above steps\r\n[sentry-test-node-attachments.zip](https://github.com/getsentry/sentry-javascript/files/8959569/sentry-test-node-attachments.zip)\r\n\r\nReproduction repository with instructions\r\nhttps://github.com/aspala/sentry-test-node-attachments\r\n\r\n\r\n\r\n### Expected Result\r\n\r\nI would expect attachments to show up in my SaaS user interface.\r\n\u003cimg width=\"924\" alt=\"CleanShot 2022-06-22 at 18 26 29@2x\" src=\"https://user-images.githubusercontent.com/2420034/175085772-be28ddca-6df1-41b8-95ef-88a2d0197880.png\">\r\n\r\n### Actual Result\r\n\r\nNo attachments are shown in UI.\r\n\r\n\u003cimg width=\"763\" alt=\"CleanShot 2022-06-22 at 18 22 27@2x\" src=\"https://user-images.githubusercontent.com/2420034/175084207-d9dcca30-4c5a-4703-b91b-d82ed118b6c4.png\">\r\n\r\n---\r\nThe Attachments-point (section [ENRICHING EVENTS](https://docs.sentry.io/platforms/javascript/enriching-events/) is missing in the documentation for https://docs.sentry.io/platforms/node/, whereas it is present in https://docs.sentry.io/platforms/javascript/.\r\nThat lead me to believe that the attachments feature is not available in @sentry/node\r\n\r\n--\r\nIs there a special account-tier needed in order to use attachments? \r\n\r\n","author":{"url":"https://github.com/aspala","@type":"Person","name":"aspala"},"datePublished":"2022-06-22T16:28:32Z","url":"https://github.com/getsentry/sentry-javascript/issues/5294"}
| 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:f649aac8-0b8a-787c-abb4-e7ce468de2a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E19A:73F1E:F2D2C1:15587DC:6B04482B |
| html-safe-nonce | 7167a5b82a95aab8245c437f15d3a40395a4ede9860c88ad10debc5923a7118b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTlBOjczRjFFOkYyRDJDMToxNTU4N0RDOjZCMDQ0ODJCIiwidmlzaXRvcl9pZCI6IjUxNDM4ODkxNzQ2NTA0Mzk3MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbd155a7f734be12359c53388aadbb3e83877fc616a2f8c0310ceedafd6a2dfc |
| hovercard-subject-tag | issue:1280488391 |
| 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/5294/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8d240fcbb736fd50db9d7343cc6c8a587d9b8437bf27f31a098e89f260397c0/getsentry/sentry-javascript/issues/5294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8d240fcbb736fd50db9d7343cc6c8a587d9b8437bf27f31a098e89f260397c0/getsentry/sentry-javascript/issues/5294 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aspala |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| 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 | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| 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