Expand description
Core graph nomenclature used across Peep’s runtime model.
Event: a point-in-time occurrence with a timestamp.Entity: a runtime thing that exists over time (for example a lock, future, channel, request, or connection).Edge: a relationship between entities (causal or structural).Scope: an execution container that groups entities (for example a process, thread, or task).
r[impl model.summary] In short: events happen to entities, entities are connected by edges, and entities live inside scopes.
Macros§
- declare_
edge_ kind_ slots - declare_
entity_ body_ slots - declare_
event_ kind_ slots - declare_
event_ target_ slots - declare_
scope_ body_ slots - define_
entity_ body - impl_
edge_ kind_ slot - impl_
entity_ body_ slot - impl_
event_ kind_ slot - impl_
event_ target_ slot - impl_
scope_ body_ slot - impl_
sqlite_ json
Structs§
- Aether
Entity - Synthetic entity for uninstrumented tasks.
- ApiError
- Backtrace
Frame Resolved - Backtrace
Frame Unresolved - Backtrace
Id - Broadcast
RxEntity - Broadcast
TxEntity - Channel
Received Event - Channel
Received Kind Slot - Channel
Sent Event - Channel
Sent Kind Slot - Command
Entity - Connected
Process Info - Connection
Id - Connection
Scope Body - Connection
Scope Slot - Connections
Response - API response for connected processes.
- Context
Code Line - Context
Separator - Custom
Entity - A user-defined entity kind with arbitrary metadata.
- Custom
Event Kind - A user-defined event kind with arbitrary payload.
- CutAck
- Process-to-server acknowledgement of cursor for a cut barrier.
- CutId
- Logical barrier identifier used to coordinate multi-process “cuts”.
- CutRequest
- Server-to-process request to acknowledge current cursor for a cut.
- CutStatus
Response - Diff
Checkpoint - Optional periodic checkpoint to bound replay time.
- Edge
- Relationship between two entities.
- Entity
- A: future, a lock, a channel end (tx, rx), a connection leg, a socket, etc.
- Entity
Id - Opaque textual entity identifier suitable for wire formats and JS runtimes.
- Entity
Target Slot - Event
- EventId
- Opaque textual event identifier suitable for wire formats and JS runtimes.
- File
OpEntity - Frame
Summary - Future
Entity - Held
ByEdge Kind Slot - Json
- Raw JSON text payload used by request/response entities.
- Line
Range - A 1-based inclusive line range within a source file.
- Lock
Entity - Mpsc
RxEntity - Mpsc
TxEntity - NetAccept
Entity - NetConnect
Entity - NetRead
Entity - NetWrite
Entity - Notify
Entity - Once
Cell Entity - Oneshot
RxEntity - Oneshot
TxEntity - PTime
- process start time + N milliseconds
- Paired
With Edge Kind Slot - Polls
Edge Kind Slot - Process
Frame View - Per-process data within a recording frame.
- Process
Id - Process
Scope Body - Process
Scope Slot - Process
Snapshot View - Per-process envelope inside a snapshot cut.
- Pull
Changes Request - Pull request for change stream deltas.
- Pull
Changes Response - Delta response for one pull step.
- Query
Request - Record
Current Response - Record
Start Request - Recording
Frame - A single recorded frame — a point-in-time snapshot of all processes.
- Recording
Import Body - Recording
Import Frame - Recording
Session - Metadata for a recording session.
- Recording
Session Info - Request
Entity - Correlation token for RPC is the request entity id propagated in metadata.
The receiver generates a fresh response entity id and emits
request -> response. - Response
Entity - Scope
- A scope groups execution context over time (for example process/thread/task/connection).
- Scope
Entity Link - ScopeId
- Opaque textual scope identifier suitable for wire formats and JS runtimes.
- Scope
Target Slot - Semaphore
Entity - SeqNo
- Monotonic sequence number within one process change stream.
- Session
Id - Snapshot
- A snapshot is a point-in-time process envelope of graph state.
- Snapshot
Backtrace - Snapshot
CutResponse - Top-level response for
/api/snapshot. - Snapshot
Frame Record - Snapshot
Symbolication Update - Source
Preview Batch Request - Request body for
POST /api/source/previews. - Source
Preview Batch Response - Response for
POST /api/source/previews. - Source
Preview Response - Response for
GET /api/source/preview. - SqlRequest
- SqlResponse
- Stamped
Change - A sequence-stamped change item.
- State
Changed Kind Slot - Stream
Cursor - Last durable/applied cursor for one stream.
- Stream
Id - Identity of one append-only change stream.
- Task
Scope Body - Task
Scope Slot - Thread
Scope Body - Thread
Scope Slot - Timed
OutProcess - Trigger
CutResponse - Waiting
OnEdge Kind Slot - Watch
RxEntity - Watch
TxEntity
Enums§
- Change
- One canonical graph mutation in the append-only stream.
- Channel
Dir - Direction
- Edge
Kind - Entity
Body - Event
Kind - Event
Target - File
OpKind - Lock
Kind - Once
Cell State - Recording
Session Status - Recording
Status - Status of a recording session.
- Response
Error - Response
Status - Scope
Body - Snapshot
Backtrace Frame - Source
Context Line - A single entry in a syntax-highlighted source context excerpt.