Module plugin_component
Module plugin_component
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
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 or turn scopes and creates one scope-local exporter for each trajectory run. Coding-agent turns that need bounded traces carry role metadata; their declared scope type is preserved in the exported event stream.
Structs
- AtifSectionConfig: Per-trajectory ATIF exporter config.
- AtofFileSinkSectionConfig: File sink settings for the ATOF plugin section.
- AtofSectionConfig: Multi-sink ATOF JSONL exporter config.
- AtofStreamSinkSectionConfig: Stream sink settings for the ATOF plugin section.
- 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.
- AtofSinkSectionConfig: One plugin-managed destination for raw ATOF events.
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.