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

Kong / ngx_wasm_module / 11485630961 / 2
95%
main: 95%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2024 06:37PM UTC
Files 45
Run time 2s
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 Oct 2024 06:07PM UTC coverage: 88.57% (-0.2%) from 88.722%
11485630961.2

push

github

thibaultcha
feat(metrics) implement user-defined histogram bins

This feature is only available through the FFI.

If a user provides a list of numbers when defining a histogram, those
numbers will be used as the upper-bounds of the histogram's bins.

For instance, the following code:

    local shm = require "resty.wasmx.shm"
    shm.metrics:define("h", shm.metrics.HISTOGRAM, { bins = { 1, 3, 5 } })

Creates a histogram with bins `[0, 1] (1, 3] (3, 5] (5, Inf+]`.

Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>

7447 of 8408 relevant lines covered (88.57%)

2400.14 hits per line

Source Files on job unit-ngx_1.27.2-wasmtime-no_ipc-ssl-debug-hup-dynamic - 11485630961.2
  • Tree
  • List 0
  • Changed 32
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11485630961
  • 3bb2f15e on github
  • Prev Job for on main (#11485188014.2)
  • Next Job for on main (#11507567996.2)
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