This repository contains four crates to support the ability of upstream pyo3
extension modules to support the ability of their dependents to gather tracing telemetry from the instrumented Rust source code:
- crates/opentelemetry: propagates OpenTelemetry context from Python into Rust.
- crates/opentelemetry-macros: defines proc macros for
pyo3-opentelemetry
. - crates/tracing-subscriber: supports configuration and initialization of Rust tracing subscribers from Python.
For a functional example of usage of all of these crates, see examples/pyo3-opentelemetry-lib.
It should be sufficient to install the Rust toolchain and cargo-make. Then:
cargo make check-all
Install: