Open
Description
Description
otlptracegrpc
states that the timeout takes precedence over retry setting, once this time limit has been reached the export is abandoned and the batch of spans is dropped.
opentelemetry-go/exporters/otlp/otlptrace/otlptracegrpc/options.go
Lines 185 to 191 in a85ae98
But otlptracehttp
uses a different approach where the retry is over the WithTimeout
.
The resp, err := d.client.Do(request.Request)
runs inside the d.requestFunc
, which means the timeout of the client won't abandon the retry.
Expected behavior
The retry mechanism should be identical across exporters.
Related: #6588
Related spec topic: it is unclear to me how the timeout of the exporter works with retry: open-telemetry/opentelemetry-specification#4138