pub struct SqliteProfilingConfig {
pub enabled: bool,
pub max_tracked_statement_fingerprints: usize,
pub max_tracked_transaction_fingerprints: usize,
pub max_prometheus_series: usize,
pub max_statements_per_transaction_trace: usize,
pub max_get_pages_requests_per_trace: usize,
pub max_transaction_name_bytes: usize,
pub slow_operation_threshold_ms: u64,
pub baseline_sample_rate: f64,
pub max_diagnostic_events_per_minute: usize,
pub diagnostic_event_queue_capacity: usize,
}Expand description
Experimental SQLite profiling configuration.
This entire configuration surface, including every field, is subject to change without notice.
Fields§
§enabled: bool§max_tracked_statement_fingerprints: usize§max_tracked_transaction_fingerprints: usize§max_prometheus_series: usize§max_statements_per_transaction_trace: usize§max_get_pages_requests_per_trace: usize§max_transaction_name_bytes: usize§slow_operation_threshold_ms: u64§baseline_sample_rate: f64§max_diagnostic_events_per_minute: usize§diagnostic_event_queue_capacity: usizeTrait Implementations§
Source§impl Clone for SqliteProfilingConfig
impl Clone for SqliteProfilingConfig
Source§fn clone(&self) -> SqliteProfilingConfig
fn clone(&self) -> SqliteProfilingConfig
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 moreSource§impl Debug for SqliteProfilingConfig
impl Debug for SqliteProfilingConfig
Auto Trait Implementations§
impl Freeze for SqliteProfilingConfig
impl RefUnwindSafe for SqliteProfilingConfig
impl Send for SqliteProfilingConfig
impl Sync for SqliteProfilingConfig
impl Unpin for SqliteProfilingConfig
impl UnsafeUnpin for SqliteProfilingConfig
impl UnwindSafe for SqliteProfilingConfig
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