#logging-tracing #tracing #logging #open-telemetry

tracing-logfmt-otel

A fork of tracing-logfmt with added support for opentelemetry span data

2 unstable releases

0.2.0 Jan 15, 2024
0.1.0 Oct 31, 2023

#645 in Debugging

Download history 19/week @ 2024-01-15 22/week @ 2024-02-05 55/week @ 2024-02-12 68/week @ 2024-02-19 137/week @ 2024-02-26 132/week @ 2024-03-04 152/week @ 2024-03-11 168/week @ 2024-03-18 98/week @ 2024-03-25 187/week @ 2024-04-01 25/week @ 2024-04-08

480 downloads per month
Used in init-tracing-opentelemetr…

MIT/Apache

36KB
832 lines

🪵️ tracing-logfmt-otel

Logfmt formatter for tracing-subscriber with opentelemetry support

Embark Embark Crates.io Docs dependency status Build status

Opentelemetry support

This crate is a fork of EmbarkStudios/tracing-logfmt that adds the opentelemetry trace and span id to the log output.

Logfmt

Logfmt is a compact and simple log format for structured logging. Each log row contains one level of key/value pairs. To keep it as compact and readable as possible, values are only quoted if needed.

key=value otherkey="value with spaces" third="with escaped \"chars\""

There is no strict standard for the format, but it was first documented in this article by Brandur Leach.

License

This contribution is dual licensed under EITHER OF

at your option.

For clarity, "your" refers to Embark or any other licensee/user of the contribution.

Dependencies

~6–16MB
~180K SLoC