prometheus/promql
Björn Rabenstein d677aa4b29
storage: Consolidate iterator method names (Values -> At) (#9888)
`BufferedSeriesIterator` and `MemoizedSeriesIterator` use a method
called `Values` for exactly the purpose for which all other iterators
of the same kind use a method called `At`. That alone is confusing,
but on top of that, the `Values` method only returns a single sample,
not multiple values. I assume the naming has historical reasons. This
commit makes it more consistent. It is now easier to read, and now
`BufferedSeriesIterator` and `MemoizedSeriesIterator` implement
`chunkenc.Iterator` like many other iterators, too.

Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 11:16:40 +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 storage: Consolidate iterator method names (Values -> At) (#9888) 2021-11-29 11:16:40 +01:00
engine_test.go fix potential deadlock in test (#9010) 2021-11-27 12:45:06 +00:00
functions.go feat: linreg => slope 0 for const values (#9728) 2021-11-16 00:03:22 +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 Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +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 Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value.go Promql: Add clarifying note to Point.MarshalJSON 2021-11-25 13:32:37 +01:00