Skip to content

Conversation

cawthorne
Copy link

@cawthorne cawthorne commented Oct 14, 2025

Summary

Adds Prometheus metrics to the Starknet transaction manager for monitoring transaction success rates and queue depth. Matches the metrics already used in chainlink-evm.

What changed

Added 4 metrics:

  • tx_manager_num_successful_transactions
  • tx_manager_num_tx_reverted
  • tx_manager_num_finalized_transactions
  • tx_manager_tx_attempt_count

Used sync.Once to avoid duplicate registration issues when the TXM is imported by multiple packages.

@cawthorne cawthorne marked this pull request as ready for review October 14, 2025 02:16
@cawthorne cawthorne requested review from a team as code owners October 14, 2025 02:16
@cawthorne cawthorne marked this pull request as draft October 14, 2025 02:32
@cawthorne cawthorne marked this pull request as ready for review October 14, 2025 13:39
@cl-sonarqube-production
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant