Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument Astro Server via Middleware #9444

Closed
4 tasks done
Tracked by #17
Lms24 opened this issue Nov 3, 2023 · 0 comments · Fixed by getsentry/sentry-docs#8581
Closed
4 tasks done
Tracked by #17

Instrument Astro Server via Middleware #9444

Lms24 opened this issue Nov 3, 2023 · 0 comments · Fixed by getsentry/sentry-docs#8581
Assignees
Labels
Package: astro Issues related to the Sentry Astro SDK Type: Improvement

Comments

@Lms24
Copy link
Member

Lms24 commented Nov 3, 2023

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 Brainstorm

We should expose our own middleware to create spans/txns for incoming pageload or endpoint requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: astro Issues related to the Sentry Astro SDK Type: Improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant