mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 23:26:53 +00:00
feat: add hotpath observability for S3 data paths (#5860)
This commit is contained in:
@@ -894,6 +894,7 @@ impl GetObjectReader {
|
||||
.await?
|
||||
.into_reader(reader, oi)
|
||||
}
|
||||
#[hotpath::measure(impl_type = "GetObjectReader")]
|
||||
pub async fn read_all(&mut self) -> Result<Vec<u8>> {
|
||||
let mut data = Vec::new();
|
||||
self.stream.read_to_end(&mut data).await?;
|
||||
|
||||
Reference in New Issue
Block a user