Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node - fastify
SDK Version
9.40.0
Framework Version
Fastify 5.4.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
const app = fastify();
setupFastifyErrorHandler(app);
app.get('/test-trace', (request, reply) => {
reply.send(`${getCurrentScope().getPropagationContext().traceId}`);
});
const address = await app.listen({
host: '::',
port: options.port,
});
Steps to Reproduce
- Request /test-trace
Expected Result
Expecting to get a different trace ID for every rquest.
Actual Result
$ curl http://127.0.0.1:7410/test-trace
e4dbd740816d4cc98be4d8b901581dff% $ curl http://127.0.0.1:7410/test-trace
e4dbd740816d4cc98be4d8b901581dff%
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node - fastify
SDK Version
9.40.0
Framework Version
Fastify 5.4.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
Expected Result
Expecting to get a different trace ID for every rquest.
Actual Result