Skip to content

Commit

Permalink
feat(replay): add viewed-by-id field to storage/entity schemas (#5709)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliu39 authored Mar 29, 2024
1 parent e988549 commit b096991
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snuba/datasets/configuration/replays/entities/replays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ schema:
},
{ name: trace_ids, type: Array, args: { inner_type: { type: UUID } } },
{ name: error_ids, type: Array, args: { inner_type: { type: UUID } } },
{ name: _error_ids_hashed, type: Array, args: { inner_type: { type: UInt, args: { size: 64 } } }},
{
name: _error_ids_hashed,
type: Array,
args: { inner_type: { type: UInt, args: { size: 64 } } },
},
{
name: count_errors,
type: UInt,
Expand Down Expand Up @@ -69,6 +73,7 @@ schema:
{ name: user_id, type: String, args: { schema_modifiers: [nullable] } },
{ name: user_name, type: String, args: { schema_modifiers: [nullable] } },
{ name: user_email, type: String, args: { schema_modifiers: [nullable] } },
{ name: viewed_by_id, type: UInt, args: { size: 64 } },
{ name: os_name, type: String, args: { schema_modifiers: [nullable] } },
{ name: os_version, type: String, args: { schema_modifiers: [nullable] } },
{
Expand Down
1 change: 1 addition & 0 deletions snuba/datasets/configuration/replays/storages/replays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ schema:
type: String,
args: { schema_modifiers: [nullable] },
},
{ name: viewed_by_id, type: UInt, args: { size: 64 } },
{ name: os_name, type: String, args: { schema_modifiers: [nullable] } },
{
name: os_version,
Expand Down

0 comments on commit b096991

Please sign in to comment.