pub struct SessionMetricsConfig { /* private fields */ }
Expand description
Configuration for metric extraction from sessions.
Implementations§
source§impl SessionMetricsConfig
impl SessionMetricsConfig
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Returns true
if session metrics is enabled and compatible.
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Returns true
if Relay should not extract metrics from sessions.
sourcepub fn should_extract_abnormal_mechanism(&self) -> bool
pub fn should_extract_abnormal_mechanism(&self) -> bool
Whether or not the abnormal mechanism should be extracted as a tag.
Trait Implementations§
source§impl Clone for SessionMetricsConfig
impl Clone for SessionMetricsConfig
source§fn clone(&self) -> SessionMetricsConfig
fn clone(&self) -> SessionMetricsConfig
Returns a copy 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 SessionMetricsConfig
impl Debug for SessionMetricsConfig
source§impl Default for SessionMetricsConfig
impl Default for SessionMetricsConfig
source§fn default() -> SessionMetricsConfig
fn default() -> SessionMetricsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SessionMetricsConfigwhere
SessionMetricsConfig: Default,
impl<'de> Deserialize<'de> for SessionMetricsConfigwhere
SessionMetricsConfig: Default,
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 SessionMetricsConfig
impl Serialize for SessionMetricsConfig
impl Copy for SessionMetricsConfig
Auto Trait Implementations§
impl Freeze for SessionMetricsConfig
impl RefUnwindSafe for SessionMetricsConfig
impl Send for SessionMetricsConfig
impl Sync for SessionMetricsConfig
impl Unpin for SessionMetricsConfig
impl UnwindSafe for SessionMetricsConfig
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)