From 730845f436731b9be20c988e4431a0f8524b770c Mon Sep 17 00:00:00 2001 From: Noah Martin Date: Fri, 10 Apr 2026 15:36:35 -0700 Subject: [PATCH 1/2] chore: Add new spans_indexed usage proto --- proto/sentry_protos/billing/v1/data_category.proto | 2 ++ rust/src/sentry_protos.billing.v1.rs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/proto/sentry_protos/billing/v1/data_category.proto b/proto/sentry_protos/billing/v1/data_category.proto index f9c15ea..6b4e726 100644 --- a/proto/sentry_protos/billing/v1/data_category.proto +++ b/proto/sentry_protos/billing/v1/data_category.proto @@ -49,6 +49,8 @@ enum DataCategory { DATA_CATEGORY_PROFILE_CHUNK = 19; // UI profile chunks. DATA_CATEGORY_PROFILE_CHUNK_UI = 20; + // Spans stored in full (indexed). + DATA_CATEGORY_SPAN_INDEXED = 21; // 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 3c7c364..83ee326 100644 --- a/rust/src/sentry_protos.billing.v1.rs +++ b/rust/src/sentry_protos.billing.v1.rs @@ -206,6 +206,8 @@ pub enum DataCategory { ProfileChunk = 19, /// UI profile chunks. ProfileChunkUi = 20, + /// Spans stored in full (indexed). + SpanIndexed = 21, /// Any other data category not known by this version. Unknown = -1, } @@ -237,6 +239,7 @@ impl DataCategory { Self::Security => "DATA_CATEGORY_SECURITY", Self::ProfileChunk => "DATA_CATEGORY_PROFILE_CHUNK", Self::ProfileChunkUi => "DATA_CATEGORY_PROFILE_CHUNK_UI", + Self::SpanIndexed => "DATA_CATEGORY_SPAN_INDEXED", Self::Unknown => "DATA_CATEGORY_UNKNOWN", } } @@ -264,6 +267,7 @@ impl DataCategory { "DATA_CATEGORY_SECURITY" => Some(Self::Security), "DATA_CATEGORY_PROFILE_CHUNK" => Some(Self::ProfileChunk), "DATA_CATEGORY_PROFILE_CHUNK_UI" => Some(Self::ProfileChunkUi), + "DATA_CATEGORY_SPAN_INDEXED" => Some(Self::SpanIndexed), "DATA_CATEGORY_UNKNOWN" => Some(Self::Unknown), _ => None, } From 97eef2e5708a8115175667791e482fec6c3f9d72 Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 22:39:51 +0000 Subject: [PATCH 2/2] chore: Regenerate Rust bindings --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index a014f95..3fe341f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,7 +717,7 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "sentry_protos" -version = "0.8.9" +version = "0.8.10" dependencies = [ "prost", "prost-types",