Module plugin_component
Module plugin_component
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Built-in observability plugin component.
This module packages NeMo Relay’s first-party observability exporters behind the shared plugin configuration system. Each exporter section is opt-in: omitted sections and sections with enabled = false validate but do not register subscribers or construct exporters.
The plugin intentionally infers subscriber names from the component namespace so configuration remains portable across bindings. Agent Trajectory Observability Format (ATOF), OpenTelemetry, and OpenInference each register one global subscriber when enabled. Agent Trajectory Interchange Format (ATIF) uses a global dispatcher that detects top-level agent scopes and creates one scope-local exporter for each trajectory run. Coding-agent turns that need bounded traces are represented as agent scopes with role metadata.
Structs
- AtifSectionConfig: Per-trajectory ATIF exporter config.
- AtofEndpointSectionConfig: Streaming destination for raw ATOF events.
- AtofSectionConfig: Filesystem-backed ATOF JSONL exporter config.
- ComponentSpec: Top-level observability component wrapper.
- HttpStorageConfig: HTTP endpoint settings for ATIF trajectory upload.
- ObservabilityConfig: Canonical config document for the observability plugin component.
- OtlpSectionConfig: Shared OTLP exporter config for OpenTelemetry and OpenInference.
- S3StorageConfig: S3-compatible storage settings for ATIF trajectory upload.
Enums
- AtifStorageConfig: Remote storage destination for ATIF trajectory files.
Constants
- OBSERVABILITY_PLUGIN_KIND: The plugin kind registered by the core crate.
Functions
- deregister_observability_component: Deregisters the observability component kind from the core plugin registry.
- register_observability_component: Registers the observability component kind in the core plugin registry.