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

jjatria / perl-opentelemetry-sdk / 12422271024
95%

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2024 11:08PM UTC
Jobs 1
Files 17
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

19 Dec 2024 11:07PM UTC coverage: 94.872% (-0.3%) from 95.203%
12422271024

push

github

jjatria
Die on errors during import

The [specification] states that

> OpenTelemetry implementations MUST NOT throw unhandled exceptions
> at run time.

but it also says that

> The [...] SDK MAY _fail fast_ and cause the application to fail on
> initialization, e.g. because of a bad user config or environment,
> but MUST NOT cause the application to fail later at run time, e.g.
> due to dynamic config settings received from the Collector.

Before this change, the SDK was not "failing fast" for the sake of
application stability. However, this could result in setups that were
misconfigured but kept running, giving the user the incorrect impression
that things had gone according to plan. This made debugging harder.

The situation was made worse because before 56d6689b6
(which added the OTLP exporter as a dependency of the SDK) because in
that case the SDK was defaulting to a broken configuration state, and
failing silently. This is no longer the case, so any remaining cases of
a misconfigured SDK are bugs that should be addressed, and are probably
going unnoticed by users.

Fixes #18, but at what cost?

[specification]: https://opentelemetry.io/docs/specs/otel/error-handling/#basic-error-handling-principles

9 of 10 new or added lines in 1 file covered. (90.0%)

259 of 273 relevant lines covered (94.87%)

4.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.08
-1.92% lib/OpenTelemetry/SDK.pm
Jobs
ID Job ID Ran Files Coverage
1 12422271024.1 19 Dec 2024 11:08PM UTC 17
94.87
GitHub Action Run
Source Files on build 12422271024
  • Tree
  • List 17
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f083c10a on github
  • Prev Build on main (#12333806802)
  • Next Build on main (#12422432210)
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