feat: add hotpath observability for S3 data paths (#5860)

This commit is contained in:
houseme
2026-08-09 16:36:58 +08:00
committed by GitHub
parent f72ad77aa4
commit 2c7d0fb2ce
5 changed files with 21 additions and 13 deletions
+1
View File
@@ -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?;