(q float64, values ...float64)
| 901 | } |
| 902 | |
| 903 | func percentileHelper(q float64, values ...float64) float64 { |
| 904 | h := Histogram{} |
| 905 | for _, v := range values { |
| 906 | h.Record(v, 1) |
| 907 | } |
| 908 | return Log2Quantile(q, h.Buckets) |
| 909 | } |
| 910 | |
| 911 | func TestCountOverTime(t *testing.T) { |
| 912 | req := &tempopb.QueryRangeRequest{ |
no test coverage detected