minitrace-rust
Extremely fast tracing library for Rust
File Explorer
Download Latest Version (.zip)- grcov.yml
- ci.yml
- coverage.yml
- typo.yml
- compare-m4.2xlarge.txt
- compare-m5.2xlarge.txt
- compare-m5a.2xlarge.txt
- compare-m6g.2xlarge.txt
- README.md
- benchmark-arch.svg
- benchmark-spans.svg
- head-benchmark.svg
- head-img-1280.svg
- head-img-640.svg
- jaeger-asynchronous.png
- jaeger-synchronous.png
- compare.rs
- object_pool.rs
- spsc.rs
- trace.rs
- asynchronous.rs
- get_started.rs
- log.rs
- synchronous.rs
- tail_sampling.rs
- unit_test.rs
- command.rs
- console_reporter.rs
- global_collector.rs
- id.rs
- mod.rs
- test_reporter.rs
- local_collector.rs
- local_span.rs
- local_span_line.rs
- local_span_stack.rs
- mod.rs
- raw_span.rs
- span_queue.rs
- legacy_spsc.rs
- mod.rs
- object_pool.rs
- spsc.rs
- tree.rs
- event.rs
- future.rs
- lib.rs
- macros.rs
- span.rs
- lib.rs
- Cargo.toml
- LICENSE
- lib.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- thrift.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- has-duplicated-arguments.rs
- has-duplicated-arguments.stderr
- has-empty-name.rs
- has-empty-name.stderr
- has-enter-on-poll-and-sync.rs
- has-enter-on-poll-and-sync.stderr
- has-expr-argument.rs
- has-expr-argument.stderr
- has-ident-arguments.rs
- has-ident-arguments.stderr
- has-name-and-short-name.rs
- has-name-and-short-name.stderr
- has-properties-and-enter-on-poll.rs
- has-properties-and-enter-on-poll.stderr
- item-is-not-a-function.rs
- item-is-not-a-function.stderr
- name-is-not-an-assignment-expression.rs
- name-is-not-an-assignment-expression.stderr
- properties-non-string.rs
- properties-non-string.stderr
- properties-partial-escape.rs
- properties-partial-escape.stderr
- trace-interleaved.rs
- trace-interleaved.stderr
- async-in-trait.rs
- async-trait.rs
- has-enter-on-poll.rs
- has-name-and-short-name.rs
- has-name-async-mut.rs
- has-name-async.rs
- has-name-mut.rs
- has-name.rs
- has-no-arguments.rs
- has-properties.rs
- has-short-name.rs
- ui.rs
- Cargo.toml
- LICENSE
- README.md
- docker-compose.yaml
- otel-collector-config.yaml
- lib.rs
- Cargo.toml
- LICENSE
- README.md
- main.rs
- Cargo.toml
- .gitignore
- Cargo.toml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- CONTRIBUTORS
- LICENSE
- README.md
- rustfmt.toml
- taplo.toml
- typos.toml
π Installation Guide
1. Get the code
git clone https://github.com/tikv/minitrace-rust
Downloads the entire project code from GitHub to your computer.
cd minitrace-rust
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f minitrace-opentelemetry/examples/docker-compose.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
