You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(astro): Ensure span name from beforeStartSpan isn't overwritten (#17500)
Fix a bug in our Astro SDK's `browserTracingIntegration`.
Previously, if users followed our docs how to set a custom span name for
the pageload span [via
`beforeStartSpan`](https://docs.sentry.io/platforms/javascript/guides/astro/tracing/instrumentation/automatic-instrumentation/#beforeStartSpan),
the name would get overwritten by our route parameterization logic. This
was because the route parametrization logic ran after the span was
already created and it would simply update the span name.
In this case though, we can already start the span with the
parameterized name instead of updating after it was started.
0 commit comments