-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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%Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner