diff --git a/transaction_manager/processor.py b/transaction_manager/processor.py index a80a49e..1c7f0ab 100644 --- a/transaction_manager/processor.py +++ b/transaction_manager/processor.py @@ -193,7 +193,7 @@ def acquire_tx(self, tx: Tx) -> Generator[Tx, None, None]: yield tx finally: stdc.gauge('tm.attempt', tx.attempts) - stdc.increase(f'tm.transaction.{tx.status.name}') + stdc.incr(f'tm.transaction.{tx.status.name}') if tx.is_sent(): self.attempt_manager.save() if not tx.is_completed() and tx.is_last_attempt():