beam-telemetry/cowboy_telemetry
62.8
Adequate · 2 October 2026
80
lines of production code
Erlang
primary language
2
measurements over time
What this system is
Cowboy Telemetry is a library that instruments the Cowboy HTTP server by emitting structured telemetry events for HTTP requests, including start, stop, and exception scenarios. It provides a dedicated handler to capture detailed metrics such as duration and body lengths, along with metadata like user data. The system is designed to enable monitoring of server performance and errors through the Telemetry framework.
Features
Initial release of Cowboy Telemetry instrumentation
This change introduces the initial version of the cowboy\_telemetry library, providing Telemetry instrumentation for the Cowboy HTTP server. It adds a cowboy\_stream handler that emits telemetry events (such as request start, stop, and exceptions) for each HTTP request, allowing users to monitor server performance and errors. The package depends on telemetry \~\> 1.0 and cowboy \~\> 2.7, and includes documentation on the specific events and metadata emitted.
(repo-wide) · high confidence
Behavioural changes
Introduce dedicated telemetry event handler for Cowboy metrics
The library now provides a new \cowboy\_telemetry\_h\ module that acts as a Cowboy stream handler, replacing the previous empty \cowboy\_telemetry\ module. This handler instruments Cowboy requests by emitting structured telemetry events (such as \cowboy.request.start\, \cowboy.request.stop\, \cowboy.request.early\_error\, and \cowboy.request.exception\) with detailed measurements like duration and body lengths, and metadata including user data. The application metadata has been updated to version 0.4.0, explicitly listing \telemetry\ as a dependency and correcting the license identifier to Apache-2.0.
src · high confidence
Test coverage
Added comprehensive Common Test suite for Cowboy Telemetry handler
Added a new Common Test suite (\cowboy\_telemetry\_h\_SUITE\) and a test handler (\test\_h\) to verify the behavior of the Cowboy Telemetry handler. The tests cover successful requests, chunked responses, failed requests, and various timeout scenarios (client, idle, and chunk timeouts), asserting that the correct telemetry events (\start\, \stop\, \exception\) are emitted with the expected measurements and metadata, including the new \user\_data\ field.
test · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 60 → 63 (+2.5)
- Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 59 → 59 (+0.0)
- Readiness 50 → 55 (+5.0)
- Security 90 → 92 (+1.9)
Resolved (1)
- Coverage not measured — no coverage collector is wired up
New (5)
- Documentation: no project overview (README.md)
- High CVE: [GHSA redacted] (rebar.lock)
- High CVE: [GHSA redacted] (rebar.lock)
- Outdated: cowboy
- Outdated: telemetry
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
beam-telemetry/cowboy_telemetry was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 3961ddc1e5b994d40f981fd5226bc11689e68ba0 — the exact code this score is about.
- Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.