pub struct TtlStats {
pub total_cleaned: u64,
pub last_cleanup_count: u64,
pub last_cleanup_duration_ms: u64,
pub last_cleanup_at: u64,
pub cleanup_runs: u64,
pub failed_cleanups: u64,
pub avg_cleaned_per_run: f64,
pub namespace_stats: HashMap<NamespaceId, NamespaceCleanupStats>,
}Expand description
Statistics for TTL cleanup operations
Fields§
§total_cleaned: u64Total vectors cleaned up since service start
last_cleanup_count: u64Vectors cleaned in the last cleanup run
last_cleanup_duration_ms: u64Duration of the last cleanup run
last_cleanup_at: u64Timestamp of last cleanup (Unix epoch seconds)
cleanup_runs: u64Number of cleanup runs performed
failed_cleanups: u64Number of failed cleanup attempts
avg_cleaned_per_run: f64Average vectors cleaned per run
namespace_stats: HashMap<NamespaceId, NamespaceCleanupStats>Per-namespace cleanup counts
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TtlStats
impl RefUnwindSafe for TtlStats
impl Send for TtlStats
impl Sync for TtlStats
impl Unpin for TtlStats
impl UnsafeUnpin for TtlStats
impl UnwindSafe for TtlStats
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> 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