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

deadtrickster / prometheus.erl / 6974407856
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: weighted-histogram
DEFAULT BRANCH: master
Ran 23 Nov 2023 09:33PM UTC
Jobs 6
Files 53
Run time 5s
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

23 Nov 2023 09:31PM UTC coverage: 96.449% (-0.04%) from 96.485%
6974407856

push

github

web-flow
Weighted histogram (#155)

* Add prometheus_histogram:observe_n/3,4,5 api calls

This expected to help in collecting weighted histograms,
when we need to update bucket adding given positive integer number
(aka wight or count)

* Fix weighted histogram implementation

- add support to non-integer values
- count the sum correctly (with weights)
- add test cases
- adjust documentation

* Rename "Weights" to "Counts", cleanup the doc.

31 of 32 new or added lines in 2 files covered. (96.88%)

2 existing lines in 1 file now uncovered.

3178 of 3295 relevant lines covered (96.45%)

759.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.2
-0.8% src/metrics/prometheus_histogram.erl

Uncovered Existing Lines

Lines Coverage ∆ File
2
89.2
-0.8% src/metrics/prometheus_histogram.erl
Jobs
ID Job ID Ran Files Coverage
1 23.2.7.0 - 6974407856.1 23 Nov 2023 09:33PM UTC 53
96.35
GitHub Action Run
2 25.2 - 6974407856.2 23 Nov 2023 09:33PM UTC 53
96.35
GitHub Action Run
3 24 - 6974407856.3 23 Nov 2023 09:33PM UTC 53
96.35
GitHub Action Run
4 21.3 - 6974407856.4 23 Nov 2023 09:33PM UTC 53
96.23
GitHub Action Run
5 22.3 - 6974407856.5 23 Nov 2023 09:33PM UTC 53
96.23
GitHub Action Run
6 23.0.4 - 6974407856.6 23 Nov 2023 09:33PM UTC 53
96.35
GitHub Action Run
Source Files on build 6974407856
  • Tree
  • List 53
  • Changed 19
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d1aad4aa on github
  • Prev Build on (#6968737092)
  • Next Build on (#12947680284)
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