metrics/circonus: increase tolerance
Peter Bourgon
7 years ago
43 | 43 | |
44 | 44 | // Apparently Circonus buckets observations by dropping a sigfig, so we have |
45 | 45 | // very coarse tolerance. |
46 | var tolerance int64 = 20 | |
46 | var tolerance int64 = 30 | |
47 | 47 | for _, quantile := range []int{50, 90, 99} { |
48 | 48 | want := normalValueAtQuantile(mean, stdev, quantile) |
49 | 49 | have := h.ValueAtQuantile(float64(quantile)) |