• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Logflare / logflare / 83564d927e4ba5feb6b6a86ae0f9f8433c43a18b-PR-3674
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: pmbauer/O11Y-1914_explicit_branches_in_check_op
DEFAULT BRANCH: main
Ran 10 Jul 2026 04:56AM UTC
Jobs 1
Files 501
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jul 2026 04:40AM UTC coverage: 80.815% (-0.03%) from 80.843%
83564d927e4ba5feb6b6a86ae0f9f8433c43a18b-PR-3674

Pull #3674

github

djwhitt
feat(telemetry): expose batch flush trigger and per-backend missing IDs

Adds metrics to diagnose small/under-filled ClickHouse inserts (a driver of
TOO_MANY_PARTS): whether batches flush on :size vs :timeout, and how many
event IDs go missing from ETS between claim and batch-insert.

- Move `batch_trigger` from the handle_batch measurements map into metadata
  across all five pipeline emitters (clickhouse, bigquery, webhook, http_based,
  spool) so Telemetry.Metrics can tag by it. `batch_size` stays in measurements;
  the dev dashboard (the only measurements consumer) is unaffected.
- Register `logflare.backends.pipeline.handle_batch.batch_trigger` counter
  tagged by `backend_type` + `batch_trigger`.
- Tag the existing `missing_ids` sum by `backend_id`/`event_type` and add a
  distribution, normalizing heterogeneous emitter metadata (ClickHouse carries
  backend_id+event_type, BigQuery carries source_id) via a tag_values fallback.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #3674: feat(telemetry): expose batch flush trigger and per-backend missing IDs

10 of 11 new or added lines in 6 files covered. (90.91%)

7 existing lines in 3 files now uncovered.

14040 of 17373 relevant lines covered (80.82%)

12419.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.4
-0.96% lib/telemetry.ex

Coverage Regressions

Lines Coverage ∆ File
5
66.67
-20.83% lib/logflare/backends/consolidated_sup_worker.ex
1
72.31
-1.54% lib/logflare/logs/search_query_executor.ex
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
Jobs
ID Job ID Ran Files Coverage
1 83564d927e4ba5feb6b6a86ae0f9f8433c43a18b-PR-3674.1 10 Jul 2026 04:56AM UTC 501
80.82
GitHub Action Run
Source Files on build 83564d927e4ba5feb6b6a86ae0f9f8433c43a18b-PR-3674
  • Tree
  • List 501
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3674
  • PR Base - main (#F3395503...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc