Expand description
Native typed runtime observations and bounded query-local capture.
Modules§
- graph_
observation - Measured graph-execution observation.
Structs§
- Admission
Request Id - Service-local identity for one admission attempt.
- Attempt
Admission Fact - Immutable device grant and wait duration committed by admission.
- Attempt
Admission Wait Fact - Final queue state captured when a queued admission receives its immutable grant.
- Attempt
Composed Schedule Projection - Immutable composed memory schedule bound to an admitted attempt.
- Attempt
Failure Summary - Bounded retained classification for a primary terminal failure.
- Attempt
Final Domain Usage - Exact final counters observed for one attempt allocation domain.
- Attempt
Id - Opaque execution-attempt identity minted by the runtime.
Display and serialization use
attempt-followed by 32 hexadecimal digits. The identity is independent of caller query and trace correlations. - Attempt
Query Id - Opaque caller query correlation, limited to 256 UTF-8 bytes and required to be non-blank.
- Attempt
Retry Advice - One bounded retry/recovery recommendation sealed with an attempt report.
- Attempt
Timestamps - Attempt lifecycle times in nanoseconds from one monotonic attempt clock. Optional boundaries are absent when they were not recorded. These values are elapsed times, without a wall-clock epoch.
- Attempt
Trace Context - Opaque caller trace correlation, limited to 1024 UTF-8 bytes and required to be non-blank.
- Barrier
Definition Row - One compiled barrier definition in the static runtime topology.
- Budget
Window Peaks - The largest allocator high-water and retained bytes the budget reports in one window carried.
- Cleanup
Failure Summary - First bounded cleanup failure retained by an attempt lifecycle.
- Compiled
Edge Row - One compiled dependency edge in the static runtime topology.
- Deterministic
Runtime Observation Clock - Deterministic clock for contract tests and controlled simulations.
- Lakehouse
Cache Fill Event Snapshot - Credential-free snapshot of a background lakehouse cache-fill completion event.
- Live
Runtime Observation Snapshot - Immutable live snapshot. Its footer is always incomplete and has no terminal outcome.
- Metrics
Recorder - Records one plan execution’s metrics into its observation owner.
- Observation
Sequence - Total recorder order assigned to every attempted record.
- Plan
Edge Row - One directed edge in the static native plan topology.
- Plan
Execution Id - Identity for one invocation of a native plan.
- Plan
Node Row - One native plan node in the static topology.
- Query
Attempt Report - Immutable terminal attempt record published after cleanup and sealing.
- Runtime
Barrier Id - Compiled pipeline-barrier identity scoped to one plan execution.
- Runtime
Cleanup Failure Observation - Secondary-cleanup-failure payload body retained out of line.
- Runtime
Event Context - Optional event identity attached outside the payload.
- Runtime
Execution Observation Scope - Cloneable identity and recording capability for descendants of one plan execution. It deliberately has no seal authority.
- Runtime
GpuJob Observation - GPU-job payload body retained out of line.
- Runtime
Observation Config - Query-local recorder configuration.
- Runtime
Observation Export Error - Typed JSONL export error. Export failure never mutates the sealed snapshot.
- Runtime
Observation Handle - Cheaply cloneable recording capability without terminal-seal authority.
- Runtime
Observation Limits - Recorder limits copied into the manifest.
- Runtime
Observation Owner - Cloneable shared ownership of one query observation session.
- Runtime
Observation Session - Owner-only capability for one query observation lifetime.
- Runtime
Operator Stage Guard - Exactly-once Started/terminal guardian for one operator substage.
- Runtime
Operator Stage Identity - Stable identities that travel with every Started/terminal pair.
- Runtime
Pipeline Edge Id - Compiled-pipeline edge identity scoped to one plan execution.
- Runtime
Plan Execution Lifecycle - One plan invocation inside a query whose owner outlives native execution.
- Runtime
Plan Node Id - Plan-node identity scoped to one plan execution.
- Runtime
Query Lifecycle - Owner-only query lifecycle. Normal completion consumes the owner; Drop terminalizes abandoned and unwinding executions without exposing seal authority to workers.
- Runtime
Reservation Id - Reservation identity scoped to one plan execution.
- Runtime
Reservation Observation - Context-rich reservation payload body retained out of line.
- Runtime
Resource Id - Resident-resource identity scoped to one plan execution.
- Runtime
Resource Row - One resident resource in the static runtime topology.
- Runtime
Sink Id - Compiled pipeline-sink identity scoped to one plan execution.
- Runtime
Source Read Observation - Source-read payload body retained out of line.
- Runtime
Span Id - Span identity scoped to one query.
- Runtime
Stream Lease Scope - Explicit correlation available when a service-stream lease is acquired.
- Runtime
Task Id - Compiled task identity scoped to one native plan invocation.
- Runtime
Task Lifecycle - Exactly-once lifecycle for one compiled task attempt.
- Runtime
Timeline Event - One dynamic event in recorder total order.
- Runtime
Worker Id - Worker identity scoped to one query.
- Sealed
Attempt Labels - Stable fixed-cardinality labels derived from one sealed attempt projection.
- Sealed
Attempt Projection - Bounded projection of facts from one already-sealed attempt report.
- Sealed
Runtime Observation Snapshot - Immutable sealed snapshot accepted by the JSONL exporter.
- Sink
Definition Row - The compiled result-sink definition in the static runtime topology.
- Source
Read Totals - Exact source-read totals for one query.
- Task
Definition Row - One compiled task definition in the static runtime topology.
- Worker
Definition Row - One host worker definition used by GPU or source execution.
Enums§
- Attempt
Allocator Event Source - Closed source category copied from one cuDF allocator-ring record.
- Attempt
Capacity Disposition - Ownership of admitted capacity after the terminal release commit.
- Attempt
Cleanup Disposition - Cleanup result fixed before the terminal report is published.
- Attempt
Disposition - Execution coverage assigned after planning, independently of terminal outcome.
- Attempt
Evidence Provenance - How one bounded resource-evidence field was obtained.
- Attempt
Failure Fact Key - Stable allowlisted fact keys for bounded failure summaries.
- Attempt
Failure Fact Value - Stable allowlisted fact values for bounded failure summaries.
- Attempt
Failure Operation - Coarse owning operation for a stable failure projection.
- Attempt
Failure Status - Closed stability/recovery status for a report-visible failure.
- Attempt
Health Transition - The device-health result decided by an admitted attempt’s terminal release commit.
- Attempt
Retry Prerequisite - Closed condition that must hold before acting on an
AttemptRetryRecoveryrecommendation. - Attempt
Retry Recovery - Closed recovery action advised by one sealed attempt report.
- Cleanup
Failure Phase - Closed lifecycle phase at which a secondary cleanup failure occurred.
- GpuJob
Lifecycle State - GPU execution-pool job lifecycle state.
- Plan
Execution Boundary Kind - Plan-execution observation boundary.
- Query
Boundary Kind - Query-level observation boundary.
- Runtime
Observation Export Error Kind - Machine-readable export failure category.
- Runtime
Observation Export Error Status - Retry status derived from the export failure.
- Runtime
Observation Loss Reason - Reason an attempted record was not retained.
- Runtime
Observation Payload - Typed dynamic event payload.
- Runtime
Observation Record - One independently parseable JSONL record.
- Runtime
Observation Record Class - Retention class used by explicit loss accounting.
- Runtime
Observation Record Disposition - Infallible result of one hot-path record attempt.
- Runtime
Operator Stage Kind - Operator-substage category for blocking native primitives.
- Runtime
Operator Stage State - Lifecycle state for one operator-substage span.
- Runtime
Reservation Action - Reservation operation recorded at the ownership boundary that applied it.
- Runtime
Reservation Disposition - Terminal or nonterminal ownership disposition for a reservation operation.
- Runtime
Resource Domain - Resource domain carried by a static resource definition.
- Runtime
Terminal Outcome - Query terminal outcome stored outside the bounded record collection.
- Runtime
Topology Record - Static topology accepted by the bounded recorder.
- Source
Read Fact - One source-read fact, recorded once at the boundary that owns it.
- Source
Read Lifecycle State - Source-read scheduler lifecycle state.
- Stream
Lease Lifecycle State - Service stream-lease lifecycle state.
- Task
Lifecycle State - Exactly-once lifecycle state for one compiled task attempt.
Constants§
- COMPOSED_
SCHEDULE_ PROJECTION_ SCHEMA - MAX_
ATTEMPT_ QUERY_ ID_ BYTES - Maximum UTF-8 byte length for caller-supplied attempt query correlation.
- MAX_
ATTEMPT_ TRACE_ CONTEXT_ BYTES - Maximum UTF-8 byte length for caller-supplied opaque trace context.
- QUERY_
ATTEMPT_ REPORT_ SCHEMA - Schema label of
QueryAttemptReport. Decoding rejects every other label. - RUNTIME_
OBSERVATION_ JSONL_ SCHEMA - JSONL schema emitted by sealed runtime observation snapshots.
- SEALED_
ATTEMPT_ PROJECTION_ SCHEMA - Schema label for the bounded public projection of a sealed attempt report.
Functions§
- stage_
context_ from_ execution - Returns the observation handle, plan execution id, and parent span id of a runtime execution scope.
- task_
attempt_ id - Builds one task-attempt identity from an explicit task and attempt number.
- write_
runtime_ observation_ jsonl - Writes a sealed snapshot as ordered, independently parseable JSONL records.