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
@emeroad thank you. but, is that agent doesn't support about coroutine scope . when i applied that sdk. it doesn't work what i want.
In DispatchInterceptor, traceContext.currentTraceObject(); is always null.
@Override
public void before(Object target, Object[] args) {
if (isDebug) {
logger.beforeInterceptor(target, args);
}
final Continuation continuation = getContinuation(args);
if (continuation == null) {
return;
}
if (isCompletedContinuation(continuation)) {
return;
}
if (!checkSupportCoroutinesName(continuation)) {
return;
}
final Trace trace = traceContext.currentTraceObject();
if (trace == null) {
return;
}
final SpanEventRecorder recorder = trace.traceBlockBegin();
final AsyncContextAccessor asyncContextAccessor = getAsyncContextAccessor(args);
if (asyncContextAccessor != null) {
// make asynchronous trace-id
final AsyncContext asyncContext = recorder.recordNextAsyncContext();
asyncContextAccessor._$PINPOINT$_setAsyncContext(asyncContext);
}
}
and it make cut off tracing between consumer thread with kotlin-coroutine context.
btw, i implemented simple thread safety code.
Prerequisites
What version of pinpoint are you using?
2.6.0-SNAPSHOT
Describe your problem**
Kafka Consuming - | trace failed | -> Kotlin Coroutine -> Webclient Request
What have you done?
Actually Result:
Expected Result:
Screenshots
Actually Result
Expected Result
The text was updated successfully, but these errors were encountered: