diff --git a/proto/sentry_protos/snuba/v1/request_common.proto b/proto/sentry_protos/snuba/v1/request_common.proto index 292bac7..a7ef9af 100644 --- a/proto/sentry_protos/snuba/v1/request_common.proto +++ b/proto/sentry_protos/snuba/v1/request_common.proto @@ -70,6 +70,7 @@ enum TraceItemType { TRACE_ITEM_TYPE_REPLAY = 6; TRACE_ITEM_TYPE_OCCURRENCE = 7; TRACE_ITEM_TYPE_METRIC = 8; + TRACE_ITEM_TYPE_PROFILE_FUNCTION = 9; } message TraceItemFilterWithType { diff --git a/rust/src/sentry_protos.snuba.v1.rs b/rust/src/sentry_protos.snuba.v1.rs index 9cbc6c3..5905815 100644 --- a/rust/src/sentry_protos.snuba.v1.rs +++ b/rust/src/sentry_protos.snuba.v1.rs @@ -741,6 +741,7 @@ pub enum TraceItemType { Replay = 6, Occurrence = 7, Metric = 8, + ProfileFunction = 9, } impl TraceItemType { /// String value of the enum field names used in the ProtoBuf definition. @@ -758,6 +759,7 @@ impl TraceItemType { TraceItemType::Replay => "TRACE_ITEM_TYPE_REPLAY", TraceItemType::Occurrence => "TRACE_ITEM_TYPE_OCCURRENCE", TraceItemType::Metric => "TRACE_ITEM_TYPE_METRIC", + TraceItemType::ProfileFunction => "TRACE_ITEM_TYPE_PROFILE_FUNCTION", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -772,6 +774,7 @@ impl TraceItemType { "TRACE_ITEM_TYPE_REPLAY" => Some(Self::Replay), "TRACE_ITEM_TYPE_OCCURRENCE" => Some(Self::Occurrence), "TRACE_ITEM_TYPE_METRIC" => Some(Self::Metric), + "TRACE_ITEM_TYPE_PROFILE_FUNCTION" => Some(Self::ProfileFunction), _ => None, } }