Metrics

The cron module exposes several metrics for monitoring and observability:

Execution Metrics

cron_schedules_executed_total

  • Type: Counter

  • Description: Total number of cron schedules executed

  • Labels:

    • execution_stage (begin_blocker, end_blocker)

    • status (success, failure)

cron_messages_executed_total

  • Type: Counter

  • Description: Total number of cron messages executed

  • Labels:

    • execution_stage (begin_blocker, end_blocker)

    • status (success, failure)

    • contract_address

cron_execution_duration_seconds

  • Type: Histogram

  • Description: Duration of cron schedule execution in seconds

  • Labels:

    • execution_stage (begin_blocker, end_blocker)

    • schedule_name

Last updated

Was this helpful?