Skip to main content

Module plugin_component

Module plugin_component 

Source
Expand description

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) registers one global subscriber when enabled. Typed OpenTelemetry endpoints share one global fan-out subscriber. 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.
OpenTelemetryEndpointConfig
One typed OTLP destination.
OpenTelemetrySectionConfig
Multi-endpoint OpenTelemetry export settings.
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.