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

mozilla-releng / balrog / #4765
90%
main: 89%

Build:
Build:
LAST BUILD BRANCH: heads/refs/heads/main
DEFAULT BRANCH: main
Ran 17 Jul 2025 03:40PM UTC
Jobs 1
Files 61
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

17 Jul 2025 03:29PM UTC coverage: 89.396% (+0.005%) from 89.391%
#4765

push

circleci

web-flow
feat: add statsd timings for admin endpoints (#3467)

* refactor: rename a number of request handler functions

I plan to use these in metric names, and they could do with a clean-up for consistency, brevity, and understandability.

* feat: add statsd timings for admin endpoints

The most important things we need to time here are the /releases endpoints, as they are (mostly) the only ones used frequently, and we also believe them to be some of the least performant ones. I don't think there's much downside to timing just about everything though, especially considering most of them are rarely used, and won't generate data most of the time.

One way I looked at doing this and ultimately rejected was using a `timer` decorator on specific handlers. This had the upside of allowing custom metric names to be set as an argument (which would've avoided renaming everything), but I decided that decorating everything was both ugly, and not very future proof (we'd probably forget to decorate things in the future).

3054 of 3571 branches covered (85.52%)

Branch coverage included in aggregate %.

163 of 166 new or added lines in 11 files covered. (98.19%)

5680 of 6199 relevant lines covered (91.63%)

0.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.45
0.82% src/auslib/web/admin/base.py
1
91.91
-0.03% src/auslib/web/admin/views/permissions.py
1
85.64
-0.03% src/auslib/web/admin/views/releases.py
Jobs
ID Job ID Ran Files Coverage
1 #4765.1 17 Jul 2025 03:40PM UTC 61
89.4
Source Files on build #4765
  • Tree
  • List 61
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #4765
  • 0ce0034f on github
  • Prev Build on heads/refs/heads/main
  • Next Build on heads/refs/heads/main
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