pub struct ThingsMetrics {Show 20 fields
pub db_operations_total: u64,
pub db_operation_duration: f64,
pub db_connection_pool_size: u64,
pub db_connection_pool_active: u64,
pub tasks_created_total: u64,
pub tasks_updated_total: u64,
pub tasks_deleted_total: u64,
pub tasks_completed_total: u64,
pub search_operations_total: u64,
pub search_duration: f64,
pub search_results_count: u64,
pub export_operations_total: u64,
pub export_duration: f64,
pub export_file_size: u64,
pub errors_total: u64,
pub error_rate: f64,
pub memory_usage: u64,
pub cpu_usage: f64,
pub cache_hit_rate: f64,
pub cache_size: u64,
}
Expand description
Metrics collector for Things 3 operations
Fields§
§db_operations_total: u64
§db_operation_duration: f64
§db_connection_pool_size: u64
§db_connection_pool_active: u64
§tasks_created_total: u64
§tasks_updated_total: u64
§tasks_deleted_total: u64
§tasks_completed_total: u64
§search_operations_total: u64
§search_duration: f64
§search_results_count: u64
§export_operations_total: u64
§export_duration: f64
§export_file_size: u64
§errors_total: u64
§error_rate: f64
§memory_usage: u64
§cpu_usage: f64
§cache_hit_rate: f64
§cache_size: u64
Implementations§
Source§impl ThingsMetrics
impl ThingsMetrics
Trait Implementations§
Source§impl Clone for ThingsMetrics
impl Clone for ThingsMetrics
Source§fn clone(&self) -> ThingsMetrics
fn clone(&self) -> ThingsMetrics
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 ThingsMetrics
impl Debug for ThingsMetrics
Auto Trait Implementations§
impl Freeze for ThingsMetrics
impl RefUnwindSafe for ThingsMetrics
impl Send for ThingsMetrics
impl Sync for ThingsMetrics
impl Unpin for ThingsMetrics
impl UnwindSafe for ThingsMetrics
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