Skip to main content

RuntimeReservationObservation

Struct RuntimeReservationObservation 

Source
pub struct RuntimeReservationObservation {
Show 28 fields pub reservation_id: RuntimeReservationId, pub lineage_id: RuntimeReservationId, pub task_attempt_id: Option<TaskAttemptId>, pub task_kind: Option<String>, pub action: RuntimeReservationAction, pub denied_action: Option<RuntimeReservationAction>, pub disposition: RuntimeReservationDisposition, pub alias: bool, pub reservation_kind: String, pub memory_space: String, pub memory_boundary: String, pub requested_bytes: u64, pub granted_bytes: u64, pub charged_delta_bytes: i128, pub current_reserved_bytes: u64, pub budget_bytes: u64, pub node_id: Option<String>, pub stage: Option<String>, pub chunk_index: Option<usize>, pub file_index: Option<usize>, pub source_location_id: Option<RuntimeSourceLocationId>, pub row_groups: Option<Vec<usize>>, pub attempt: Option<usize>, pub max_attempts: Option<usize>, pub resident_resource_id: Option<String>, pub source_read_contract_quality: Option<String>, pub source_read_planning_bytes: Option<u64>, pub source_read_estimated_bytes: Option<u64>,
}
Expand description

Context-rich reservation payload body retained out of line.

Fields§

§reservation_id: RuntimeReservationId

Identity of the reservation operated on at this boundary.

§lineage_id: RuntimeReservationId

Identity shared by reservations derived from the same ownership lineage.

§task_attempt_id: Option<TaskAttemptId>

Associated task attempt, or None outside task execution.

§task_kind: Option<String>

Associated compiled task category, or None when unavailable.

§action: RuntimeReservationAction

Reservation operation attempted at this boundary.

§denied_action: Option<RuntimeReservationAction>

Operation that was denied, or None when this record is not a denial.

§disposition: RuntimeReservationDisposition

Ownership result after the operation.

§alias: bool

Whether the reservation aliases existing ownership without a second charge.

§reservation_kind: String

Stable category of the reservation.

§memory_space: String

Diagnostic memory-domain label.

§memory_boundary: String

Diagnostic execution-boundary label for the charge.

§requested_bytes: u64

Bytes requested by the recorded operation.

§granted_bytes: u64

Bytes granted by the recorded operation.

§charged_delta_bytes: i128

Signed change in charged reservation bytes at this boundary.

§current_reserved_bytes: u64

Reservation bytes charged after this operation.

§budget_bytes: u64

Byte limit against which the reservation was checked.

§node_id: Option<String>

Associated native plan node label, or None when unavailable.

§stage: Option<String>

Associated execution-stage label, or None when unavailable.

§chunk_index: Option<usize>

Associated source chunk index, or None outside chunk work.

§file_index: Option<usize>

Associated source file index, or None outside file work.

§source_location_id: Option<RuntimeSourceLocationId>

Opaque query-scoped source-location digest, or None when unavailable. The digest excludes raw source text from the observation.

§row_groups: Option<Vec<usize>>

Selected row-group ordinals, or None when the operation has no selection.

§attempt: Option<usize>

Source operation attempt number, or None outside bounded retries.

§max_attempts: Option<usize>

Source retry bound, or None when unavailable.

§resident_resource_id: Option<String>

Associated resident-resource label, or None without a resident result.

§source_read_contract_quality: Option<String>

Source sizing evidence label, or None outside source reservation.

§source_read_planning_bytes: Option<u64>

Source contract planning byte charge, or None when unavailable.

§source_read_estimated_bytes: Option<u64>

Source contract estimated bytes, or None when unavailable.

Trait Implementations§

Source§

impl Clone for RuntimeReservationObservation

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RuntimeReservationObservation

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RuntimeReservationObservation

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for RuntimeReservationObservation

Source§

impl PartialEq for RuntimeReservationObservation

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for RuntimeReservationObservation

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for RuntimeReservationObservation

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more