@ -699,6 +699,10 @@ public class ConnectContext {
|
||||
}
|
||||
}
|
||||
|
||||
public void setTraceId(String traceId) {
|
||||
this.traceId = traceId;
|
||||
}
|
||||
|
||||
public String traceId() {
|
||||
return traceId;
|
||||
}
|
||||
|
||||
@ -63,6 +63,10 @@ public class VariableVarCallbacks {
|
||||
if (innerParts.length != 2) {
|
||||
continue;
|
||||
}
|
||||
if (innerParts[0].equals("trace_id")) {
|
||||
ConnectContext.get().setTraceId(innerParts[1]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user