forked from digital-asset/daml
-
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.
More detailed store transaction metrics (digital-asset#6163)
* Add additional metrics when storing transactions Since event witnesses will soon be denormalized into the participant_events table, I did not include metrics right now. CHANGELOG_BEGIN [DAML Ledger Integration Kit] Add additional metrics for storing transactions. The overall time is measured by ``daml.index.db.store_ledger_entry``. - Timer ``daml.index.db.store_ledger_entry.prepare_batches``: measures the time for preparing batch insert/delete statements - Timer ``daml.index.db.store_ledger_entry.events_batch``: measures the time for inserting events - Timer ``daml.index.db.store_ledger_entry.delete_contract_witnesses_batch``: measures the time for deleting contract witnesses - Timer ``daml.index.db.store_ledger_entry.delete_contracts_batch``: measures the time for deleting contracts - Timer ``daml.index.db.store_ledger_entry.insert_contracts_batch``: measures the time for inserting contracts - Timer ``daml.index.db.store_ledger_entry.insert_contract_witnesses_batch``: measures the time for inserting contract witnesses - Timer ``daml.index.db.store_ledger_entry.insert_completion``: measures the time for inserting the completion - Timer ``daml.index.db.store_ledger_entry.update_ledger_end``: measures the time for updating the ledger end [Sandbox Classic] Added Timer ``daml.index.db.store_ledger_entry.commit_validation``: measure the time for commit validation in Sandbox Classic CHANGELOG_END * Refactoring: rename metrics *dao to *DbMetrics
- Loading branch information
Showing
5 changed files
with
118 additions
and
91 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
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
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