Integration
sentry
Java Version
any
Version
8.27.1
Steps to Reproduce
|
@SentryTransaction(operation = "scheduled") |
creates a transaction.
|
TracingUtils.startNewTrace(scopes); |
starts a new trace.
Use our Spring Boot 4 sample to verify.
Expected Result
PropagationContext trace ID matches the transactions trace ID.
Actual Result
PropagationContext trace ID differs from the transactions trace ID.
This might not have any effect in practice because we should be using the span/transaction when retrieving the trace ID.
Integration
sentry
Java Version
any
Version
8.27.1
Steps to Reproduce
sentry-java/sentry-samples/sentry-samples-spring-boot-4/src/main/java/io/sentry/samples/spring/boot4/CustomJob.java
Line 14 in 3699cd5
sentry-java/sentry-spring-7/src/main/java/io/sentry/spring7/checkin/SentryCheckInAdvice.java
Line 91 in 4c4fed9
Use our Spring Boot 4 sample to verify.
Expected Result
PropagationContexttrace ID matches the transactions trace ID.Actual Result
PropagationContexttrace ID differs from the transactions trace ID.This might not have any effect in practice because we should be using the span/transaction when retrieving the trace ID.