From e376d0f99b551358e28f833867a4ad5e74c2131d Mon Sep 17 00:00:00 2001 From: Volo Kluev Date: Mon, 20 Apr 2026 16:03:15 -0700 Subject: [PATCH 1/2] remove unnecessary fields --- proto/sentry_protos/billing/v1/common/v1/billable_metric.proto | 3 --- .../sentry_protos/billing/v1/services/package/v1/package.proto | 2 -- 2 files changed, 5 deletions(-) diff --git a/proto/sentry_protos/billing/v1/common/v1/billable_metric.proto b/proto/sentry_protos/billing/v1/common/v1/billable_metric.proto index b1b71cd5..b33a1444 100644 --- a/proto/sentry_protos/billing/v1/common/v1/billable_metric.proto +++ b/proto/sentry_protos/billing/v1/common/v1/billable_metric.proto @@ -10,9 +10,6 @@ message BillableMetric { // Unique identifier for the billable metric. string id = 1; - // Name of the billable metric (e.g., "performance_units"). - string name = 2; - // Expression defining how to calculate this metric from usage data. Expression expression = 3; } diff --git a/proto/sentry_protos/billing/v1/services/package/v1/package.proto b/proto/sentry_protos/billing/v1/services/package/v1/package.proto index 9a2a7701..734c85a5 100644 --- a/proto/sentry_protos/billing/v1/services/package/v1/package.proto +++ b/proto/sentry_protos/billing/v1/services/package/v1/package.proto @@ -35,8 +35,6 @@ message PackageConfig { string uid = 1; repeated LineItemConfig line_item_configs = 2; repeated SharedLineItemPool shared_line_item_pools = 3; - // Base price for the package. - uint64 base_price_cents = 4; // Billing interval for this package. sentry_protos.billing.v1.common.v1.BillingInterval billing_interval = 5; } From ad73e80166366a4ff5730582e4985f459944e19d Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 23:04:40 +0000 Subject: [PATCH 2/2] chore: Regenerate Rust bindings --- rust/src/sentry_protos.billing.v1.common.v1.rs | 3 --- rust/src/sentry_protos.billing.v1.services.package.v1.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/rust/src/sentry_protos.billing.v1.common.v1.rs b/rust/src/sentry_protos.billing.v1.common.v1.rs index 98ca588b..1445a945 100644 --- a/rust/src/sentry_protos.billing.v1.common.v1.rs +++ b/rust/src/sentry_protos.billing.v1.common.v1.rs @@ -5,9 +5,6 @@ pub struct BillableMetric { /// Unique identifier for the billable metric. #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, - /// Name of the billable metric (e.g., "performance_units"). - #[prost(string, tag = "2")] - pub name: ::prost::alloc::string::String, /// Expression defining how to calculate this metric from usage data. #[prost(message, optional, tag = "3")] pub expression: ::core::option::Option, diff --git a/rust/src/sentry_protos.billing.v1.services.package.v1.rs b/rust/src/sentry_protos.billing.v1.services.package.v1.rs index e83941a9..29f856cd 100644 --- a/rust/src/sentry_protos.billing.v1.services.package.v1.rs +++ b/rust/src/sentry_protos.billing.v1.services.package.v1.rs @@ -57,9 +57,6 @@ pub struct PackageConfig { pub line_item_configs: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "3")] pub shared_line_item_pools: ::prost::alloc::vec::Vec, - /// Base price for the package. - #[prost(uint64, tag = "4")] - pub base_price_cents: u64, /// Billing interval for this package. #[prost(enumeration = "super::super::super::common::v1::BillingInterval", tag = "5")] pub billing_interval: i32,