prometheus/promql
beorn7 817a2396cb Name float values as "floats", not as "values"
In the past, every sample value was a float, so it was fine to call a
variable holding such a float "value" or "sample". With native
histograms, a sample might have a histogram value. And a histogram
value is still a value. Calling a float value just "value" or "sample"
or "V" is therefore misleading. Over the last few commits, I already
renamed many variables, but this cleans up a few more places where the
changes are more invasive.

Note that we do not to attempt naming in the JSON APIs or in the
protobufs. That would be quite a disruption. However, internally, we
can call variables as we want, and we should go with the option of
avoiding misunderstandings.

Signed-off-by: beorn7 <beorn@grafana.com>
2023-04-13 19:25:24 +02:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser labels: simplify call to get Labels from Builder 2023-03-22 17:05:20 +00:00
testdata Adds day_of_year function to PromQL 2022-05-20 14:08:34 +02:00
bench_test.go promql: add a benchmark for topk with k > 1 2023-03-28 11:07:29 +00:00
engine.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
engine_test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
functions.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
functions_test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
fuzz.go refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817) 2022-06-08 10:47:52 +02:00
fuzz_test.go error for invalid media type should not be completely swallowed (#10186) 2022-02-08 10:57:56 +01:00
promql_test.go promql: disable some slow cases in TestConcurrentRangeQueries 2023-03-08 14:28:30 +00:00
quantile.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
query_logger.go Close file descriptor in query logging (#11148) 2022-08-17 15:27:27 +05:30
query_logger_test.go refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
test_test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
value.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
value_test.go Shortcut ContainsSameLabelset() (#11000) 2022-07-13 15:18:10 +05:30