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

safe-global / safe-decoder-service / 44109007071
93%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 02:59PM UTC
Jobs 1
Files 69
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

17 Nov 2026 02:58PM UTC coverage: 92.835% (+0.04%) from 92.792%
44109007071

push

github

web-flow
Add Datadog trace fields to JSON logs (#405)

* Add Datadog trace fields to JSON logs

With DD_LOGS_INJECTION on, ddtrace adds dd.trace_id, dd.span_id,
dd.service, dd.version and dd.env to every log record. SafeJsonFormatter
only writes its own fields, so they were dropped and Datadog could not
link logs to APM traces.

Write them as a "dd" object, the same shape dd-trace writes in the Node
services. Outside a span ddtrace sets trace_id and span_id to "0", so
only service, version and env are written.

* Move logger tests to app/tests/loggers

* Document get_datadog_trace_fields parameters and return value

* Leave empty Datadog trace fields out of JSON logs

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

1529 of 1647 relevant lines covered (92.84%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44109007071.1 17 Nov 2026 03:00PM UTC 69
92.84
GitHub Action Run
Source Files on build 44109007071
  • Tree
  • List 69
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0ce39f40 on github
  • Prev Build on main (#44093249483)
  • Next Build on main (#44527516772)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc