Skip to content

[Metrics] exception_count never available #718

@eiabea

Description

@eiabea

Steps to reproduce:

  1. Start the operator with available execution and consensus clients
  2. Stop the execution client (rpc endpoint)
  3. Observe logs:
2026-04-28 16:46:43,617 ERROR    404, message='Not Found', url='https://rpc.execution.eth.example.com'
Traceback (most recent call last):
  File "/app/src/common/tasks.py", line 17, in run
    await self.process_block(interrupt_handler)
  File "/app/src/commands/start/base.py", line 128, in process_block
    await wait_execution_catch_up_consensus(
  File "/app/src/common/startup_check.py", line 258, in wait_execution_catch_up_consensus
    execution_block_number = await execution_client.eth.get_block_number()
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This exception should increase the exception_count, but can not be seen at the /metrcis endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions