-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Calling Discard only adds to txn_discards metric, not txn_aborts. (
#7365) This PR is a follow-up to #7339 to update the way dgraph_txn_discards_total and dgraph_txn_aborts_total are tracked. When the client calls Discard, only the dgraph_txn_discards_total metric is incremented, not dgraph_txn_aborts_total. This makes it easy to see: 1. If the client is calling Discard 2. If the server is aborting transactions (e.g., because of transaction conflicts) Additional changes: * Update metrics description text
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 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
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