prometheus/promql
beorn7 947810b0f2 promql: Tweak histogramQuantile
- Simplify the code a bit.

- Cover more corner cases.

- Remove TODO for negative buckets. (I think they are handled. Tests
  will reveal if not.)

Signed-off-by: beorn7 <beorn@grafana.com>
2021-12-15 17:43:13 +01:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
testdata promql: Add more test cases for histogram_quantile 2021-10-20 16:15:44 +02:00
bench_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
engine.go promql: Add a guard against a nil histogram in sum aggregation 2021-12-15 14:33:44 +01:00
engine_test.go histograms: Doc comment and naming improvements 2021-12-15 16:50:37 +01:00
functions.go histograms: Doc comment and naming improvements 2021-12-15 16:50:37 +01:00
functions_test.go feat: linreg => slope 0 for const values (#9728) 2021-11-16 00:03:22 +01:00
fuzz.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promql_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
quantile.go promql: Tweak histogramQuantile 2021-12-15 17:43:13 +01:00
query_logger.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
query_logger_test.go tests: Move from t.Errorf and others. (Part 2) (#9309) 2021-09-13 21:19:20 +02:00
test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
test_test.go tsdb: Rework iterators (#9877) 2021-11-29 13:24:23 +05:30
value.go Merge branch 'main' into beorn7/merge2 2021-11-30 17:19:06 +01:00