We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b92f0a + 2a595d7 commit e67e88bCopy full SHA for e67e88b
scouter.agent.java/src/main/java/scouter/xtra/reactive/ReactiveSupportWithCoroutine.java
@@ -90,12 +90,7 @@ public Context apply(Context context) {
90
};
91
92
monoChain = (Mono<?>) subscriberContextMethod.invoke(mono, func);
93
- return monoChain.subscriberContext(new Function<Context, Context>() {
94
- @Override
95
- public Context apply(Context context) {
96
- return context.put(TraceContext.class, traceContext);
97
- }
98
- }).doOnSuccess(new Consumer<Object>() {
+ return monoChain.doOnSuccess(new Consumer<Object>() {
99
@Override
100
public void accept(Object o) {
101
TraceMain.endHttpService(new TraceMain.Stat(traceContext), null);
0 commit comments