pub struct SystemMetricsSnapshot {Show 23 fields
pub id: Uuid,
pub snapshot_type: SystemMetricsSnapshotType,
pub working_memory_count: i32,
pub warm_memory_count: i32,
pub cold_memory_count: i32,
pub frozen_memory_count: i32,
pub total_storage_bytes: i64,
pub compressed_storage_bytes: i64,
pub average_compression_ratio: Option<f64>,
pub average_query_time_ms: Option<f64>,
pub p95_query_time_ms: Option<f64>,
pub p99_query_time_ms: Option<f64>,
pub slow_query_count: i32,
pub consolidation_backlog: i32,
pub migration_queue_size: i32,
pub failed_operations_count: i32,
pub vector_index_size_mb: Option<f64>,
pub vector_search_performance: Value,
pub database_cpu_percent: Option<f64>,
pub database_memory_mb: Option<f64>,
pub connection_count: Option<i32>,
pub active_connections: Option<i32>,
pub recorded_at: DateTime<Utc>,
}Expand description
System performance monitoring snapshots
Fields§
§id: Uuid§snapshot_type: SystemMetricsSnapshotType§working_memory_count: i32§warm_memory_count: i32§cold_memory_count: i32§frozen_memory_count: i32§total_storage_bytes: i64§compressed_storage_bytes: i64§average_compression_ratio: Option<f64>§average_query_time_ms: Option<f64>§p95_query_time_ms: Option<f64>§p99_query_time_ms: Option<f64>§slow_query_count: i32§consolidation_backlog: i32§migration_queue_size: i32§failed_operations_count: i32§vector_index_size_mb: Option<f64>§vector_search_performance: Value§database_cpu_percent: Option<f64>§database_memory_mb: Option<f64>§connection_count: Option<i32>§active_connections: Option<i32>§recorded_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SystemMetricsSnapshot
impl Clone for SystemMetricsSnapshot
Source§fn clone(&self) -> SystemMetricsSnapshot
fn clone(&self) -> SystemMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemMetricsSnapshot
impl Debug for SystemMetricsSnapshot
Source§impl<'de> Deserialize<'de> for SystemMetricsSnapshot
impl<'de> Deserialize<'de> for SystemMetricsSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, R: Row> FromRow<'a, R> for SystemMetricsSnapshotwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
SystemMetricsSnapshotType: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for SystemMetricsSnapshotwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
SystemMetricsSnapshotType: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for SystemMetricsSnapshot
impl RefUnwindSafe for SystemMetricsSnapshot
impl Send for SystemMetricsSnapshot
impl Sync for SystemMetricsSnapshot
impl Unpin for SystemMetricsSnapshot
impl UnwindSafe for SystemMetricsSnapshot
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