Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

App-emit + telemetry ops - AppEmit, AppNotify, Record, IncrMetric.

AppEmit / AppNotify push onto ctx.syscall.pending_app_events; the Engine drains them into EngineStep::AppEvent. Record writes to ctx.syscall.record_buffer; IncrMetric bumps ctx.syscall.counters.

Structs§

AppEmitOp
Marker struct for dispatch_table TypeId keying.
AppNotifyOp
Marker struct for dispatch_table TypeId keying.
IncrMetricOp
Marker struct for dispatch_table TypeId keying.
RecordOp
Marker struct for dispatch_table TypeId keying.

Functions§

invoke_app_emit
AppEmit(value, name: string) → Sink. Expects a BytesValue input - the emitter is a byte-level surface, so callers wrap their payload in BytesValue upstream.
invoke_app_notify
AppNotify(trigger, name: string) → Sink. See invoke_app_emit for the reserved-prefix validation rule that applies here too.
invoke_incr_metric
IncrMetric(trigger, name: string, delta: int) → Sink.
invoke_record
Record(value, name: string) → Sink. Expects a BytesValue input - the record buffer stores byte payloads.
link_force
Linker-anchor - see bb_ops::link_force for details.