@@ -301,14 +301,14 @@ impl<'a> DistributableToolchain<'a> {
301
301
}
302
302
}
303
303
304
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( skip_all) ) ]
304
+ #[ tracing :: instrument ( level = "trace " , skip_all) ]
305
305
pub ( crate ) fn get_manifestation ( & self ) -> anyhow:: Result < Manifestation > {
306
306
let prefix = InstallPrefix :: from ( self . toolchain . path ( ) ) ;
307
307
Manifestation :: open ( prefix, self . desc . target . clone ( ) )
308
308
}
309
309
310
310
/// Get the manifest associated with this distribution
311
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( skip_all) ) ]
311
+ #[ tracing :: instrument ( level = "trace " , skip_all) ]
312
312
pub ( crate ) fn get_manifest ( & self ) -> anyhow:: Result < Manifest > {
313
313
self . get_manifestation ( ) ?
314
314
. load_manifest ( )
@@ -324,7 +324,7 @@ impl<'a> DistributableToolchain<'a> {
324
324
InstallPrefix :: from ( self . toolchain . path ( ) . to_owned ( ) ) . guess_v1_manifest ( )
325
325
}
326
326
327
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( err, skip_all) ) ]
327
+ #[ tracing :: instrument ( level = "trace " , err, skip_all) ]
328
328
pub ( crate ) async fn install (
329
329
cfg : & ' a Cfg < ' a > ,
330
330
toolchain : & ToolchainDesc ,
@@ -354,7 +354,7 @@ impl<'a> DistributableToolchain<'a> {
354
354
Ok ( ( status, Self :: new ( cfg, toolchain. clone ( ) ) ?) )
355
355
}
356
356
357
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( err, skip_all) ) ]
357
+ #[ tracing :: instrument ( level = "trace " , err, skip_all) ]
358
358
pub async fn install_if_not_installed (
359
359
cfg : & ' a Cfg < ' a > ,
360
360
desc : & ToolchainDesc ,
@@ -372,7 +372,7 @@ impl<'a> DistributableToolchain<'a> {
372
372
}
373
373
}
374
374
375
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( err, skip_all) ) ]
375
+ #[ tracing :: instrument ( level = "trace " , err, skip_all) ]
376
376
pub ( crate ) async fn update (
377
377
& mut self ,
378
378
components : & [ & str ] ,
@@ -384,7 +384,7 @@ impl<'a> DistributableToolchain<'a> {
384
384
}
385
385
386
386
/// Update a toolchain with control over the channel behaviour
387
- #[ cfg_attr ( feature = "otel " , tracing :: instrument ( err, skip_all) ) ]
387
+ #[ tracing :: instrument ( level = "trace " , err, skip_all) ]
388
388
pub ( crate ) async fn update_extra (
389
389
& mut self ,
390
390
components : & [ & str ] ,
0 commit comments