Skip to content

Conversation

@sambhav-jain-16
Copy link
Contributor

What?

Adds standard deviation calculation to the Percentiles struct in the summary package, providing
variability metrics alongside existing percentile data.

Why?

Standard deviation helps quantify the variability/spread of container resource usage (CPU, memory).
This enables in better anomaly detection (high std indicates unstable resource usage)

How?

  1. Added Std field to info.Percentiles struct
  2. Implemented getStandardDeviation() using sample standard deviation formula with Bessel's correction
    (n-1 divisor)

@sambhav-jain-16 sambhav-jain-16 changed the title add std in summary feat(summary): add standard deviation in derived metrics Dec 17, 2025
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