Skip to content

Improvement/bb 605 alert for ingestion processing - #2821

Draft
benzekrimaha wants to merge 3 commits into
improvement/BB-846-retry-ingestion-reader-setupfrom
improvement/BB-605-alert-for-ingestion-processing
Draft

Improvement/bb 605 alert for ingestion processing#2821
benzekrimaha wants to merge 3 commits into
improvement/BB-846-retry-ingestion-reader-setupfrom
improvement/BB-605-alert-for-ingestion-processing

Conversation

@benzekrimaha

Copy link
Copy Markdown
Contributor

Issue: BB-605

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.56%. Comparing base (2f9c7f5) to head (a682dd2).

Additional details and impacted files

Impacted file tree graph
see 2 files with indirect coverage changes

Components Coverage Δ
Bucket Notification 80.27% <ø> (ø)
Core Library 81.45% <ø> (-0.59%) ⬇️
Ingestion 70.79% <ø> (ø)
Lifecycle 80.46% <ø> (ø)
Oplog Populator 85.83% <ø> (ø)
Replication 62.01% <ø> (ø)
Bucket Scanner 85.76% <ø> (ø)
@@                                 Coverage Diff                                 @@
##           improvement/BB-846-retry-ingestion-reader-setup    #2821      +/-   ##
===================================================================================
- Coverage                                            75.80%   75.56%   -0.24%     
===================================================================================
  Files                                                  200      200              
  Lines                                                13925    13925              
===================================================================================
- Hits                                                 10556    10523      -33     
- Misses                                                3359     3392      +33     
  Partials                                                10       10              
Flag Coverage Δ
api:retry 9.10% <ø> (ø)
api:routes 8.87% <ø> (ø)
bucket-scanner 85.76% <ø> (ø)
ft_test:queuepopulator 9.14% <ø> (-1.87%) ⬇️
ingestion 12.26% <ø> (ø)
lifecycle 19.30% <ø> (ø)
notification 1.02% <ø> (ø)
oplogPopulator 0.13% <ø> (ø)
replication 18.84% <ø> (ø)
unit 54.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benzekrimaha
benzekrimaha force-pushed the improvement/BB-846-retry-ingestion-reader-setup branch from bd6999f to 2f9c7f5 Compare August 20, 2026 13:15
Both rules of the source error rate pair were named
IngestionProducerSourceErrorRate3Percent, so the critical one could not
be told apart from the warning one. Name it after the threshold it uses,
as the zookeeper and publish error rate pairs already do.

Issue: BB-605
A source whose setup fails is now retried on every cron tick, so it
reports a getRaftId error roughly every five seconds for as long as it
cannot be resolved, while its location ingests nothing. Nothing reports
it today: the journal size and read offset gauges of that source are
never published, so the lag and NoMessagesQueued alerts stay blind, and
the error ratio alerts drown the failures in the reads of every healthy
source, which are orders of magnitude more frequent.

Alert on the absolute rate of getRaftId errors instead, which is only
called to set a reader up. Ten minutes of sustained failures are needed
to fire, so a source that recovers on its own, typically while its
location restarts, does not alert.

Issue: BB-605
The ingestion alerts were the only ones shipped without a rendering and
unit test step, so a rule could be published broken or silent.

Cover the new setup failure alert: it fires on a source that keeps
failing, stays silent on one that recovers, and the ratio alerts are
asserted silent on the same series to pin down why it is needed.

Issue: BB-605
@benzekrimaha
benzekrimaha force-pushed the improvement/BB-605-alert-for-ingestion-processing branch from 0e20eb4 to a682dd2 Compare August 20, 2026 13:16
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.

1 participant