pub struct PerformanceCaptureConfig {
pub enabled: Option<bool>,
pub probe_threshold: Option<i32>,
pub probing_interval_seconds: Option<i32>,
pub running_threads_threshold: Option<i32>,
pub seconds_behind_source_threshold: Option<i32>,
pub transaction_duration_threshold: Option<i32>,
}Expand description
Performance Capture configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>Optional. Enable or disable the Performance Capture feature.
probe_threshold: Option<i32>Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
probing_interval_seconds: Option<i32>Optional. The time interval in seconds between any two probes.
running_threads_threshold: Option<i32>Optional. The minimum number of server threads running to trigger the capture on primary.
seconds_behind_source_threshold: Option<i32>Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
transaction_duration_threshold: Option<i32>Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
Trait Implementations§
Source§impl Clone for PerformanceCaptureConfig
impl Clone for PerformanceCaptureConfig
Source§fn clone(&self) -> PerformanceCaptureConfig
fn clone(&self) -> PerformanceCaptureConfig
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 PerformanceCaptureConfig
impl Debug for PerformanceCaptureConfig
Source§impl Default for PerformanceCaptureConfig
impl Default for PerformanceCaptureConfig
Source§fn default() -> PerformanceCaptureConfig
fn default() -> PerformanceCaptureConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerformanceCaptureConfig
impl<'de> Deserialize<'de> for PerformanceCaptureConfig
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 Serialize for PerformanceCaptureConfig
impl Serialize for PerformanceCaptureConfig
impl Part for PerformanceCaptureConfig
Auto Trait Implementations§
impl Freeze for PerformanceCaptureConfig
impl RefUnwindSafe for PerformanceCaptureConfig
impl Send for PerformanceCaptureConfig
impl Sync for PerformanceCaptureConfig
impl Unpin for PerformanceCaptureConfig
impl UnwindSafe for PerformanceCaptureConfig
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