about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-22T17·14+0200
committerflokli <flokli@flokli.de>2024-11-23T09·40+0000
commit12d1dcbfcc0c87bbbde4752ff3c80a5426229bac (patch)
tree802bd5c5271a5bf22d0e92d0a2a62f91877449c4 /tvix
parent0b1068677e23e4153e979a6572c97fb19bd0632b (diff)
fix(tvix/castore): instrument blob uploads with current span r/8954
Change-Id: I67e18486c48f06787fad8be506e95eecc23e994d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12825
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Jonas Chevalier <zimbatm@zimbatm.com>
Diffstat (limited to 'tvix')
-rw-r--r--tvix/castore/src/import/blobs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/castore/src/import/blobs.rs b/tvix/castore/src/import/blobs.rs
index f71ee1e63768..5e5f4c122cb1 100644
--- a/tvix/castore/src/import/blobs.rs
+++ b/tvix/castore/src/import/blobs.rs
@@ -9,6 +9,7 @@ use tokio::{
     task::{JoinError, JoinSet},
 };
 use tokio_util::io::InspectReader;
+use tracing::{info_span, Instrument};
 
 use crate::{blobservice::BlobService, B3Digest, Path, PathBuf};
 
@@ -140,6 +141,7 @@ where
                     drop(permit);
                     Ok(())
                 }
+                .instrument(info_span!("upload_task"))
             });
 
             return Ok(digest);