Skip to content

Commit

Permalink
fix(profiling): Profile chunk release is optional
Browse files Browse the repository at this point in the history
We were dropping all chunks where the release was not specified.
  • Loading branch information
Zylphrex committed Oct 18, 2024
1 parent fa1b254 commit 9e9c31f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay-profiling/src/sample/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pub struct ProfileMetadata {
#[serde(skip_serializing_if = "Option::is_none")]
pub environment: Option<String>,
pub platform: String,

#[serde(default)]
pub release: String,

#[serde(skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 9e9c31f

Please sign in to comment.