Open AbhiPrasad opened 1 year ago
@AbhiPrasad What exactly needs to be done here? I would like to do this for Next.js but don't fully understand the task.
Right now we only inject meta tags if there is a sampled transaction/span. It would be great if we can remove this condition and inject meta tags based on the propagation context.
Same conditional logic like we have for undici: https://github.com/getsentry/sentry-javascript/blob/530f786219864cd5d58a0dafa507333a28d21720/packages/node/src/integrations/undici/index.ts#L175-L185
Got it. Thanks!
@AbhiPrasad I wonder if this will screw with the trace view in replays a lot. This would essentially cause browser sessions of multiple different users to be grouped together under one server process 🤔 Maybe this is not what we want at all...
Extracted from https://github.com/getsentry/sentry-javascript/issues/8352 as standalone task. Make sure tracing without performance works for injecting meta tags.
We should gate this with a new boolean option.