Skip to content

feat(summary): add count in percentiles#3729

Merged
dims merged 1 commit intogoogle:masterfrom
sambhav-jain-16:percentle-count
Dec 10, 2025
Merged

feat(summary): add count in percentiles#3729
dims merged 1 commit intogoogle:masterfrom
sambhav-jain-16:percentle-count

Conversation

@sambhav-jain-16
Copy link
Contributor

To measure the quality of the derived metric, it is necessary to also store the count of the samples from which the percentile calculation is being done. This commit aims to add this feature in cadvisor.

@sambhav-jain-16 sambhav-jain-16 force-pushed the percentle-count branch 2 times, most recently from 85bb196 to 07bd759 Compare September 16, 2025 09:46
@sambhav-jain-16
Copy link
Contributor Author

sambhav-jain-16 commented Sep 16, 2025

Hi @cwangVT
I have raised this PR for another issue we are working on which concerns cadvisor. PTAL

@sambhav-jain-16
Copy link
Contributor Author

Hi @dims
Can you also PTAL at this PR ? Thanks

@dims
Copy link
Collaborator

dims commented Dec 10, 2025

@sambhav-jain-16 please rebase, also in your experience, will this break any existing folks that consume this percentile? (as we added a new field?)

To measure the quality of the derived metric, it is necessary to also
store the count of the samples from which the percentile calculation is
being done. This commit aims to add this feature in cadvisor.
@sambhav-jain-16
Copy link
Contributor Author

@dims done

also in your experience, will this break any existing folks that consume this percentile?

Since it is a change in struct, it shouldn't break anything. This change is already deployed in our infra and is running without breaking during rollout.

@dims
Copy link
Collaborator

dims commented Dec 10, 2025

@sambhav-jain-16 thanks for confirming

@dims dims enabled auto-merge December 10, 2025 16:49
@dims dims added this pull request to the merge queue Dec 10, 2025
Merged via the queue into google:master with commit 12bcd66 Dec 10, 2025
7 checks passed
@sambhav-jain-16 sambhav-jain-16 deleted the percentle-count branch December 10, 2025 19:49
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