pub struct Stats {
pub total: usize,
pub by_tier: Vec<TierCount>,
pub by_namespace: Vec<NamespaceCount>,
pub expiring_soon: usize,
pub links_count: usize,
pub db_size_bytes: u64,
pub dim_violations: u64,
pub index_evictions_total: u64,
}Fields§
§total: usize§by_tier: Vec<TierCount>§by_namespace: Vec<NamespaceCount>§expiring_soon: usize§links_count: usize§db_size_bytes: u64§dim_violations: u64v0.6.3.1 P2 (G4) — count of rows whose stored embedding_dim
disagrees with the BLOB length (or whose column is missing while
a BLOB exists). 0 on a fresh database; non-zero indicates legacy
rows the operator should re-embed. Consumed by the P7 doctor.
index_evictions_total: u64v0.6.3.1 (P3, G2): cumulative HNSW oldest-eviction count since this
process started. Non-zero indicates the in-memory vector index has
hit its MAX_ENTRIES cap and silently dropped older embeddings —
recall quality may have degraded for evicted ids. Process-local
(not persisted) because the index itself is process-local.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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