diff --git a/milli/src/update/facet/bulk.rs b/milli/src/update/facet/bulk.rs index 8771cb6fe..888b1c4eb 100644 --- a/milli/src/update/facet/bulk.rs +++ b/milli/src/update/facet/bulk.rs @@ -66,7 +66,7 @@ impl<'i> FacetsUpdateBulk<'i> { } } - #[logging_timer::time("FacetsUpdateBulk::{}")] + #[tracing::instrument(level = "trace", skip_all, target = "indexing::facets::bulk")] pub fn execute(self, wtxn: &mut heed::RwTxn) -> Result<()> { let Self { index, field_ids, group_size, min_level_size, facet_type, delta_data } = self; diff --git a/milli/src/update/facet/incremental.rs b/milli/src/update/facet/incremental.rs index 722ccb1cb..a28aa5a47 100644 --- a/milli/src/update/facet/incremental.rs +++ b/milli/src/update/facet/incremental.rs @@ -63,7 +63,7 @@ impl FacetsUpdateIncremental { } } - #[logging_timer::time("FacetsUpdateIncremental::{}")] + #[tracing::instrument(level = "trace", skip_all, target = "indexing::facets::incremental")] pub fn execute(self, wtxn: &mut RwTxn) -> crate::Result<()> { let mut iter = self.delta_data.into_stream_merger_iter()?;