@@ -176,8 +176,8 @@ public static String getHostName() {
176
176
private final boolean scopeStrictMode ;
177
177
private final int scopeIterationKeepAlive ;
178
178
private final int partialFlushMinSpans ;
179
- private final int traceLatencyInterceptorValue ;
180
- private final boolean traceLatencyInterceptorEnabled ;
179
+ private final int traceKeepLatencyThreshold ;
180
+ private final boolean traceKeepLatencyThresholdEnabled ;
181
181
private final boolean traceStrictWritesEnabled ;
182
182
private final boolean logExtractHeaderNames ;
183
183
private final Set <PropagationStyle > propagationStylesToExtract ;
@@ -862,11 +862,11 @@ private Config(final ConfigProvider configProvider, final InstrumenterConfig ins
862
862
? 0
863
863
: configProvider .getInteger (PARTIAL_FLUSH_MIN_SPANS , DEFAULT_PARTIAL_FLUSH_MIN_SPANS );
864
864
865
- traceLatencyInterceptorValue =
865
+ traceKeepLatencyThreshold =
866
866
configProvider .getInteger (
867
- TRACE_LATENCY_INTERCEPTOR_VALUE , DEFAULT_TRACE_LATENCY_INTERCEPTOR_VALUE );
867
+ TRACE_KEEP_LATENCY_THRESHOLD_MS , DEFAULT_TRACE_KEEP_LATENCY_THRESHOLD_MS );
868
868
869
- traceLatencyInterceptorEnabled = !partialFlushEnabled && (traceLatencyInterceptorValue >= 0 );
869
+ traceKeepLatencyThresholdEnabled = !partialFlushEnabled && (traceKeepLatencyThreshold > 0 );
870
870
871
871
traceStrictWritesEnabled = configProvider .getBoolean (TRACE_STRICT_WRITES_ENABLED , false );
872
872
@@ -2083,12 +2083,12 @@ public int getPartialFlushMinSpans() {
2083
2083
return partialFlushMinSpans ;
2084
2084
}
2085
2085
2086
- public int getTraceLatencyInterceptorValue () {
2087
- return traceLatencyInterceptorValue ;
2086
+ public int getTraceKeepLatencyThreshold () {
2087
+ return traceKeepLatencyThreshold ;
2088
2088
}
2089
2089
2090
- public boolean isTraceLatencyInterceptorEnabled () {
2091
- return traceLatencyInterceptorEnabled ;
2090
+ public boolean isTraceKeepLatencyThresholdEnabled () {
2091
+ return traceKeepLatencyThresholdEnabled ;
2092
2092
}
2093
2093
2094
2094
public boolean isTraceStrictWritesEnabled () {
@@ -4174,10 +4174,10 @@ public String toString() {
4174
4174
+ scopeIterationKeepAlive
4175
4175
+ ", partialFlushMinSpans="
4176
4176
+ partialFlushMinSpans
4177
- + ", traceLatencyInterceptorEnabled ="
4178
- + traceLatencyInterceptorEnabled
4179
- + ", traceLatencyInterceptorValue ="
4180
- + traceLatencyInterceptorValue
4177
+ + ", traceKeepLatencyThresholdEnabled ="
4178
+ + traceKeepLatencyThresholdEnabled
4179
+ + ", traceKeepLatencyThreshold ="
4180
+ + traceKeepLatencyThreshold
4181
4181
+ ", traceStrictWritesEnabled="
4182
4182
+ traceStrictWritesEnabled
4183
4183
+ ", tracePropagationStylesToExtract="
0 commit comments