getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
323 stars 1.38k forks source link

Unclear which config file user feedback integration should be added to for Astro projects #10442

Open whitep4nth3r opened 2 weeks ago

whitep4nth3r commented 2 weeks ago

Core or SDK?

Platform/SDK

Which part? Which one?

Astro SDK

Description

I want to set up User Feedback for my Astro project.

I had some issues with the SDK setup due to docs/product onboarding not being clear about which one of the three config files I needed to add integrations and configurations to.

On the User Feedback docs with Astro selected it's not clear whether the integration should be added to the astro.config.mjs file or the sentry.client.config.js or whether it matters (I'm sure it does matter, as I have encountered issues with adding wrong configurations to wrong files in the past).

Suggested Solution

Please add the file name to the code snippets.

Also adding some text (perhaps in a callout/highlighted section) to reiterate the importance of putting the configurations and integrations in the correct files.

getsantry[bot] commented 2 weeks ago

Assigning to @getsentry/support for routing ⏲️