Skip to content

Commit

Permalink
add TRACING_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypadma committed Jan 30, 2024
1 parent f7259c7 commit 8028acf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/middleware/aws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub fn info_span_firehose(
let config = firehose_client.config();
if let Some(region) = config.region() {
let span = tracing::info_span!(
target: TRACING_TARGET,
"aws_firehose",
firehose = tracing::field::Empty,
operation = tracing::field::Empty,
Expand Down Expand Up @@ -90,6 +91,7 @@ pub fn info_span_sns(
let config = sns_client.config();
if let Some(region) = config.region() {
let span = tracing::info_span!(
target: TRACING_TARGET,
"aws_sns",
sns = tracing::field::Empty,
operation = tracing::field::Empty,
Expand Down

0 comments on commit 8028acf

Please sign in to comment.