commit
9bcd5677ed
|
@ -77,7 +77,7 @@ public class DDTracingCommandListener implements CommandListener {
|
||||||
try {
|
try {
|
||||||
decorate(span, event);
|
decorate(span, event);
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
log.warn("Couldn't decorate the mongo query: " + e.getMessage(), e);
|
log.debug("Couldn't decorate the mongo query: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return span;
|
return span;
|
||||||
|
|
|
@ -31,6 +31,7 @@ public class HTTPCodec implements Codec<TextMap> {
|
||||||
for (final Map.Entry<String, String> entry : context.baggageItems()) {
|
for (final Map.Entry<String, String> entry : context.baggageItems()) {
|
||||||
carrier.put(OT_BAGGAGE_PREFIX + entry.getKey(), encode(entry.getValue()));
|
carrier.put(OT_BAGGAGE_PREFIX + entry.getKey(), encode(entry.getValue()));
|
||||||
}
|
}
|
||||||
|
log.debug("{} - Parent context injected", context.getTraceId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -61,7 +62,7 @@ public class HTTPCodec implements Codec<TextMap> {
|
||||||
context = new ExtractedContext(traceId, spanId, samplingPriority, baggage);
|
context = new ExtractedContext(traceId, spanId, samplingPriority, baggage);
|
||||||
context.lockSamplingPriority();
|
context.lockSamplingPriority();
|
||||||
|
|
||||||
log.debug("{} - Parent context extracted", context);
|
log.debug("{} - Parent context extracted", context.getTraceId());
|
||||||
}
|
}
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
|
|
Loading…
Reference in New Issue