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

safe-global / safe-auth-service / 44109337542
96%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 03:03PM UTC
Jobs 1
Files 118
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 03:00PM UTC coverage: 95.735% (+0.1%) from 95.605%
44109337542

push

github

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

* 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.

* Leave empty Datadog trace fields out of JSON logs

* Move logger tests to app/tests/loggers

* Document get_datadog_trace_fields arguments and return value

3277 of 3423 relevant lines covered (95.73%)

0.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
90.38
11.81% app/loggers/safe_logger.py
Jobs
ID Job ID Ran Files Coverage
1 44109337542.1 17 Nov 2026 03:03PM UTC 118
95.73
GitHub Action Run
Source Files on build 44109337542
  • Tree
  • List 118
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d8132fe0 on github
  • Prev Build on main (#44090186552)
  • Next Build on main (#44320719516)
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