Enum relay_cogs::AppFeature
source · pub enum AppFeature {
Show 18 variants
Unattributed,
UnattributedMetrics,
UnattributedEnvelope,
Transactions,
Errors,
Spans,
Sessions,
ClientReports,
CheckIns,
Replays,
Profiles,
MetricsTransactions,
MetricsSpans,
MetricsProfiles,
MetricsSessions,
MetricsCustom,
MetricsStats,
MetricsUnsupported,
}
Expand description
App feature a COGS measurement is related to.
App features break down the cost of a ResourceId
, the
app features do no need to directly match a Sentry product.
Multiple app features are later grouped and aggregated to determine
the cost of a product.
Variants§
Unattributed
A placeholder which should not be emitted but can be emitted in rare cases, for example error scenarios.
It can be useful to start a COGS measurement before it is known what the measurement should be attributed to. For example when parsing data, the measurement should be started before parsing, but only after parsing it is known what to attribute the measurement to.
UnattributedMetrics
Metrics are attributed by their namespace, whenever this is not possible or feasible, this app feature is emitted instead.
UnattributedEnvelope
When processing an envelope cannot be attributed or is not feasible to be attributed to a more specific category, this app feature is emitted instead.
Transactions
Transactions.
Errors
Errors.
Spans
Spans.
Sessions
Sessions.
ClientReports
Client reports.
CheckIns
Crons check ins.
Replays
Replays.
Profiles
Profiles.
This app feature is for continuous profiling.
MetricsTransactions
Metrics in the transactions namespace.
MetricsSpans
Metrics in the spans namespace.
MetricsProfiles
Metrics in the profiles namespace.
MetricsSessions
Metrics in the sessions namespace.
MetricsCustom
Metrics in the custom namespace.
MetricsStats
Metrics in the metric_stats
namespace.
MetricsUnsupported
Metrics in the unsupported namespace.
This is usually not emitted, since metrics in the unsupported namespace should be dropped before any processing occurs.
Implementations§
Trait Implementations§
source§impl Clone for AppFeature
impl Clone for AppFeature
source§fn clone(&self) -> AppFeature
fn clone(&self) -> AppFeature
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppFeature
impl Debug for AppFeature
source§impl From<AppFeature> for FeatureWeights
impl From<AppFeature> for FeatureWeights
source§fn from(value: AppFeature) -> Self
fn from(value: AppFeature) -> Self
source§impl Hash for AppFeature
impl Hash for AppFeature
source§impl Ord for AppFeature
impl Ord for AppFeature
source§fn cmp(&self, other: &AppFeature) -> Ordering
fn cmp(&self, other: &AppFeature) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for AppFeature
impl PartialEq for AppFeature
source§impl PartialOrd for AppFeature
impl PartialOrd for AppFeature
impl Copy for AppFeature
impl Eq for AppFeature
impl StructuralPartialEq for AppFeature
Auto Trait Implementations§
impl Freeze for AppFeature
impl RefUnwindSafe for AppFeature
impl Send for AppFeature
impl Sync for AppFeature
impl Unpin for AppFeature
impl UnwindSafe for AppFeature
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)