Skip to content

Collector exporter retries and backoff #1233

@mwear

Description

@mwear

Is your feature request related to a problem? Please describe.

The collector exporter doesn't current retry sending spans. We should consider adding retry logic with a reasonable backoff strategy.

Describe the solution you'd like

The spec mentions that exporters are responsible for implementing retry strategies and that they will differ between protocols and tracing backends. The OTLP exporter for the collector implements retires using exponential backoff. See: https://github.com/open-telemetry/opentelemetry-collector/blob/1b6e88b9995f0559b0f25b4f7c9f2e95e92965bb/exporter/otlpexporter/exporter.go#L94-L98. It would be ideal if we could do something similar for OTel JS.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions