Skip to content

Commit

Permalink
Merge pull request #483 from getsentry/txiao/chore/serialize-chunk-fi…
Browse files Browse the repository at this point in the history
…elds-with-lower-case

chore(chunks): Serialize chunk fields with lower case
  • Loading branch information
Zylphrex authored Jul 9, 2024
2 parents 19f6e58 + 61f8e5a commit dd65dce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
- Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.2.1 to 1.6.0 ([#471](https://github.com/getsentry/vroom/pull/471))
- Remove unused flamegraph endpoint (dead code) ([#472](https://github.com/getsentry/vroom/pull/472))
- Remove unused functions endpoint (dead code) ([#474](https://github.com/getsentry/vroom/pull/474))
- Serialize chunk fields with lower case ([#483](https://github.com/getsentry/vroom/pull/483))

## 23.12.0

Expand Down
8 changes: 4 additions & 4 deletions internal/chunk/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ type (
Received float64 `json:"received"`
RetentionDays int `json:"retention_days"`

Measurements json.RawMessage
Measurements json.RawMessage `json:"measurements"`
}

Data struct {
Frames []frame.Frame
Samples []Sample
Stacks [][]int
Frames []frame.Frame `json:"frames"`
Samples []Sample `json:"samples"`
Stacks [][]int `json:"stacks"`
ThreadMetadata map[string]sample.ThreadMetadata `json:"thread_metadata"`
}

Expand Down

0 comments on commit dd65dce

Please sign in to comment.