Skip to content

AGTMETRICS-489 Support Sketch class in PayloadBuilder#310

Open
vickenty wants to merge 5 commits into
masterfrom
vickenty/ske
Open

AGTMETRICS-489 Support Sketch class in PayloadBuilder#310
vickenty wants to merge 5 commits into
masterfrom
vickenty/ske

Conversation

@vickenty
Copy link
Copy Markdown
Contributor

@vickenty vickenty commented May 1, 2026

Use Sketch class instead of accepting individual sketch parameters.

Implement bin-splitting logic, to fit 64-bit counter values into 32-bit payload fields. Sketches that would result in too many bins are rejected early.

Adjust the tests to use the new class. Since the sketch builder only supports long values, add a few metrics to exercise float32 code path again, which was previously covered by one of the sketches.

vickenty added 3 commits May 1, 2026 17:15
These cases were not covered since Sketch only supports integers.
@vickenty vickenty marked this pull request as ready for review May 6, 2026 11:03
@vickenty vickenty requested a review from a team as a code owner May 6, 2026 11:03
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0643be41eb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@vickenty vickenty changed the title Support Sketch class in PayloadBuilder AGTMETRICS-489 Support Sketch class in PayloadBuilder May 13, 2026
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.

1 participant