-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of discarding `begin` and `commit` queries, use them as the start and end point of a parent span that groups the transaction. Handle `rollback` queries as well by adding them to this transaction group, quickly showing at a glance whether the transaction succeeded or failed.
- Loading branch information
Showing
3 changed files
with
280 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
bump: "patch" | ||
type: "change" | ||
--- | ||
|
||
Improve Ecto transaction instrumentation. Queries performed as part of an | ||
`Ecto.Multi` or an `Ecto.Repo.transaction` were already individually | ||
instrumented, but now they are displayed in the event timeline as child events | ||
of a broader transaction event. An additional event is added at the end of the | ||
transaction, to denote whether the transaction was committed or rolled back. |
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
Oops, something went wrong.