Enum relay_cogs::AppFeature
source · pub enum AppFeature {
Show 19 variants
Unattributed,
UnattributedMetrics,
UnattributedEnvelope,
Transactions,
Errors,
Spans,
Sessions,
ClientReports,
CheckIns,
Replays,
Profiles,
MetricMeta,
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.
MetricMeta
Metric metadata.
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§fn eq(&self, other: &AppFeature) -> bool
fn eq(&self, other: &AppFeature) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AppFeature
impl PartialOrd for AppFeature
source§fn partial_cmp(&self, other: &AppFeature) -> Option<Ordering>
fn partial_cmp(&self, other: &AppFeature) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more