dnsimple/bugsnag-erlang
60.5
Adequate · 15 November 2026
906
lines of production code
Erlang
primary language
4
measurements over time
What this system is
This system is a Bugsnag client library for Erlang applications, designed to report errors and exceptions to the Bugsnag service. It integrates with the Erlang logger to automatically capture and forward structured log events and exceptions, while supporting configuration for API keys, release stages, and application versions. The project also includes a modernized build system using rebar3 and native OTP logging, along with a comprehensive test suite to verify its functionality.
Features
Added BugSnag logger handler for structured logging
A new OTP logger-compliant handler module (\bugsnag\_logger\_handler\) has been introduced to automatically forward structured log events to BugSnag. This handler processes incoming log messages, ensuring they are structured with necessary metadata (such as MFA and level) and extracting exception details where available, before notifying BugSnag. It includes safeguards to prevent infinite logging loops from the BugSnag worker and handles unstructured logs by treating the message as the primary event field.
src/handlers · high confidence
Initial release of the Bugsnag Erlang client
This change introduces the \bugsnag\_erlang\ application, providing a notifier for Erlang applications to report errors and exceptions to Bugsnag. The client supports configuration via application environment variables or programmatic setup, allowing users to define API keys, release stages, handler names, and pool sizes. It features a logger handler integration to automatically capture and report errors, supports granular configuration of multiple handlers, and includes an API for manually notifying Bugsnag of events. The implementation handles exception formatting, breadcrumb tracking, and sends payloads using the Bugsnag Error Reporting API v5.
src · high confidence
Introduce optional app version reporting in Bugsnag worker
The Bugsnag worker now supports an optional \app\_version\ configuration option. When provided, this version is included in the base event payload sent to Bugsnag, allowing users to track which application version generated specific errors. If not specified, the version field is omitted from the event data.
src/workers · high confidence
Behavioural changes
Major build system overhaul and dependency migration
The project has been upgraded to require OTP 27 and migrated from the lager logging library to the native Erlang/OTP Logger, removing the jsx dependency in favor of the standard json module. The build process now uses rebar3 exclusively, replacing the previous reltool-based release structure with a modern plugin ecosystem (including erlfmt, dialyzer, and hex publishing). This change introduces stricter code quality checks, new linting rules, and a simplified development workflow via a new Makefile.
(repo-wide) · high confidence
Test coverage
Added comprehensive test suite for Bugsnag Erlang integration
Added a new Common Test suite (bugsnag\_SUITE.erl) and an HTTP helper module (http\_helper.erl) to verify the Bugsnag Erlang application. The tests cover application startup configurations (enabled/disabled, API keys, release stages, pool sizes, custom log levels, and app version reporting), logger handler lifecycle, and the generation of telemetry and Datadog exception events from structured logs.
test · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 61 → 61 (-0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 72 → 71 (-0.9)
- Architecture 69 → 69 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 78 → 78 (+0.0)
- Security 63 → 63 (+0.0)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (2)
- Edited copy of a member (12 corresponding lines) (src/bugsnag_app.erl)
- Off-boarding risk: anonymized user #1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
dnsimple/bugsnag-erlang 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 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit da32e417eadb720e045a21b40ccbb342efd850fa — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.