open-telemetry / opentelemetry-swift

OpenTelemetry API for Swift
https://opentelemetry.io/docs/instrumentation/swift/
Apache License 2.0
207 stars 124 forks source link

Opentelemetry Data persistency #505

Closed vitanie closed 7 months ago

vitanie commented 7 months ago

What happens if the OpenTelemetry collector cannot send data?Data loss happens,how to Data persistency?

bryce-b commented 7 months ago

Hi @vitanie, We have an exporter that handles data persistence : https://github.com/open-telemetry/opentelemetry-swift/tree/main/Sources/Exporters/Persistence

nachoBonafonte commented 7 months ago

OtlpHttpExporter also has some simple in-memory retries.