Skip to main content

MetricsEvent

Enum MetricsEvent 

Source
pub enum MetricsEvent {
Show 28 variants AcceptedSchemaFootprint { entity_path: &'static str, fields: u64, nested_leaf_facts: u64, }, Cache { entity_path: &'static str, kind: CacheKind, outcome: CacheOutcome, }, CacheEntries { kind: CacheKind, entries: u64, }, CacheMissReason { entity_path: &'static str, kind: CacheKind, reason: CacheMissReason, }, ExecError { kind: ExecKind, entity_path: &'static str, outcome: ExecOutcome, }, ExecFinish { kind: ExecKind, entity_path: &'static str, rows_touched: u64, inst_delta: u64, outcome: ExecOutcome, }, ExecStart { kind: ExecKind, entity_path: &'static str, }, IndexDelta { entity_path: &'static str, inserts: u64, removes: u64, }, LoadRowEfficiency { entity_path: &'static str, candidate_rows_scanned: u64, candidate_rows_filtered: u64, result_rows_emitted: u64, }, MutationCommitPlan { entity_path: &'static str, class: MutationCommitClass, }, NonAtomicPartialCommit { entity_path: &'static str, committed_rows: u64, }, Plan { entity_path: &'static str, kind: PlanKind, grouped_execution_mode: Option<GroupedPlanExecutionMode>, }, PlanChoice { entity_path: &'static str, reason: PlanChoiceReason, }, PreparedShapeFinalization { entity_path: &'static str, outcome: PreparedShapeFinalizationOutcome, }, RelationValidation { entity_path: &'static str, reverse_lookups: u64, blocked_deletes: u64, }, ReverseIndexDelta { entity_path: &'static str, inserts: u64, removes: u64, }, RowsAggregated { entity_path: &'static str, rows_aggregated: u64, }, RowsEmitted { entity_path: &'static str, rows_emitted: u64, }, RowsFiltered { entity_path: &'static str, rows_filtered: u64, }, RowsScanned { entity_path: &'static str, rows_scanned: u64, }, SaveMutation { entity_path: &'static str, kind: SaveMutationKind, rows_touched: u64, }, SchemaReconcile { entity_path: &'static str, outcome: SchemaReconcileOutcome, }, SchemaStoreFootprint { encoded_bytes: u64, entity_path: &'static str, latest_snapshot_bytes: u64, snapshots: u64, }, SchemaTransition { entity_path: &'static str, outcome: SchemaTransitionOutcome, }, SqlCompileReject { entity_path: &'static str, phase: SqlCompileRejectPhase, }, SqlWrite { entity_path: &'static str, kind: SqlWriteKind, matched_rows: u64, mutated_rows: u64, returning_rows: u64, }, SqlWriteError { entity_path: &'static str, kind: SqlWriteKind, class: ErrorClass, }, UniqueViolation { entity_path: &'static str, },
}
Expand description

MetricsEvent

Variants§

§

AcceptedSchemaFootprint

Fields

§entity_path: &'static str
§fields: u64
§nested_leaf_facts: u64
§

Cache

Fields

§entity_path: &'static str
§

CacheEntries

Fields

§entries: u64
§

CacheMissReason

Fields

§entity_path: &'static str
§

ExecError

Fields

§entity_path: &'static str
§outcome: ExecOutcome
§

ExecFinish

Fields

§entity_path: &'static str
§rows_touched: u64
§inst_delta: u64
§outcome: ExecOutcome
§

ExecStart

Fields

§entity_path: &'static str
§

IndexDelta

Fields

§entity_path: &'static str
§inserts: u64
§removes: u64
§

LoadRowEfficiency

Fields

§entity_path: &'static str
§candidate_rows_scanned: u64
§candidate_rows_filtered: u64
§result_rows_emitted: u64
§

MutationCommitPlan

Fields

§entity_path: &'static str
§

NonAtomicPartialCommit

Fields

§entity_path: &'static str
§committed_rows: u64
§

Plan

Fields

§entity_path: &'static str
§grouped_execution_mode: Option<GroupedPlanExecutionMode>
§

PlanChoice

Fields

§entity_path: &'static str
§

PreparedShapeFinalization

Fields

§entity_path: &'static str
§

RelationValidation

Fields

§entity_path: &'static str
§reverse_lookups: u64
§blocked_deletes: u64
§

ReverseIndexDelta

Fields

§entity_path: &'static str
§inserts: u64
§removes: u64
§

RowsAggregated

Fields

§entity_path: &'static str
§rows_aggregated: u64
§

RowsEmitted

Fields

§entity_path: &'static str
§rows_emitted: u64
§

RowsFiltered

Fields

§entity_path: &'static str
§rows_filtered: u64
§

RowsScanned

Fields

§entity_path: &'static str
§rows_scanned: u64
§

SaveMutation

Fields

§entity_path: &'static str
§rows_touched: u64
§

SchemaReconcile

Fields

§entity_path: &'static str
§

SchemaStoreFootprint

Fields

§encoded_bytes: u64
§entity_path: &'static str
§latest_snapshot_bytes: u64
§snapshots: u64
§

SchemaTransition

Fields

§entity_path: &'static str
§

SqlCompileReject

Fields

§entity_path: &'static str
§

SqlWrite

Fields

§entity_path: &'static str
§matched_rows: u64
§mutated_rows: u64
§returning_rows: u64
§

SqlWriteError

Fields

§entity_path: &'static str
§

UniqueViolation

Fields

§entity_path: &'static str

Trait Implementations§

Source§

impl Clone for MetricsEvent

Source§

fn clone(&self) -> MetricsEvent

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 Copy for MetricsEvent

Source§

impl Debug for MetricsEvent

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V