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

supabase / supavisor / 23064604059
82%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2026 06:28PM UTC
Jobs 2
Files 120
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

13 Mar 2026 06:17PM UTC coverage: 79.329% (-2.6%) from 81.916%
23064604059

push

github

web-flow
perf: implement peep metrics storage/exporter for high cardinality metrics (#875)

Implements several optimizations:

- Tag maps deduplicated into a shared table with integer IDs:
per-scheduler keys are {int, int} instead of {int, map}, eliminating
N_schedulers copies of every tag combination
  - Formatted Prometheus label strings cached in ETS by tag ID
- Distribution bucket boundaries precomputed once per metric definition,
not once per {metric, tags} series
- Bucket values extracted as raw integer lists instead of
`%{boundary_string => count}` maps, which eliminates String.to_float
parsing, map allocation, and sorting during export

With a sample benchmark:
```
Name                                              ips        average  deviation         median         99th %
custom (PeepStorage + PrometheusCached)          0.38         2.65 s    ±33.80%         2.61 s         3.54 s
upstream (Striped + Prometheus)                0.0536        18.64 s     ±0.00%        18.64 s        18.64 s

Comparison:
custom (PeepStorage + PrometheusCached)          0.38
upstream (Striped + Prometheus)                0.0536 - 7.02x slower +15.99 s

Memory usage statistics:

Name                                       Memory usage
custom (PeepStorage + PrometheusCached)         1.98 GB
upstream (Striped + Prometheus)                 7.08 GB - 3.58x memory usage +5.10 GB
```

111 of 238 new or added lines in 5 files covered. (46.64%)

1 existing line in 1 file now uncovered.

2437 of 3072 relevant lines covered (79.33%)

56254.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.48
5.62% lib/supavisor/metrics_cleaner.ex
1
95.88
17.54% lib/supavisor/monitoring/prom_ex.ex
2
50.0
lib/supavisor/peep_storage/atomics.ex
60
0.0
lib/supavisor/peep_storage/prometheus_cached.ex
63
31.52
lib/supavisor/peep_storage.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.88
17.54% lib/supavisor/monitoring/prom_ex.ex
Jobs
ID Job ID Ran Files Coverage
2 run-integration - 23064604059.2 13 Mar 2026 06:28PM UTC 120
42.34
GitHub Action Run
2 run-tests - 23062692966.2 13 Mar 2026 05:38PM UTC 117
80.32
GitHub Action Run
Source Files on build 23064604059
  • Tree
  • List 120
  • Changed 26
  • Source Changed 22
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23064604059
  • f58e2fc9 on github
  • Prev Build on main (#23062692966)
  • Next Build on main (#23066042069)
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