metrics: fix typo

This commit is contained in:
permor 2024-04-16 00:24:32 +09:00
parent 33c641d150
commit 8c26bbc6c2

View file

@ -153,7 +153,7 @@ func SamplePercentile(values []int64, p float64) float64 {
} }
// CalculatePercentiles returns a slice of arbitrary percentiles of the slice of // CalculatePercentiles returns a slice of arbitrary percentiles of the slice of
// int64. This method returns interpolated results, so e.g if there are only two // int64. This method returns interpolated results, so e.g. if there are only two
// values, [0, 10], a 50% percentile will land between them. // values, [0, 10], a 50% percentile will land between them.
// //
// Note: As a side-effect, this method will also sort the slice of values. // Note: As a side-effect, this method will also sort the slice of values.