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§
- AppEmit
Op - Marker struct for dispatch_table TypeId keying.
- AppNotify
Op - Marker struct for dispatch_table TypeId keying.
- Incr
Metric Op - Marker struct for dispatch_table TypeId keying.
- Record
Op - Marker struct for dispatch_table TypeId keying.
Functions§
- invoke_
app_ emit AppEmit(value, name: string) → Sink. Expects aBytesValueinput - the emitter is a byte-level surface, so callers wrap their payload inBytesValueupstream.- invoke_
app_ notify AppNotify(trigger, name: string) → Sink. Seeinvoke_app_emitfor 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 aBytesValueinput - the record buffer stores byte payloads.- link_
force - Linker-anchor - see
bb_ops::link_forcefor details.