|
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
README.md
OpenTelemetry Log Appender for tracing - Example
This example shows how to use the opentelemetry-appender-tracing crate, which is a logging appender that bridges logs from the tracing crate to OpenTelemetry. The example setups a LoggerProvider with stdout exporter, so logs are emitted to stdout.
Usage
Run the following, and Logs emitted using tracing will be written out to stdout.
cargo run