Title: Instrument Astro Server via Middleware · Issue #9444 · getsentry/sentry-javascript · GitHub
Open Graph Title: Instrument Astro Server via Middleware · Issue #9444 · getsentry/sentry-javascript
X Title: Instrument Astro Server via Middleware · Issue #9444 · getsentry/sentry-javascript
Description: Problem Statement Astro allows to add middleware to the server-side if the app is configured for SSR (or in a hybrid config) and an adapter (e.g. Node, vercel, etc) is used or if it's in SSG mode and static paths are supplied. Solution B...
Open Graph Description: Problem Statement Astro allows to add middleware to the server-side if the app is configured for SSR (or in a hybrid config) and an adapter (e.g. Node, vercel, etc) is used or if it's in SSG mode a...
X Description: Problem Statement Astro allows to add middleware to the server-side if the app is configured for SSR (or in a hybrid config) and an adapter (e.g. Node, vercel, etc) is used or if it's in SSG mo...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9444
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Instrument Astro Server via Middleware","articleBody":"### Problem Statement\r\n\r\nAstro allows to add [middleware](https://docs.astro.build/en/guides/middleware/) to the server-side if the app is configured for SSR (or in a hybrid config) and an adapter (e.g. Node, vercel, etc) is used or if it's in SSG mode and static paths are supplied.\r\n\r\n\r\n### Solution Brainstorm\r\n\r\nWe should expose our own middleware to create spans/txns for incoming pageload or endpoint requests. \r\n\r\n```[tasklist]\r\n### Tasks\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9445\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9483\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9532\r\n- [ ] https://github.com/getsentry/sentry-docs/pull/8581\r\n```","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2023-11-03T11:13:57Z","url":"https://github.com/getsentry/sentry-javascript/issues/9444"}
| 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:829e25c1-a0a0-1b2c-7b04-2277f6251f7b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBC0:34DD9:C02E50:10E6333:6B043965 |
| html-safe-nonce | 1285b3b1878878485b492fa438cc7add574fff6c656633d9a0097fb0c2a6b8d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkMwOjM0REQ5OkMwMkU1MDoxMEU2MzMzOjZCMDQzOTY1IiwidmlzaXRvcl9pZCI6IjM5Mzk2MDAwNzE2MzY4MjY0NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8384ef8f5f485a2e331a33834cffcf198a3c0536743697b344eb6e260086ed71 |
| hovercard-subject-tag | issue:1975958396 |
| 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/9444/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7ce9a52a53ee8eaaa91626524d50ca653388a2c70e6ebc6c627659e6d770fd22/getsentry/sentry-javascript/issues/9444 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7ce9a52a53ee8eaaa91626524d50ca653388a2c70e6ebc6c627659e6d770fd22/getsentry/sentry-javascript/issues/9444 |
| og:image:alt | Problem Statement Astro allows to add middleware to the server-side if the app is configured for SSR (or in a hybrid config) and an adapter (e.g. Node, vercel, etc) is used or if it's in SSG mode a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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