Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest advice for usage in an Astro site deployed on Cloudflare? Documentation improvements for that setup? #15097

Discussion options

Hello!

I recently built a site with the following stack:

  • Astro, v5.1.1
    • primarily statically rendered (as in output: 'static' (default) in my astro config)
    • SSR by way of server islands components and actions
  • deployed on Cloudflare

I struggled to integrate Sentry, so I'm wondering: What's the latest recommend approach for using Sentry in Astro on Cloudflare? To identify if this is more an issue of me being a dummy or if I indeed ran into an integration issue

Or more to the point: is the approach documented in https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/astro/ specifically, recommending the sentryPagesPlugin approach, still current?

Based on what I was able to get working, it seems that, in astro's cloudflare integration, you don't have access to the underlying worker / onRequest middleware (I'm not sure this is the case, more wondering if the integration, at least under certain conditions, ignores any functions/_middleware.js file, as if I understand correctly, that integration outputs its own workers function under the hood), meaning:

So I'm wondering:

You must be logged in to vote

Replies: 0 comments

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

AltStyle によって変換されたページ (->オリジナル) /