mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-09 04:46:06 +10:00
+6
-1
@@ -79,7 +79,7 @@ public interface TraceContext {
|
||||
|
||||
boolean cacheSql(ParsingResult parsingResult);
|
||||
|
||||
TraceId createTraceId(String transactionId, long parentSpanID, long spanID, short flags);
|
||||
TraceId createTraceId(String transactionId, long parentSpanId, long spanId, short flags);
|
||||
|
||||
Trace disableSampling();
|
||||
|
||||
@@ -87,6 +87,11 @@ public interface TraceContext {
|
||||
|
||||
ServerMetaDataHolder getServerMetaDataHolder();
|
||||
|
||||
/**
|
||||
* internal api
|
||||
* @deprecated Since 1.7.0
|
||||
*/
|
||||
@Deprecated
|
||||
int getAsyncId();
|
||||
|
||||
JdbcContext getJdbcContext();
|
||||
|
||||
-1
@@ -159,7 +159,6 @@ public class ApiInterceptor implements AroundInterceptor {
|
||||
try {
|
||||
if (isAsynchronousInvocation(target, args, result, throwable)) {
|
||||
// set asynchronous trace
|
||||
this.traceContext.getAsyncId();
|
||||
final AsyncTraceId asyncTraceId = trace.getAsyncTraceId();
|
||||
recorder.recordNextAsyncId(asyncTraceId.getAsyncId());
|
||||
// type check isAsynchronousInvocation
|
||||
|
||||
Reference in New Issue
Block a user