From 46da7effab282692badab095e2c5bfeae3c1fa75 Mon Sep 17 00:00:00 2001 From: Colton Allen Date: Mon, 22 Jul 2024 12:13:18 -0500 Subject: [PATCH] Update DataCategory enum --- py/sentry_relay/consts.py | 1 - relay-base-schema/src/data_category.rs | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/py/sentry_relay/consts.py b/py/sentry_relay/consts.py index 73a4e8ea74..6ff62d5f45 100644 --- a/py/sentry_relay/consts.py +++ b/py/sentry_relay/consts.py @@ -29,7 +29,6 @@ class DataCategory(IntEnum): PROFILE_DURATION = 17 PROFILE_CHUNK = 18 METRIC_SECOND = 19 - REPLAY_VIDEO = 20 UNKNOWN = -1 # end generated diff --git a/relay-base-schema/src/data_category.rs b/relay-base-schema/src/data_category.rs index 35840ca19a..cdfbcf101b 100644 --- a/relay-base-schema/src/data_category.rs +++ b/relay-base-schema/src/data_category.rs @@ -84,6 +84,10 @@ pub enum DataCategory { /// and metric cardinality. Defined here so as not to clash with future /// categories. MetricSecond = 19, + /// Replay Video + /// + /// This is the data category for Session Replays produced via a video recording. + ReplayVideo = 20, // // IMPORTANT: After adding a new entry to DataCategory, go to the `relay-cabi` subfolder and run // `make header` to regenerate the C-binding. This allows using the data category from Python.