Codebase list golang-github-go-kit-kit / 0980ce9
metrics/circonus: increase tolerance Peter Bourgon 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4343
4444 // Apparently Circonus buckets observations by dropping a sigfig, so we have
4545 // very coarse tolerance.
46 var tolerance int64 = 20
46 var tolerance int64 = 30
4747 for _, quantile := range []int{50, 90, 99} {
4848 want := normalValueAtQuantile(mean, stdev, quantile)
4949 have := h.ValueAtQuantile(float64(quantile))