Module event
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.
Lifecycle event DTOs. Event types for Agent Trajectory Observability Format (ATOF) runtime events.
Structs
- BaseEvent: Shared event metadata carried by every ATOF event.
- CategoryProfile: Category-specific profile data.
- DataSchema: Identifier for the schema that describes an event’s opaque
datapayload. - EventCategory: Semantic category carried by ATOF
category. - EventSanitizeFields: Observability fields that event sanitizers may rewrite.
- FiniteF64: A finite IEEE 754 double-precision value.
- HistogramBoundaries: Explicit histogram bucket boundaries that are finite and strictly increasing.
- InstrumentDescriptor: Descriptor fields shared by all recordings of an instrument.
- InstrumentName: An OpenTelemetry instrument name together with its canonical form.
- MarkEvent: ATOF point-in-time mark event.
- MetricAttributes: A deterministic map of typed OpenTelemetry metric attributes.
- MetricEnvelope: Payload stored in a mark using
METRIC_DATA_SCHEMA_NAME. - MetricMeasurement: One recording operation in a Relay metric mark.
- MetricValidationError: Validation error for a Relay metric envelope.
- ParseLogSeverityError: Error returned when parsing an unsupported log severity.
- PendingMarkSpec: Mark requested by middleware for materialization by a lifecycle owner.
- ScopeEvent: ATOF scope lifecycle event.
- ValidatedMetricMeasurement: Parsed metric measurement that is safe for OTLP export.
Enums
- AttributeValue: Typed OpenTelemetry attribute values, including homogeneous primitive arrays.
- Event: Tagged union covering the two ATOF event kinds emitted by the runtime.
- LogSeverity: Severity attached to a mark that may be projected as an OpenTelemetry log.
- MetricKind: OpenTelemetry instrument kind represented by a metric measurement mark.
- MetricValue: One typed metric value accepted by Relay’s metric schema.
- MetricValueType: Numeric representation used by a metric measurement.
- ScopeCategory: Agent Trajectory Observability Format (ATOF) lifecycle phase for a scope event.
Constants
- ATOF_VERSION: Agent Trajectory Observability Format (ATOF) protocol version emitted by this runtime.
- LOG_SEVERITY_METADATA_KEY: Reserved metadata key carrying the canonical severity of a mark exported as a log.
- METRIC_DATA_SCHEMA_NAME: Relay-owned schema name for mark payloads containing metric measurements.
- METRIC_DATA_SCHEMA_VERSION: Current Relay-owned metric measurement schema version.
Functions
- attributes_from_handle: Convert handle bitflags into ATOF attributes.
- llm_attributes_to_strings: Convert LLM bitflags into ATOF attributes.
- scope_attributes_to_strings: Convert scope bitflags into ATOF attributes.
- tool_attributes_to_strings: Convert tool bitflags into ATOF attributes.
- validate_metric_measurements: Validate a complete list of metric measurements atomically.