google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

Asynchronous trace export

Open dbolduc opened this issue 1 year ago • 1 comments

It would be ideal if the trace exporter does not block the applications.

We would need to generate an async API for trace_v2::TraceClient::AsyncBatchWriteSpans

We would need to hold the futures internally in the exporter. Then we override TraceExporter::ForceFlush() to cancel the futures after the allotted timeout.

dbolduc avatar Feb 09 '24 19:02 dbolduc

Need to investigate how OTel handles threading.

scotthart avatar Aug 21 '24 19:08 scotthart

We don't need this.

dbolduc avatar Mar 19 '25 21:03 dbolduc