axiomhq/tracing-axiom

Support collecting logs outside of spans

Open

#12 opened on Oct 16, 2023

 (3 comments) (1 reaction) (0 assignees)Rust (8 forks)auto 404
documentationenhancementgood first issue

Repository metrics

Stars
 (27 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi,

just came across this library in search how to best integrate logs+traces from a Rust app into axiom. One of the stated limitations in the README is that this library does not support collecting logs outside of spans - presumably because it only supports the otel trace protocol.

Anyways - I'd suggest to have a look at integrating https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-tracing which in my understanding would allow collecting tracing events that are emitted from outside a span.

Contributor guide