Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement profile chunk storage #463

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

phacops
Copy link
Contributor

@phacops phacops commented May 12, 2024

This will store profile chunks appropriately.

getsentry/snuba#5895

@phacops phacops changed the title feat: Implement continuous profiling's chunk storage feat: Implement profile chunks storage May 12, 2024
@phacops phacops changed the title feat: Implement profile chunks storage feat: Implement profile chunk storage May 12, 2024
internal/chunk/chunk.go Show resolved Hide resolved
"organization_id": strconv.FormatUint(c.OrganizationID, 10),
"profiler_id": c.ProfilerID,
"project_id": strconv.FormatUint(c.ProjectID, 10),
"size": len(body),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought but can we emit this as a metric to see the average payload size by platform?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll wait until @viglia is done with implementing metrics then. Maybe you can even beta test on this.

@phacops phacops merged commit 631eb3c into main May 21, 2024
11 checks passed
@phacops phacops deleted the pierre/continuous-profiling branch May 21, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants