Add transaction timing metrics and related updates#792
Merged
StuartFerguson merged 1 commit intomasterfrom May 5, 2025
Merged
Conversation
- Implemented `RecordTransactionTimings` method in `TransactionAggregate` to log transaction timing metrics. - Introduced `TransactionTimingsAddedToTransactionEvent` for encapsulating timing data. - Updated `TransactionDomainService` to record timings during logon and sale processing. - Modified `TransactionCommands` to include `TransactionReceivedDateTime`. - Created `TransactionTimings` entity in the database for storing timing metrics. - Added migration files for `transactiontimings` table in MySQL and SQL Server. - Updated tests to validate new timing metrics and `TransactionReceivedDateTime`. - Enhanced `ITransactionProcessorReadModelRepository` with a method for recording timings. - Updated `TransactionController` to pass `transactionReceivedDateTime` in requests. - Adjusted `EstateManagementGenericContext` setup methods for the new entity. - Updated `appsettings.json` to include the new event type for transaction timings.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RecordTransactionTimingsmethod inTransactionAggregateto log transaction timing metrics.TransactionTimingsAddedToTransactionEventfor encapsulating timing data.TransactionDomainServiceto record timings during logon and sale processing.TransactionCommandsto includeTransactionReceivedDateTime.TransactionTimingsentity in the database for storing timing metrics.transactiontimingstable in MySQL and SQL Server.TransactionReceivedDateTime.ITransactionProcessorReadModelRepositorywith a method for recording timings.TransactionControllerto passtransactionReceivedDateTimein requests.EstateManagementGenericContextsetup methods for the new entity.appsettings.jsonto include the new event type for transaction timings.Fixes #773