getsentry / sentry-docs

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

Suggestion: show default values for integrations parameters #10088

Open ldorigo opened 1 month ago

ldorigo commented 1 month ago

Problem Statement

The documentation for integrations (I'm looking at next.js but I assume others too) describes the parameters, but doesn't say what the default values are. It would be helpful to know that information

Solution Brainstorm

Show the default value next to the parameter name :-)

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️

AbhiPrasad commented 2 weeks ago

The integration docs now have been revamped to display a table if they are auto-enabled (so part of the default integrations): https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/

lforst commented 1 week ago

@ldorigo can you confirm that your request is about showing the default values for the options of specific integrations? For example here https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/extraerrordata/, where we don't do it, and here https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/requestdata/, where we do it?