Skip to content
LogoLogo

Getting started

Run the bundled example - a generator feeding a filter and a 5s window, printing aggregates to stdout:

cargo run -p headrace -- run examples/latency.yaml

Validate a pipeline, or print the IR JSON Schema:

cargo run -p headrace -- validate examples/latency.yaml
cargo run -p headrace -- schema

Export headrace's own metrics over OTLP while it runs:

cargo run -p headrace -- --metrics otlp run examples/latency.yaml