Remove support for otel.experimental.exporter.otlp.retry.enabled (#7200)
This commit is contained in:
parent
0673fcfda5
commit
490173b0da
|
@ -134,13 +134,6 @@ public final class OtlpConfigUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
Boolean retryDisabled = config.getBoolean("otel.java.exporter.otlp.retry.disabled");
|
Boolean retryDisabled = config.getBoolean("otel.java.exporter.otlp.retry.disabled");
|
||||||
if (retryDisabled == null) {
|
|
||||||
Boolean experimentalRetryEnabled =
|
|
||||||
config.getBoolean("otel.experimental.exporter.otlp.retry.enabled");
|
|
||||||
if (experimentalRetryEnabled != null) {
|
|
||||||
retryDisabled = !experimentalRetryEnabled;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (retryDisabled != null && retryDisabled) {
|
if (retryDisabled != null && retryDisabled) {
|
||||||
setRetryPolicy.accept(null);
|
setRetryPolicy.accept(null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue