metrics-server
Use this skill when working on benchmark telemetry ingest, run lifecycle, or report export.
Commands
cargo build -p metrics-server
target/debug/metrics-server serve \
--db /tmp/metrics.sqlite \
--http-addr 127.0.0.1:18080 \
--otlp-grpc-addr 127.0.0.1:14317
Benchmark reports should come from metrics-server data. Stage servers emit OTLP; they do not own canonical report export.
Workflow
- Start
metrics-serverbefore a benchmark or experimental skippy run. - Pass the OTLP endpoint to skippy stages with
--metrics-otlp-grpc. - Use
--debug-retain-raw-otlponly for surgical debugging; default reports should avoid retaining raw payloads. - Finalize the run through the HTTP API and export
report.jsonfrom metrics-server data.