prometheus/util
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
..
documentcli Document command line tools 2023-03-13 14:20:55 +01:00
gate Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
httputil refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
jsonutil Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
logging refactor (util): move from github.com/pkg/errors to 'errors' and 'fmt' (#10877) 2022-06-27 18:16:58 +02:00
osutil Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
pool Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
runtime util/runtime: use ByteSliceToString from golang.org/x/sys/unix in Uname (#11070) 2022-07-30 19:35:03 +02:00
stats Changing TotalQueryableSamples from int to int64 (#10549) 2022-04-12 01:22:25 +02:00
strutil Implement SanitizeLabelName and Full variant 2023-02-03 15:28:33 +00:00
teststorage Add a feature flag to control native histogram ingestion (#11253) 2022-09-14 17:38:34 +05:30
testutil refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
treecache refactor (util): move from github.com/pkg/errors to 'errors' and 'fmt' (#10877) 2022-06-27 18:16:58 +02:00
zeropool Use zeropool.Pool to workaround SA6002 (#12189) 2023-03-29 20:34:34 +01:00