diff --git a/tvix/nar-bridge/src/nar.rs b/tvix/nar-bridge/src/nar.rs index 292be2b1c..f9b50fd6b 100644 --- a/tvix/nar-bridge/src/nar.rs +++ b/tvix/nar-bridge/src/nar.rs @@ -21,7 +21,7 @@ pub(crate) struct GetNARParams { nar_size: u64, } -#[instrument(skip(blob_service, directory_service))] +#[instrument(skip_all)] pub async fn get_head( method: axum::http::Method, ranges: Option>, @@ -145,7 +145,7 @@ pub async fn head_root_nodes( } } -#[instrument(skip(blob_service, directory_service, request))] +#[instrument(skip_all)] pub async fn put( axum::extract::Path(nar_str): axum::extract::Path, axum::extract::State(AppState { diff --git a/tvix/nar-bridge/src/narinfo.rs b/tvix/nar-bridge/src/narinfo.rs index 76fda1d49..7ad8adee0 100644 --- a/tvix/nar-bridge/src/narinfo.rs +++ b/tvix/nar-bridge/src/narinfo.rs @@ -15,7 +15,7 @@ use crate::AppState; /// The size limit for NARInfo uploads nar-bridge receives const NARINFO_LIMIT: usize = 2 * 1024 * 1024; -#[instrument(skip(path_info_service))] +#[instrument(skip_all, fields(path_info.name=%narinfo_str))] pub async fn head( axum::extract::Path(narinfo_str): axum::extract::Path, axum::extract::State(AppState { @@ -41,7 +41,7 @@ pub async fn head( } } -#[instrument(skip(path_info_service))] +#[instrument(skip_all, fields(path_info.name=%narinfo_str))] pub async fn get( axum::extract::Path(narinfo_str): axum::extract::Path, axum::extract::State(AppState { @@ -78,7 +78,7 @@ pub async fn get( )) } -#[instrument(skip(path_info_service, root_nodes, request))] +#[instrument(skip_all, fields(path_info.name=%narinfo_str))] pub async fn put( axum::extract::Path(narinfo_str): axum::extract::Path, axum::extract::State(AppState {