Enum Category
#[non_exhaustive]pub enum Category {
Error,
Session,
Transaction,
Span,
Attachment,
Monitor,
LogItem,
LogByte,
TraceMetric,
TraceMetricByte,
}Expand description
The category of data which was dropped.
Valid categories are listed in the develop docs; this enum may only define a subset of these valid data categories, but we will add further categories as we begin using them in the SDK.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Error
An error event.
Session
A session update or quantity of session outcomes contained in a session aggregate.
Transaction
A transaction event.
Dropped transactions should also be counted as dropped Spans: one for the
transaction root span extracted by Relay, plus one for each child span.
Span
A span.
When counting spans for a dropped transaction, the quantity includes all child spans plus one for the transaction root span extracted by Relay.
Attachment
A quantity of attachment bytes.
Monitor
A monitor check-in.
LogItem
A log item.
Dropped logs should also be counted as dropped LogBytes so client reports include
the approximate volume of dropped log data.
LogByte
A quantity of log bytes.
This complements LogItem: log_item counts dropped logs, while log_byte counts
their estimated byte size.
TraceMetric
A trace metric item.
Dropped trace metrics should also be counted as dropped TraceMetricBytes so client
reports include the approximate volume of dropped metric data.
TraceMetricByte
A quantity of trace metric bytes.
This complements TraceMetric: trace_metric counts dropped trace metrics, while
trace_metric_byte counts their estimated byte size.
Trait Implementations§
§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Category, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Category, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl IndexedEnum for Category
impl IndexedEnum for Category
§impl Serialize for Category
impl Serialize for Category
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnsafeUnpin for Category
impl UnwindSafe for Category
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.