pub struct LookupMetricsSnapshot {Show 38 fields
pub hot_lookup_hit: u64,
pub hot_lookup_fallback: u64,
pub hot_lookup_fallback_overlay_rows: u64,
pub hot_lookup_fallback_runs: u64,
pub result_cache_memory_hit: u64,
pub result_cache_disk_hit: u64,
pub result_cache_miss: u64,
pub result_cache_persistent_write_us: u64,
pub get_run_opened: u64,
pub get_run_skipped: u64,
pub directory_lookup_hit: u64,
pub directory_lookup_fallback: u64,
pub directory_incomplete: u64,
pub directory_run_readers_opened: u64,
pub directory_early_stop_total: u64,
pub directory_complete_miss_total: u64,
pub result_cache_persist_enqueued_total: u64,
pub result_cache_persist_coalesced_total: u64,
pub result_cache_persist_dropped_store_total: u64,
pub result_cache_persist_remove_total: u64,
pub result_cache_persist_stale_store_skipped_total: u64,
pub result_cache_persist_errors_total: u64,
pub result_cache_persist_shutdown_abandoned_total: u64,
pub result_cache_persist_queue_depth: u64,
pub result_cache_persist_unavailable_total: u64,
pub result_cache_persist_skipped_total: u64,
pub result_cache_worker_spawn_failures_total: u64,
pub result_cache_worker_shutdown_total: u64,
pub hot_fallback_reasons: [u64; 9],
pub hot_fallback_overlay_versions_total: u64,
pub hot_fallback_runs_considered_total: u64,
pub hot_fallback_runs_opened_total: u64,
pub hot_fallback_pages_decoded_total: u64,
pub hot_fallback_rows_materialized_total: u64,
pub hot_lookup_duration_nanos: u64,
pub hot_fallback_duration_nanos: u64,
pub hot_mapping_rebuild_total: u64,
pub hot_checkpoint_rejected_total: u64,
}Expand description
Point-in-time copy of LookupMetrics. Returned from
Table::lookup_metrics_snapshot for /metrics exposure or test assertions.
Fields§
§hot_lookup_hit: u64§hot_lookup_fallback: u64§hot_lookup_fallback_overlay_rows: u64§hot_lookup_fallback_runs: u64§result_cache_memory_hit: u64§result_cache_disk_hit: u64§result_cache_miss: u64§result_cache_persistent_write_us: u64§get_run_opened: u64§get_run_skipped: u64§directory_lookup_hit: u64§directory_lookup_fallback: u64§directory_incomplete: u64§directory_run_readers_opened: u64§directory_early_stop_total: u64§directory_complete_miss_total: u64§result_cache_persist_enqueued_total: u64§result_cache_persist_coalesced_total: u64§result_cache_persist_dropped_store_total: u64§result_cache_persist_remove_total: u64§result_cache_persist_stale_store_skipped_total: u64§result_cache_persist_errors_total: u64§result_cache_persist_shutdown_abandoned_total: u64§result_cache_persist_queue_depth: u64Number of times persistent publication transitioned to unavailable (worker spawn failure, worker shutdown, queue unavailable).
result_cache_persist_skipped_total: u64Number of query-path persist operations skipped because publication was unavailable (the in-memory entry is kept; nothing hits disk).
result_cache_worker_spawn_failures_total: u64Number of background-worker spawn / I/O-setup failures.
result_cache_worker_shutdown_total: u64Number of background-worker shutdowns while the cache was live.
hot_fallback_reasons: [u64; 9]§hot_fallback_overlay_versions_total: u64§hot_fallback_runs_considered_total: u64§hot_fallback_runs_opened_total: u64§hot_fallback_pages_decoded_total: u64§hot_fallback_rows_materialized_total: u64§hot_lookup_duration_nanos: u64§hot_fallback_duration_nanos: u64§hot_mapping_rebuild_total: u64§hot_checkpoint_rejected_total: u64Trait Implementations§
Source§impl Clone for LookupMetricsSnapshot
impl Clone for LookupMetricsSnapshot
Source§fn clone(&self) -> LookupMetricsSnapshot
fn clone(&self) -> LookupMetricsSnapshot
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 LookupMetricsSnapshot
Source§impl Debug for LookupMetricsSnapshot
impl Debug for LookupMetricsSnapshot
Source§impl Default for LookupMetricsSnapshot
impl Default for LookupMetricsSnapshot
Source§fn default() -> LookupMetricsSnapshot
fn default() -> LookupMetricsSnapshot
Returns the “default value” for a type. Read more
impl Eq for LookupMetricsSnapshot
Source§impl PartialEq for LookupMetricsSnapshot
impl PartialEq for LookupMetricsSnapshot
impl StructuralPartialEq for LookupMetricsSnapshot
Auto Trait Implementations§
impl Freeze for LookupMetricsSnapshot
impl RefUnwindSafe for LookupMetricsSnapshot
impl Send for LookupMetricsSnapshot
impl Sync for LookupMetricsSnapshot
impl Unpin for LookupMetricsSnapshot
impl UnsafeUnpin for LookupMetricsSnapshot
impl UnwindSafe for LookupMetricsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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