Skip to content

Commit

Permalink
adding name to instrument publish_newsletter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcclung committed Apr 23, 2024
1 parent 598809a commit caecf83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/newsletter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fn basic_authentication(headers: &HeaderMap) -> Result<Credentials, String> {
}

#[instrument(
name = "Publish a newsletter issue",
skip(json, pool, email_service, request),
fields(
request_id = %Uuid::new_v4(),
Expand Down

0 comments on commit caecf83

Please sign in to comment.