ratel-ai-telemetry 0.1.0

Ratel telemetry conventions — the ratel.* overlay on OpenTelemetry gen_ai spans. Constants and helpers for the Ratel context engineering platform.
Documentation
  • Coverage
  • 80%
    32 out of 40 items documented0 out of 6 items with examples
  • Size
  • Source code size: 17.67 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 577.94 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ratel-ai/ratel
    207 9 8
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rstagi

ratel-ai-telemetry (Rust)

The ratel.* telemetry vocabulary as typed Rust constants: attribute keys, span and event names, and the value enums (Origin, SearchTarget, AuthOutcome). Codifies the Tier 2 overlay of ../CONVENTIONS.md so callers emit the convention without stringly-typed keys, plus the pinned semconv version (SEMCONV_VERSION) and the content-capture gate env var.

Emitting the vocabulary is done through the standard OpenTelemetry SDK; this crate adds no transport, no FFI, no schema (ADR-0007).

Library shape

  • Crate name: ratel-ai-telemetry
  • Library name: ratel_ai_telemetry
  • No dependencies; released under the telemetry-core-v* tag prefix (ADR-0008)
  • MIT (ADR-0009); member of the root Cargo workspace

Build & test

From the repo root:

cargo build  -p ratel-ai-telemetry
cargo test   -p ratel-ai-telemetry
cargo clippy -p ratel-ai-telemetry --all-targets -- -D warnings

The tests are the contract-against-the-pin conformance for the Rust helper: each constant and enum value is asserted against the vocabulary pinned in ../CONVENTIONS.md.