tracing-logfmt-otel

Crates.iotracing-logfmt-otel
lib.rstracing-logfmt-otel
version0.2.0
sourcesrc
created_at2023-10-31 11:28:57.646118
updated_at2024-01-15 11:30:51.712847
descriptionA fork of tracing-logfmt with added support for opentelemetry span data
homepagehttps://github.com/elkowar/tracing-logfmt
repositoryhttps://github.com/elkowar/tracing-logfmt
max_upload_size
id1019742
size66,058
ElKowar (elkowar)

documentation

README

🪵️ 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.

Commit count: 43

cargo fmt