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

akoutmos / prom_ex / 824b911f1faf5b84e8d9103646c31774ee94393a
76%

Build:
DEFAULT BRANCH: master
Ran 24 Oct 2024 08:03PM UTC
Jobs 2
Files 36
Run time 1min
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

24 Oct 2024 08:01PM UTC coverage: 76.687% (-0.6%) from 77.268%
824b911f1faf5b84e8d9103646c31774ee94393a

push

github

web-flow
Include zeros for missing queue states in Oban polling metrics (#245)

* Include zeros for missing queue states in polling metrics

DB query will only count jobs that exist. When counts for a particular queue state combination disappears from one poll to the next, some tools will show the stale last-seen count, when the true count is zero.

This change will include zeros for all missing queue + state combinations. Queues are taken from the Oban config, and Oban exposes all possible states in `Oban.Job.states/0`.

This addresses issue #202

* string map keys for zeros

---------

Co-authored-by: Martin Svalin <martin@lite.nu>

0 of 6 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

773 of 1008 relevant lines covered (76.69%)

32.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
76.0
-4.0% lib/prom_ex/plugins/oban.ex

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.24
-5.88% lib/prom_ex/lifecycle_annotator.ex
Jobs
ID Job ID Ran Files Coverage
1 824b911f1faf5b84e8d9103646c31774ee94393a.1 24 Oct 2024 08:03PM UTC 36
76.69
GitHub Action Run
2 824b911f1faf5b84e8d9103646c31774ee94393a.2 24 Oct 2024 08:03PM UTC 36
76.69
GitHub Action Run
Source Files on build 824b911f1faf5b84e8d9103646c31774ee94393a
  • Tree
  • List 36
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 824b911f on github
  • Prev Build on master (#115E8515...)
  • Next Build on master (#4DB57657...)
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

© 2025 Coveralls, Inc