google-cloud-cpp
google-cloud-cpp copied to clipboard
Asynchronous trace export
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.
Need to investigate how OTel handles threading.
We don't need this.