Skip to content

rigetti/pyo3-opentelemetry

Repository files navigation

PyO3 Tracing Crates

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:

For a functional example of usage of all of these crates, see examples/pyo3-opentelemetry-lib.

Development

Rust

It should be sufficient to install the Rust toolchain and cargo-make. Then:

cargo make check-all

Python

Install:

  • Python - installation through pyenv is recommended.
  • Poetry - for installing plain Python dependencies.