Skip to content

Instrument Astro Server via Middleware #9444

Description

@Lms24

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.

### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/pull/9445
- [ ] https://github.com/getsentry/sentry-javascript/pull/9483
- [ ] https://github.com/getsentry/sentry-javascript/pull/9532
- [ ] https://github.com/getsentry/sentry-docs/pull/8581

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions