Skip to content

docs(testnet): define signals-of-life on-chain event watchlist and silence alerting (#1005) - #1124

Merged
phertyameen merged 1 commit into
bridgelet-org:mainfrom
isasadiq:docs/event-watchlist-1005
Nov 25, 2026
Merged

phertyameen merged 1 commit into
bridgelet-org:mainfrom
isasadiq:docs/event-watchlist-1005

Conversation

@isasadiq

Copy link
Copy Markdown
Contributor

Summary

Resolves #1005.

During active testing or operational workloads on Stellar Testnet, contract invocations and relayers can fail silently without emitting on-chain errors (e.g. dropped transactions, network timeouts, gas exhaustion below hard floors, or signature/nonce mismatches). On-chain Soroban events published into finalized ledgers serve as authoritative 'signals of life' proving that system execution paths ran to completion.

This PR updates \ estnet/monitoring/event-watchlist.md\ and related documentation to define the signals of life on Stellar Testnet, establish expected event baseline frequencies across distinct operational workloads, and document concrete absence-of-activity silence alerting thresholds (dead-man switch).

Changes Included

  1. Signals-of-Life Hierarchy & Categorization:
    • Defined operational monitoring tiers:
      • Tier 1 (Critical Vital Signs): \SweepCompleted\ (\sweep), \SweepExecutedMulti\ (\swept_mul), \AccountCreated\ (\created), \PaymentReceived\ (\payment).
      • Tier 2 (Lifecycle & Recovery): \AccountExpired\ (\expired), \ReserveReclaimed\ (
        eserve), \MultiPaymentReceived\ (\multi_pay).
      • Tier 3 (Configuration & Admin): \DestinationAuthorized\ (\dest_auth), \DestinationUpdated\ (\dest_upd), \ContractInitialized\ (\init), \BaseReserveUpdated\ (
        eserve).
  2. Operational Baselines & Expected Event Frequencies:
    • Explicitly resolved the tension between uninstrumented idle periods and active testing:
      • Profile 1: Scheduled Synthetic Canary (Default Active Profile): Baseline of >= 2 events/hour for \created, \payment, \swept_mul, and \sweep\ (based on the 30-min canary schedule in \synthetic-transaction-plan.md). Silence threshold: 45m warning, 60m critical alert.
      • Profile 2: Interactive Testing / CI Suite Runs: Baseline of 5–20 events/hour during active testing sessions. Silence threshold: 30 minutes.
      • Profile 3: Expired Account Sweeper & Recovery Service: Baseline of >= 1 \expired\ event per cycle when overdue accounts exist. Silence threshold: 2 hours.
      • Profile 4: Dormant / Idle Testnet: Baseline of 0 events/hour; absence alerting is gated/suppressed to prevent false alarms on an idle public network.
  3. Absence-of-Activity Failure Classification Matrix:
    • Mapped each watched event symbol to failure layers, probable root causes (relayer out-of-gas, nonce desync, signature invalidation, contract revert, SAC transfer error, Friendbot rate limits, factory salt collision), and direct CLI diagnostic commands.
    • Cross-referenced all diagnostic runbooks (\ ailed-sweep-signature.md,
      once-desync.md,
      elayer-submission-failures.md, \�alance-thresholds.md,
      pc-outage.md, \stuck-ephemeral-account.md, \expired-account-recovery-check.md).
  4. Absence Alerting Specification (Dead-Man Watcher):
    • Specified Prometheus telemetry metrics (\�ridgelet_event_last_seen_timestamp_seconds, \�ridgelet_synthetic_canary_active, \�ridgelet_overdue_expired_accounts_count, etc.).
    • Provided concrete PromQL alert rules for \TestnetCanarySweepSilence\ (P1 Critical), \TestnetCanaryPaymentSilence\ (P2 High), \TestnetCanaryAccountCreationSilence\ (P2 High), and \TestnetOverdueAccountRecoverySilence\ (P2 High).
  5. Data Pipeline Health vs. Protocol Silence Disambiguation:
    • Documented evaluation prerequisites: silence alerts must be suppressed if Soroban RPC is unreachable (\soroban_rpc_up == 0), indexer cursor lag exceeds 120s, or a network reset is detected, avoiding spurious alerts during data pipeline outages.
  6. Integration & Inventory Alignment:
    • Updated \ estnet/monitoring/README.md\ Related documents to include \event-watchlist.md.
    • Verified that all internal relative links pass \scripts/check-testnet-links.py\ with zero broken links.

…lence alerting (bridgelet-org#1005)

- Document critical 'signals of life' on-chain events (SweepCompleted, SweepExecutedMulti, AccountCreated, PaymentReceived, AccountExpired)
- Define expected testnet baseline frequencies across 4 operational profiles (synthetic canary, active CI/testing, expired account sweeper, dormant/idle)
- Establish concrete absence-of-activity silence thresholds and dead-man alert criteria
- Provide root-cause failure classification matrix and diagnostic runbook cross-references
- Specify Prometheus alerting rules with data-quality suppression guards to prevent false alarms during RPC/indexer outages

Closes bridgelet-org#1005
@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@isasadiq Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@phertyameen
phertyameen merged commit b622f3b into bridgelet-org:main Nov 25, 2026
1 check passed
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.

testnet/monitoring/event-watchlist.md: define which on-chain events on testnet, if they stopped appearing, would indicate a problem

2 participants