diff --git a/CHANGELOG.md b/CHANGELOG.md index 93151508..c3f3818e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/internal/chunk/chunk.go b/internal/chunk/chunk.go index df114525..c3d95a29 100644 --- a/internal/chunk/chunk.go +++ b/internal/chunk/chunk.go @@ -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"` }