Skip to content

chore(log): Log the time taken to process new blocks and transactions #291

Open
@msbrogli

Description

@msbrogli

We currently don't log how much it took to process new blocks and transactions received by the p2p network. This might be useful for debugging.

Acceptance Criteria

  • Check the full node's log and find how long it took to process a new block or transaction.
  • Export this metric to Prometheus.

Open questions

  • What metrics should we export? Average? Sum? Maximum? Minimum?
  • Should we use a sliding window for these metrics? If yes, how many blocks/transactions in the window?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions