Skip to content

Commit 955e382

Browse files
author
Cecile Terpin
committed
improve comments
1 parent ea65fd8 commit 955e382

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dd-trace-core/src/main/java/datadog/trace/core/traceinterceptor/LatencyTraceInterceptor.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
// This value should be in milliseconds and this interceptor will retain any local trace who has a
1515
// root
1616
// span duration greater than this value.
17-
// The activation of this interceptor is ignored if partial flush is enabled.
17+
// The activation of this interceptor is ignored if partial flush is enabled in order to avoid
18+
// incomplete local trace (incomplete chunk of trace).
1819
// Note that since we're changing the sampling priority at the end of local trace, there is no
1920
// guarantee to get complete traces,
20-
// since the original sampling priority for this trace may have been already propagated.
21+
// since the original sampling priority for this trace may have already been propagated.
2122

2223
public class LatencyTraceInterceptor extends AbstractTraceInterceptor {
2324
private static final Logger log = LoggerFactory.getLogger(LatencyTraceInterceptor.class);

0 commit comments

Comments
 (0)