Expand description
Background batch upload thread: buffers samples, serializes as CSV, gzip-compresses, and uploads to S3 every 60 seconds (configurable).
Structs§
Constants§
Functions§
- gzip_
compress - Gzip-compress
datausing the default compression level. - samples_
to_ csv - Serialize a slice of samples as a complete CSV string (header + rows).
Type Aliases§
- Sample
Buffer - Shared sample buffer: main thread pushes, upload thread drains.