diff --git a/bin/network-monitor/src/counter.rs b/bin/network-monitor/src/counter.rs index b3cd8f94d..09d14527d 100644 --- a/bin/network-monitor/src/counter.rs +++ b/bin/network-monitor/src/counter.rs @@ -208,15 +208,6 @@ async fn setup_increment_task( /// # Returns /// /// This function runs indefinitely, only returning on error. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.counter.run_increment_task", - skip_all, - level = "info", - ret(level = "debug"), - err -)] pub async fn run_increment_task( config: MonitorConfig, tx: watch::Sender, @@ -376,15 +367,6 @@ fn send_status(tx: &watch::Sender, status: ServiceStatus) -> Resu /// # Returns /// /// This function runs indefinitely, only returning on error. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.counter.run_counter_tracking_task", - skip_all, - level = "info", - ret(level = "debug"), - err -)] pub async fn run_counter_tracking_task( config: MonitorConfig, tx: watch::Sender, diff --git a/bin/network-monitor/src/explorer.rs b/bin/network-monitor/src/explorer.rs index 2053ce22c..f912a62df 100644 --- a/bin/network-monitor/src/explorer.rs +++ b/bin/network-monitor/src/explorer.rs @@ -64,7 +64,6 @@ const LATEST_BLOCK_REQUEST: GraphqlRequest = GraphqlRequest { /// /// `Ok(())` if the monitoring task runs and completes successfully, or an error if there are /// connection issues or failures while checking the explorer status. -#[instrument(target = COMPONENT, name = "explorer-status-task", skip_all)] pub async fn run_explorer_status_task( explorer_url: Url, name: String, diff --git a/bin/network-monitor/src/faucet.rs b/bin/network-monitor/src/faucet.rs index 6569a22fa..84c0b0f3a 100644 --- a/bin/network-monitor/src/faucet.rs +++ b/bin/network-monitor/src/faucet.rs @@ -88,14 +88,6 @@ pub struct GetMetadataResponse { /// # Returns /// /// `Ok(())` if the task completes successfully, or an error if the task fails. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.faucet.run_faucet_test_task", - skip_all, - level = "info", - ret(level = "debug") -)] pub async fn run_faucet_test_task( faucet_url: Url, status_sender: watch::Sender, diff --git a/bin/network-monitor/src/frontend.rs b/bin/network-monitor/src/frontend.rs index dd6a8fc5c..035db669c 100644 --- a/bin/network-monitor/src/frontend.rs +++ b/bin/network-monitor/src/frontend.rs @@ -36,7 +36,6 @@ pub struct ServerState { /// /// * `server_state` - The server state containing watch receivers for all services. /// * `config` - The configuration of the network. -#[instrument(target = COMPONENT, name = "frontend.serve", skip_all, fields(port = %config.port))] pub async fn serve(server_state: ServerState, config: MonitorConfig) { // build our application with routes let app = Router::new() diff --git a/bin/network-monitor/src/remote_prover.rs b/bin/network-monitor/src/remote_prover.rs index 4331d8033..791315d3b 100644 --- a/bin/network-monitor/src/remote_prover.rs +++ b/bin/network-monitor/src/remote_prover.rs @@ -87,14 +87,6 @@ pub struct ProverTestDetails { /// # Returns /// /// `Ok(())` if the task completes successfully, or an error if the task fails. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.remote_prover.run_remote_prover_test_task", - skip_all, - level = "info", - ret(level = "debug") -)] pub async fn run_remote_prover_test_task( prover_url: Url, name: &str, diff --git a/bin/network-monitor/src/status.rs b/bin/network-monitor/src/status.rs index 11c77593e..c6cc76279 100644 --- a/bin/network-monitor/src/status.rs +++ b/bin/network-monitor/src/status.rs @@ -310,14 +310,6 @@ impl RpcStatusDetails { /// # Returns /// /// `Ok(())` if the task completes successfully, or an error if the task fails. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.status.run_rpc_status_task", - skip_all, - level = "info", - ret(level = "debug") -)] pub async fn run_rpc_status_task( rpc_url: Url, status_sender: watch::Sender, @@ -422,14 +414,6 @@ pub(crate) async fn check_rpc_status( /// /// `Ok(())` if the monitoring task runs and completes successfully, or an error if there are /// connection issues or failures while checking the remote prover status. -#[instrument( - parent = None, - target = COMPONENT, - name = "network_monitor.status.run_remote_prover_status_task", - skip_all, - level = "info", - ret(level = "debug") -)] pub async fn run_remote_prover_status_task( prover_url: Url, name: String,