Skip to content

Commit

Permalink
Update DataCategory enum
Browse files Browse the repository at this point in the history
  • Loading branch information
cmanallen committed Jul 22, 2024
1 parent d852d00 commit 46da7ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion py/sentry_relay/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class DataCategory(IntEnum):
PROFILE_DURATION = 17
PROFILE_CHUNK = 18
METRIC_SECOND = 19
REPLAY_VIDEO = 20
UNKNOWN = -1
# end generated

Expand Down
4 changes: 4 additions & 0 deletions relay-base-schema/src/data_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 46da7ef

Please sign in to comment.