Module openinference
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
OpenInference subscriber support for NeMo Relay.
This crate adapts NeMo Relay lifecycle events into OpenInference trace spans:
- scope/tool/LLM
Startevents open spans - matching
Endevents close spans Markevents 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:
OpenInferenceConfigconfigures the OTLP exporter and OpenInference metadataOpenInferenceSubscriberexposes a NeMo RelayEventSubscriberFnand convenienceregister/deregister/force_flush/shutdownmethods
Structs
- OpenInferenceConfig: Configuration for the OpenInference subscriber.
- OpenInferenceSubscriber: OpenInference-backed NeMo Relay subscriber.
Enums
- OpenInferenceError: Errors produced while configuring or operating the OpenInference subscriber.
- OtlpTransport: Supported OTLP trace transports.
Type Aliases
- Result: Result type for the OpenInference subscriber crate.