Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
transaction.StartSpan doesn't seem to exist anymore
  • Loading branch information
Br3nda authored Feb 14, 2025
1 parent 43fd59f commit 8fdd64a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ transaction := sentry.StartTransaction(
defer transaction.Finish()

// Create the span
span := transaction.StartSpan(ctx, "queue.publish")
span := transaction.StartChild("queue.publish")
span.Description = "queue_producer";
defer span.Finish()

Expand Down

0 comments on commit 8fdd64a

Please sign in to comment.