The OTAP Pipeline project is a part of the OTEL Arrow Project. See the project-level CONTRIBUTING document.
Use the xtask commands below depending on the stage of development:
- Run
cargo xtask quick-checkfor faster local iteration while working on Rust changes. This runs a narrower subset of the full checks and only compiles test targets instead of running the full workspace test suite. - Run
cargo xtask check-bencheswhen bench targets or bench-only code changes. - Run
cargo xtask check --diagnosticswhen you need a timing-oriented summary of slow check phases, compile hotspots, or test binaries. See docs/xtask-diagnostics.md. - Run
cargo xtask checkbefore sending changes. This is the required full validation suite: structure checks, formatting, clippy on--all-targets, andcargo test --workspace.
For this workspace, we keep cargo test --workspace as the default full test
runner instead of nextest. In local measurements, nextest was slower for
the full check path, likely because many of the longest tests are concentrated
in a few large integration-style binaries, so the extra runner orchestration did
not offset the limited parallelism gains.
All internal logging MUST use the otel_* macros from otap_df_telemetry
(not tracing::info! or println!). See the
Events Guide details.
TODO: Add metrics information
Run
docker build \
--build-context otel-arrow=../../ \
-f Dockerfile \
-t df_engine \
.