Module otel

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

OpenTelemetry subscriber support for NeMo Relay.

This crate adapts NeMo Relay lifecycle events into OpenTelemetry trace spans:

  • scope/tool/LLM Start events open spans
  • matching End events close spans
  • Mark events become span events on the active parent span when possible
  • orphan marks fall back to zero-duration spans so they still reach OTLP

The public API is intentionally small:

Structs

Enums

Type Aliases

  • Result: Result type for the OpenTelemetry subscriber crate.