opentelemetry-rust
opentelemetry-rust copied to clipboard
Initial implementation of the logging SDK spec
This PR is a first stab at implementing the logging SDK specification. Owing to the similar nature of traces and logging data, it's mostly a s/span/log/g
on the trace SDK, but without corresponding additions to the api
package, as the specification's intent is for the SDK to be used by logging libraries, not developers.
There is a bit of duplication, especially with respect to how the batching is implemented, and I'm curious in seeing whether that could be resolved by unifying TraceRuntime
and LogRuntime
into a signal-agnostic trait.