Add a trace to the export buffer
Optional_agentId: stringAdd multiple traces
Drain the buffer, returning the OTLP export request
Flush the buffer and export to OTLP endpoint
Get export history
Get the last OTLP request payload (for testing)
Get export stats
Shutdown: flush and stop timers
Start periodic flushing
Stop periodic flushing
Convert current buffer to OTLP JSON string
Get buffer size