forked from DataDog/dd-trace-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/gorm.io/gorm.v1: propagate span ctx
- Start span in before callback instead of after to allow child context to be given to underlying DB driver - Fix row and raw callbacks not being ordered correctly - Don't generate spans for DryRun statements (e.g. when using a statement or subquery as var) fixes DataDog#849
- Loading branch information
1 parent
438ca4c
commit 36df5af
Showing
1 changed file
with
41 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters