diff --git a/Cargo.lock b/Cargo.lock index 09d2f89c..0af9158c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,7 +717,7 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "sentry_protos" -version = "0.90.0" +version = "0.91.0" dependencies = [ "prost", "prost-types", diff --git a/proto/sentry_protos/billing/v1/data_category.proto b/proto/sentry_protos/billing/v1/data_category.proto index 804b8c9c..7210c916 100644 --- a/proto/sentry_protos/billing/v1/data_category.proto +++ b/proto/sentry_protos/billing/v1/data_category.proto @@ -73,6 +73,8 @@ enum DataCategory { DATA_CATEGORY_SEER_USAGE_MICRO_CENTS = 33; // Seer credits consumed by billable Seer features. DATA_CATEGORY_BILLABLE_SEER_CREDITS = 34; + // Images accepted by the preprod snapshot upload API. + DATA_CATEGORY_SNAPSHOT_IMAGE = 35; // Any other data category not known by this version. DATA_CATEGORY_UNKNOWN = -1; } diff --git a/rust/src/sentry_protos.billing.v1.rs b/rust/src/sentry_protos.billing.v1.rs index 75909290..50a44992 100644 --- a/rust/src/sentry_protos.billing.v1.rs +++ b/rust/src/sentry_protos.billing.v1.rs @@ -72,6 +72,8 @@ pub enum DataCategory { SeerUsageMicroCents = 33, /// Seer credits consumed by billable Seer features. BillableSeerCredits = 34, + /// Images accepted by the preprod snapshot upload API. + SnapshotImage = 35, /// Any other data category not known by this version. Unknown = -1, } @@ -115,6 +117,7 @@ impl DataCategory { Self::TraceMetricByte => "DATA_CATEGORY_TRACE_METRIC_BYTE", Self::SeerUsageMicroCents => "DATA_CATEGORY_SEER_USAGE_MICRO_CENTS", Self::BillableSeerCredits => "DATA_CATEGORY_BILLABLE_SEER_CREDITS", + Self::SnapshotImage => "DATA_CATEGORY_SNAPSHOT_IMAGE", Self::Unknown => "DATA_CATEGORY_UNKNOWN", } } @@ -154,6 +157,7 @@ impl DataCategory { "DATA_CATEGORY_TRACE_METRIC_BYTE" => Some(Self::TraceMetricByte), "DATA_CATEGORY_SEER_USAGE_MICRO_CENTS" => Some(Self::SeerUsageMicroCents), "DATA_CATEGORY_BILLABLE_SEER_CREDITS" => Some(Self::BillableSeerCredits), + "DATA_CATEGORY_SNAPSHOT_IMAGE" => Some(Self::SnapshotImage), "DATA_CATEGORY_UNKNOWN" => Some(Self::Unknown), _ => None, }