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

Nebo15 / logger_json
100%

Build:
DEFAULT BRANCH: master
Repo Added 09 Apr 2017 03:06PM UTC
Files 17
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 0.2.0
  • 0.3.0
  • 0.4.0
  • 0.5.0
  • 1.1.0
  • 1.2.0
  • 1.3.0
  • 2.0.1
  • 3.0.1
  • 3.0.2
  • 3.0.3
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.2.0
  • 3.3.0
  • 4.0.0
  • 4.1.0
  • 4.2.0
  • 5.0.0
  • 5.1.0
  • 5.1.1
  • 5.1.2
  • al/datadog-error-tracker
  • cd/encode-error-metadata-upstream
  • fix-warning-on-binary-matching
  • fix/format-affected-user-with-integer-values
  • fix/render-file-as-string
  • master
  • patch-1
  • refs/pull/146/merge
  • use-json-elixir-1-18

05 Aug 2026 01:50AM UTC coverage: 100.0%. Remained the same
a045c49034cfcd6580465c96000cc41b85af92b1

push

github

web-flow
perf: memoize Datadog hostname and drop redundant metadata copy (#173)

Two hot-path optimizations in the log formatters.

Datadog: resolve the hostname once at config time instead of on every
log line. `:inet.gethostname/0` is a round-trip to the inet_db port and
a node's hostname does not change at runtime.

Metadata: `take_metadata/2` piped `Map.drop/2` into `Enum.into(%{})`.
`Map.drop/2` already returns a map, so `Enum.into(%{})` rebuilt the
whole map a second time for nothing — an extra O(n) pass and allocation
on every log line. Removed from both the `{:all_except, keys}` and
`:all` clauses.

3 of 3 new or added lines in 2 files covered. (100.0%)

380 of 380 relevant lines covered (100.0%)

2585.99 hits per line

Relevant lines Covered
Build:
Build:
380 RELEVANT LINES 380 COVERED LINES
2585.99 HITS PER LINE
Source Files on master
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
a045c490... master perf: memoize Datadog hostname and drop redundant metadata copy (#173) Two hot-path optimizations in the log formatters. Datadog: resolve the hostname once at config time instead of on every log line. `:inet.gethostname/0` is a round-trip to the... push 05 Aug 2026 01:51AM UTC web-flow github
100.0
97f2ed52... master fix(datadog): Encode metadata error value before embedding in error field (#174) `format_error/4` embeds the raw metadata `:error` value into the log line, bypassing `RedactorEncoder`. A non-JSON-encodable term (e.g. an `{:error, reason}` tuple) ... push 05 Aug 2026 01:50AM UTC web-flow github
100.0
16f11024... cd/encode-error-metadata-upstream fix(datadog): Encode metadata error value before embedding in error field format_error/4 embedded the raw metadata :error value into the log line, bypassing RedactorEncoder. A non-JSON-encodable term (e.g. an {:error, reason} tuple) then crashed ... Pull #174 05 Aug 2026 01:46AM UTC doughsay github
100.0
cb2abef1... master Use pin operator when matching binary in formatters/datadog.ex (#171) When compiled under Elixir 1.20, there is following warning: warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. Y... push 02 Jul 2026 06:40AM UTC web-flow github
99.74
9156e093... fix-warning-on-binary-matching Use pin operator when matching binary in formatters/datadog.ex When compiled under Elixir 1.20, there is following warning: warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You... Pull #171 02 Jul 2026 02:30AM UTC weih-kahoot github
100.0
44708b95... master Remove unused require statement in tests (#172) push 02 Jul 2026 02:30AM UTC web-flow github
100.0
c0afaa24... master Improve test coverage and always format initial_call push 04 Apr 2026 08:24PM UTC AndrewDryga github
100.0
2f0e88b3... master Support special metadata keys :module and :function in BasicFormatter push 03 Apr 2026 09:31PM UTC AndrewDryga github
99.74
0a115454... master Fix compatibility with Erlang 28 / Elixir 1.19 push 03 Apr 2026 08:47PM UTC AndrewDryga github
100.0
e250c97c... master fix typo in docs (#162) Hi. I tried running the following snippet from docs and got the error. According to earlier docs `config.exs` does not allow calling `new/1` function. ``` ** (UndefinedFunctionError) function LoggerJSON.Formatters.Google... push 03 Apr 2026 08:01PM UTC web-flow github
100.0
See All Builds (349)
  • Repo on GitHub
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