From 8e8471c273ac46f7af85d93867fb171c355064d9 Mon Sep 17 00:00:00 2001 From: Jack Berg Date: Tue, 16 Jul 2024 14:21:03 -0500 Subject: [PATCH] Add explicit option for SDK otlp exporter to disable retry --- specification/protocol/exporter.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/protocol/exporter.md b/specification/protocol/exporter.md index 22cf934c613..79333237b17 100644 --- a/specification/protocol/exporter.md +++ b/specification/protocol/exporter.md @@ -169,7 +169,12 @@ The `OTEL_EXPORTER_OTLP_HEADERS`, `OTEL_EXPORTER_OTLP_TRACES_HEADERS`, `OTEL_EXP ## Retry -Transient errors MUST be handled with a retry strategy. This retry strategy MUST implement an exponential back-off with jitter to avoid overwhelming the destination until the network is restored or the destination has recovered. +Transient errors MUST be handled with a retry strategy. This retry strategy MUST +implement an exponential back-off with jitter to avoid overwhelming the +destination until the network is restored or the destination has recovered. + +SDKs SHOULD provide a configuration option to disable the retry strategy. This +option MAY be named `disabled`, AND MUST be `false` by default. ### Transient errors