prometheus/tsdb/tsdbutil
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
..
chunks.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
dir_locker_test.go Share TSDB locker code with agent (#9623) 2021-11-11 11:45:25 -05:00
dir_locker_testutil.go refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
dir_locker.go Share TSDB locker code with agent (#9623) 2021-11-11 11:45:25 -05:00
histogram.go Refactor tsdbutil for tests/native histograms (#11948) 2023-02-10 17:09:33 +05:30