Skip to content

Add max value for batch size windowed histograms#18850

Open
andsel wants to merge 1 commit intoelastic:mainfrom
andsel:feature/add_max_value_to_batch_size_histograms
Open

Add max value for batch size windowed histograms#18850
andsel wants to merge 1 commit intoelastic:mainfrom
andsel:feature/add_max_value_to_batch_size_histograms

Conversation

@andsel
Copy link
Contributor

@andsel andsel commented Mar 11, 2026

Release notes

Expose the max value for batch's byte_size, reported in 1,5 and 15 minutes time windows.

What does this PR do?

Update the value class to expose HdrHistogram's max value. This is used to present such value only for batch's byte_size in the stats API.

Why is it important/What is the impact to the user?

Let the user to know which is the max value for that metric that the pipeline faced in recent time windows.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Follow same instructions of #18770 .

Related issues

@andsel andsel self-assigned this Mar 11, 2026
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • run exhaustive tests : Run the exhaustive tests Buildkite pipeline.

@mergify
Copy link
Contributor

mergify bot commented Mar 11, 2026

This pull request does not have a backport label. Could you fix it @andsel? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@andsel andsel force-pushed the feature/add_max_value_to_batch_size_histograms branch from 63ade66 to d6fba75 Compare March 11, 2026 15:23
@elasticmachine
Copy link

@andsel andsel marked this pull request as ready for review March 12, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Batch metrics] Provide the batch's byte size max for various time windows

2 participants