Description
otap-dataflow needs to report Geneva upload byte metrics using the actual post-compression payload size.
Today geneva-uploader::EncodedBatch does not expose a public accessor for the compressed payload length, so downstream exporters cannot record accurate
uploaded-byte metrics without relying on internals.
Request: add a public accessor, for example:
impl EncodedBatch {
pub fn compressed_len(&self) -> usize
}
The value should be the post-compression byte count actually uploaded to Geneva.
Description
otap-dataflowneeds to report Geneva upload byte metrics using the actual post-compression payload size.Today
geneva-uploader::EncodedBatchdoes not expose a public accessor for the compressed payload length, so downstream exporters cannot record accurateuploaded-byte metrics without relying on internals.
Request: add a public accessor, for example:
The value should be the post-compression byte count actually uploaded to Geneva.