fix: clean up instrumentation
All checks were successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful

This commit is contained in:
Paul Campbell 2024-04-11 07:46:30 +01:00
parent 7dab1da44b
commit 1c9f7cb4ea
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ use crate::server::{config, forge};
use super::{RepoActor, StartMonitoring, StartRepo}; use super::{RepoActor, StartMonitoring, StartRepo};
#[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name))] #[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name), skip_all)]
pub async fn validate_positions( pub async fn validate_positions(
repo_details: config::RepoDetails, repo_details: config::RepoDetails,
config: config::RepoConfig, config: config::RepoConfig,

View file

@ -28,7 +28,7 @@ pub async fn get_commit_histories(
Ok(histories) Ok(histories)
} }
#[tracing::instrument(fields(%branch_name))] #[tracing::instrument(fields(%branch_name),skip_all)]
async fn get_commit_history( async fn get_commit_history(
repo_details: &crate::server::config::RepoDetails, repo_details: &crate::server::config::RepoDetails,
branch_name: &BranchName, branch_name: &BranchName,