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
After started a apm transaction, apm.TransactionFromContext(ctx).Sampled() and Otel's trace.SpanFromContext(ctx).IsRecording() returns different result.
the later is always false.
wzy9607
changed the title
apmotel: native transaction are always not recording when obtained from Otel's trace.SpanFromContext
apmotel: native transaction are always considered non-recording when obtained from Otel's trace.SpanFromContextJun 28, 2023
wzy9607
changed the title
apmotel: native transaction are always considered non-recording when obtained from Otel's trace.SpanFromContext
apmotel: native transaction are always considered non-recording when retrieved from Otel's trace.SpanFromContextJun 28, 2023
Describe the bug
After started a apm transaction,
apm.TransactionFromContext(ctx).Sampled()
and Otel'strace.SpanFromContext(ctx).IsRecording()
returns different result.the later is always
false
.To Reproduce
Expected behavior
Expect the assert to not fail.
The text was updated successfully, but these errors were encountered: