Skip to content

Commit

Permalink
add TenSecondDistribution as a new common PXX distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
voidlock committed Jul 20, 2022
1 parent 3d6053d commit c2d34df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions go-kit/metrics/distributions.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ var (
// []float64{10, 55, 255, 505, 1255, 2505, 3755, 4505, 4755, 4955, 5000}
FiveSecondDistribution = WithStandardPercentiles(0, 5000)

// TenSecondDistribution is a percentile distribution between 0 and 10,000 milliseconds.
//
// Generated Distribution
//
// []float64{20, 110, 510, 1010, 2510, 5010, 7510, 9010, 9510, 9910, 10000}
TenSecondDistribution = WithStandardPercentiles(0, 10000)

// ThirtySecondDistribution is a percentile distribution between 0 and 30,000 milliseconds.
//
// Generated Distribution
Expand Down

0 comments on commit c2d34df

Please sign in to comment.