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
Cache
CacheEntries
CacheMissReason
ExecError
ExecFinish
Fields
§
outcome: ExecOutcomeExecStart
IndexDelta
LoadRowEfficiency
Fields
MutationCommitPlan
NonAtomicPartialCommit
Plan
Fields
§
grouped_execution_mode: Option<GroupedPlanExecutionMode>PlanChoice
PreparedShapeFinalization
RelationValidation
ReverseIndexDelta
RowsAggregated
RowsEmitted
RowsFiltered
RowsScanned
SaveMutation
SchemaReconcile
SchemaStoreFootprint
SchemaTransition
SqlCompileReject
SqlWrite
Fields
§
kind: SqlWriteKindSqlWriteError
UniqueViolation
Trait Implementations§
Source§impl Clone for MetricsEvent
impl Clone for MetricsEvent
Source§fn clone(&self) -> MetricsEvent
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetricsEvent
Auto Trait Implementations§
impl Freeze for MetricsEvent
impl RefUnwindSafe for MetricsEvent
impl Send for MetricsEvent
impl Sync for MetricsEvent
impl Unpin for MetricsEvent
impl UnsafeUnpin for MetricsEvent
impl UnwindSafe for MetricsEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more