Skip to main content

Module metadata

Module metadata 

Source
Expand description

Runtime metadata collection boundary.

§Fragment: metadata-collection-boundary

Metadata remains split by source type: context metadata identifies an execution attempt, message metadata travels with payloads, and lifecycle metadata records runtime transitions. Message boundary records describe send, receive, and drop observations at the port seam. The sink below is only the collection seam. It lets runtime code report those existing facts without collapsing them into a premature storage, tracing, or graph model.

Structs§

DeadlockDiagnosticMetadata
Machine-facing workflow deadlock diagnostic metadata.
ErrorMetadataRecord
One structured error observation at a runtime boundary.
ExternalEffectMetadataRecord
One structured external effect observation at a node boundary.
JsonlMetadataSink
Metadata sink that writes one stable JSON object per line.
MessageBoundaryRecord
One message observation at a runtime boundary.
NoopMetadataSink
Metadata sink that intentionally records nothing.
QueuePressureRecord
One queue pressure or capacity observation at a port boundary.
TieredMetadataPolicy
Policy used by a tiered metadata sink.
TieredMetadataSink
Metadata sink adapter that applies a cost-tier policy before forwarding.

Enums§

ErrorDiagnosticMetadata
Structured diagnostic payload attached to an error metadata record.
ErrorMetadataKind
Scope where an error was observed by the runtime.
ExternalEffectMetadataKind
External effect observation kind at a node boundary.
MessageBoundaryKind
Where a message was observed at the port boundary.
MetadataRecord
One metadata fact observed at a runtime boundary.
MetadataTier
Cost tier for one metadata record.
QueuePortDirection
Direction of a queue observation relative to the current node.
QueuePressureBoundaryKind
Where queue pressure was observed at the port boundary.

Traits§

MetadataSink
Collection sink for runtime metadata records.

Functions§

metadata_record_to_json_value
Convert one metadata record into the stable JSON shape used by JSONL sinks.