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

unioslo / mreg / 20582328329
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: metrics
DEFAULT BRANCH: master
Ran 29 Dec 2025 08:48PM UTC
Jobs 5
Files 96
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

29 Dec 2025 08:44PM UTC coverage: 97.496% (-0.02%) from 97.512%
20582328329

Pull #605

github

terjekv
Add Prometheus metrics middleware and expose metrics endpoint

- Implement PrometheusRequestMiddleware to track a selection of HTTP, DB, and LDAP metrics.
- Create MetricsView to serve metrics at /api/meta/metrics.
- Update URL routing to include metrics endpoint.
- Add tests for metrics endpoint and metrics recording.
- Include prometheus-client dependency in project configuration.
Pull Request #605: Add Prometheus metrics middleware and expose metrics endpoint

99 of 103 new or added lines in 2 files covered. (96.12%)

9304 of 9543 relevant lines covered (97.5%)

4.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.35
-0.37% mreg/api/views.py
3
96.39
mreg/middleware/metrics.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.14 - 20582328329.1 29 Dec 2025 08:48PM UTC 96
97.49
GitHub Action Run
2 python-3.13 - 20582328329.2 29 Dec 2025 08:48PM UTC 96
97.5
GitHub Action Run
3 python-3.11 - 20582328329.3 29 Dec 2025 08:48PM UTC 96
97.49
GitHub Action Run
4 python-3.12 - 20582328329.4 29 Dec 2025 08:48PM UTC 96
97.5
GitHub Action Run
5 python-3.10 - 20582328329.5 29 Dec 2025 08:48PM UTC 96
97.5
GitHub Action Run
Source Files on build 20582328329
  • Tree
  • List 96
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #605
  • PR Base - master (#20400490810)
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