Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-telemetry API Reference (generated)

Crate: vox-telemetry · Version: 0.6.0 · Target: Library (lib.rs)

L1 telemetry facade: canonical metric-type constants, TelemetryRecorder trait, and record_event! macro. Zero domain dependencies.

vox-telemetry — L1 telemetry facade.

Zero domain dependencies. Every emitter in the workspace depends on this crate for the record_event! macro and METRIC_TYPE_* constants. Sinks live in higher-layer crates (vox-db, vox-cli) and register themselves at binary startup via [set_global_recorder].

use vox_telemetry::{record_event, TelemetryEvent, ResearchMetricEvent, METRIC_TYPE_BENCHMARK_EVENT};
record_event!(&TelemetryEvent::ResearchMetric(ResearchMetricEvent {
session_id: "bench:myrepo".into(),
metric_type: METRIC_TYPE_BENCHMARK_EVENT.into(),
metric_value: Some(42.0),
metadata_json: None,
}));

If no recorder is registered, record_event! is a no-op.

ModuleDescription
aggregator—
config—
no_op—
recorder—
research_trial—
semcov_wave27_tests—
span—
types—