TransactionAgentStatistics
class
Namespace: Orleans.Transactions
Records cumulative transaction-agent outcomes and publishes them as Orleans metrics.
public class TransactionAgentStatistics : ITransactionAgentStatisticsConstructors
TransactionAgentStatisticsInitializes a new instance using a dedicated Orleans meter.TransactionAgentStatistics(OrleansInstruments)Initializes a new instance using the Orleans runtime meter.
Properties
TransactionsFailedGets the total number of transactions which failed or were aborted.TransactionsStartedGets the total number of transactions which have started.TransactionsSucceededGets the total number of transactions which completed successfully.TransactionsThrottledGets the total number of transactions rejected by load shedding.
Methods
Copy(ITransactionAgentStatistics)Creates an independent, mutable snapshot of transaction-agent statistics.TrackTransactionFailedRecords that a transaction failed or was aborted.TrackTransactionStartedRecords that a transaction has started.TrackTransactionSucceededRecords that a transaction completed successfully.TrackTransactionThrottledRecords that a transaction was rejected by load shedding.
