Repository navigation
chore(lore-0346,lore-0347): drop three alarms, 14 unread metrics, trim the dashboard to 50 - #445
Open
stkrolikiewicz wants to merge 1 commit into
Open
stkrolikiewicz wants to merge 1 commit into
stkrolikiewicz wants to merge 1 commit into
Conversation
…m the dashboard to 50 0346: remove ledger-processor-no-invocations (rollup-freshness-1m fired first on every stall, 2.5 to 11.7 min ahead), oracle-no-invocations (oracle-dark-feed treats missing data as breaching; LIVENESS_FROM_OWN_ALARM makes the -errors and duration descriptions name it) and mtls-notafter-probe-duration-near-timeout (runs take ~1 s of 60 s; a timeout pages through -errors first). Runbooks and the xdr watch text no longer name them. 0347: stop publishing CoarseSweepRuns/FailedRuns/DurationMs/TablesSkipped, four historical-drain metrics, OracleRuns/FailedRuns/RowsSkipped/ SymbolsQueried, ClickHouseDiskFreeBytes and per-role DaysToNotAfter. No alarm or dashboard read them; the values stay in logs or AWS/Lambda. The overview dashboard drops worker Throttles (0 for 30 days) and ledger-processor ConcurrentExecutions: 60 -> 50 metrics, the free tier, now checked by verify-dashboard-synth.mjs.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tasks 0346 and 0347, both from the 2026-11-13 read-only CloudWatch review. Re-checked against
developand live CloudWatch on 2026-12-03. Saves about $7 a month (3 alarms, ~13 hourly series, the $3 dashboard charge) and the duplicate Slack messages on every ingest stall.0346: three alarms another alarm always beats
ledger-processor-no-invocationsrollup-freshness-1mfired 2.5 to 11.7 min earlier (latest: 2026-11-22, 22:51 vs 23:03 UTC)rollup-freshness-1m, whose description now carries the "check the SNS subscription and BE publication" diagnosisoracle-no-invocationsoracle-dark-feedisFILL(written, 0) < 1with missing = breaching, so a stopped schedule pages there ~15 min lateroracle-dark-feed.LIVENESS_FROM_OWN_ALARMinlambda-baseline.tsmakes the oracle's-errorsand duration descriptions name itmtls-notafter-probe-duration-near-timeout-errorspages on day 1mtls-notafter-probe-errors(noDurationAlarmwith that reason)The runbooks,
verify-xdr-protocol-gap.mjsand the 0139 MUTED list (32 → 30) no longer name them. SCF evidence is left as submitted.0347: 14 metrics nothing reads, and the dashboard at 50
Stopped publishing:
CoarseSweepRuns,FailedRuns,DurationMs(AWS/LambdaInvocations,Errors,Durationsay the same) andTablesSkipped(still in the log line). A failed sweep run is an Error now, sosweep_failure_metricsgoes.EnrichmentFrontierMonth,FrontierMonthsReopened,HistoricalDeadlineHitandHistoricalRowsEnriched.FrontierMonthsPendingstays, because the reingest runbook reads it.OracleRuns,OracleFailedRuns,OracleRowsSkippedandOracleSymbolsQueried.OracleRowsWritten=0is still published on a failed pass, so dark-feed sees it.ClickHouseDiskFreeBytesand per-roleDaysToNotAfter(MinDaysToNotAfterstays).Live
get-dashboardon all three dashboards andgit grepfind no reader. The coarse-sweep runbook's "Metrics to watch" now points at AWS/Lambda.Dashboard: 60 → 50 distinct metrics. The nine worker
Throttlesseries go (0 for every worker, 2026-11-03..12-03), and so does ledger-processorConcurrentExecutions.verify-dashboard-synth.mjsgains check 3d, which fails over 50. The count is of metric rows. The January bill confirms whether AWS counts the same way.Checks
cargo testandclippy -D warnings --features lambdaon the five changed crates.verify-dashboard-synth.mjs: PASS, 50 metrics, 87 alarms on the strip.cdk diffObservability + EventBridge: three alarm destroys, descriptions on five alarms, the dashboard,DashboardAlarmCount90 → 87. The Lambda S3Key changes in that diff came from stub assets; the real deploy ships the rebuilt workers.Before deploy
The last AC of both tasks: agreed with the other teams on the shared account, in rumblefishdev/stellar-x402#186 and rumblefishdev/soroban-block-explorer#733.