VictoriaMetrics/lib
Aliaksandr Valialkin b2bf237466
lib/logstorage: simplify blockResultColumn.getValuesEncoded() a bit by removing columnValuesEncodedCreator and searchValuesEncodedCreator abstractions
There are three possible cases for blockResultColumn.getValuesEncoded():

- The blockResultColumn.valuesEncoded is already set. This is the case for manually constructed blockResultColumn,
  or if it is cloned via blockResult.clone().

- The blockResultColumn.chSrc is non-nil. In this case the valuesEncoded must be read from the corresponding br.bs,
  by applying br.bm filter.

- The blockResultColumn.cSrc is non-nil. In this case the valuesEncoded must be read from the corresponding br.brSrc,
  by applying br.bm filter.

It is better from maintainability and debuggability PoV to write this logic in a single getValuesEncoded() function
instead of indirecting it via valuesEncodedCreator.
2025-05-10 13:12:54 +02:00
..
appmetrics all: add -metrics.exposeMetadata command-line flag, which can be used for adding TYPE and HELP metadata for metrics exposed at /metrics page 2023-12-19 03:20:40 +02:00
atomicutil lib/atomicutil: rename Slice.GetSlice to Slice.All for the sake of better readability 2025-04-30 16:13:57 +02:00
auth lib/auth: add NewTokenPossibleMultitenant() for parsing auth token, which can be multitenant 2023-08-30 14:17:55 +02:00
awsapi fix: compatibility for FIPS builds 2025-04-23 09:43:07 +04:00
backup {lib/backup,app/}: gracefully cancel currently running operation during graceful shutdown 2025-05-06 12:00:51 +02:00
blockcache all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
bloomfilter lib: consistently use atomic.* types instead of atomic.* functions 2024-02-24 02:07:53 +02:00
bufferedwriter app/vmselect: properly cancel long running requests on client connection close 2025-01-29 16:09:32 +01:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil victorialogs: add cluster mode 2025-04-10 16:55:23 +02:00
cgroup use new canonical urls to bestpractices docs: https://docs.victoriametrics.com/victoriametrics/bestpractices/ 2025-04-30 18:24:18 +02:00
chunkedbuffer docs: fixed typos () 2025-05-06 12:03:56 +02:00
consistenthash app/vmagent: add consistent hashing for the remote write sharding 2025-04-24 20:22:59 +03:00
contextutil lib/contextutil: make golanci-lint happy by substituing unused function arg name with _ 2024-09-26 17:06:48 +02:00
decimal spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
encoding docs: fixed typos () 2025-05-06 12:03:56 +02:00
envflag use new canonical urls to single-server-victoriametrics docs: https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/ 2025-04-30 22:31:37 +02:00
envtemplate allowed using dashes and dots in environment variables names () 2023-03-24 15:43:05 -07:00
fastnum lib/fastnum: use unsafe.Slice() instead of deprecated reflect.SliceHeader 2024-02-29 17:17:13 +02:00
fasttime lib/storage: test wasMetricIDsMissingBefore with "testing/synctest" () 2025-04-17 16:58:47 +02:00
filestream lib/filestream: use smaller sizes for read buffers than for write buffers 2025-02-19 12:35:05 +01:00
flagutil docs\stream-aggregation: Describe dropping unneeded labels in more details 2025-04-24 20:26:37 +03:00
formatutil app/vmbackupmanager: add metrics for better observability () 2022-12-20 14:18:06 -08:00
fs spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
htmlcomponents lib/htmlcomponents: use relative links for the top page and for favicon.ico 2023-11-13 20:29:05 +01:00
httpserver lib/httpserver: move ServeWithOpts to Serve 2025-05-06 17:41:44 +02:00
httputil lib/httputil: automatically initialize data transfer metrics for the created HTTP transports via NewTransport() 2025-03-27 15:03:52 +01:00
influxutil lib: rename lib/influxutils to lib/influxutil for the sake of consistency naming of *util packages 2025-03-26 17:38:25 +01:00
ingestserver replace app/victoria-metrics/main_test with apptest () 2025-05-05 12:58:45 +02:00
leveledbytebufferpool lib/leveledbytebufferpool: start with the pools[0] for byte slices up to 256 bytes 2025-04-01 12:01:21 +02:00
logger app/vlogscli: add interactive command-line tool for querying VictoriaLogs 2024-10-01 12:23:07 +02:00
logstorage lib/logstorage: simplify blockResultColumn.getValuesEncoded() a bit by removing columnValuesEncodedCreator and searchValuesEncodedCreator abstractions 2025-05-10 13:12:54 +02:00
lrucache all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
memory all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
mergeset lib/storage: test wasMetricIDsMissingBefore with "testing/synctest" () 2025-04-17 16:58:47 +02:00
metricsql all: make fmt via the upcoming Go1.19 2022-07-11 19:22:15 +03:00
netutil spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
persistentqueue spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
procutil spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
promauth docs: fixed typos () 2025-05-06 12:03:56 +02:00
prompb spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
prompbmarshal lib/prompbmarshal: move MustParsePromMetrics to protoparser/prometheus () 2025-02-27 22:50:27 +01:00
promrelabel lib/promrelabel: update the colors in the Metric Relabel Debug tool to softer tones () 2025-05-08 13:32:42 +02:00
promscrape docs: fixed typos () 2025-05-06 12:03:56 +02:00
promutil lib/protoparser/prometheus: adds Prometheus 3.0 utf-8 quoted syntax support 2025-05-06 17:48:36 +02:00
protoparser lib/protoparser/prometheus: adds Prometheus 3.0 utf-8 quoted syntax support 2025-05-06 17:48:36 +02:00
proxy lib/promscrape: fixes proxy autorization () 2024-08-19 22:31:18 +02:00
pushmetrics use new canonical urls to single-server-victoriametrics docs: https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/ 2025-04-30 22:31:37 +02:00
querytracer use new canonical urls to single-server-victoriametrics docs: https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/ 2025-04-30 22:31:37 +02:00
ratelimiter app/vmagent: properly shutdown when -maxIngestionRate limit is reached 2024-03-30 06:43:48 +02:00
regexutil spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
slicesutil lib/slicesutil: add helper functions for setting slice length and extending its capacity 2024-05-12 11:32:17 +02:00
snapshot lib/httputil: automatically initialize data transfer metrics for the created HTTP transports via NewTransport() 2025-03-27 15:03:52 +01:00
storage docs: fixed typos () 2025-05-06 12:03:56 +02:00
streamaggr use new canonical urls to stream-aggregation docs: https://docs.victoriametrics.com/victoriametrics/stream-aggregation/ 2025-04-30 22:47:13 +02:00
stringsutil spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tenantmetrics lib/tenantmetrics: improves CounterMap performance with large numbers of tenants 2024-11-20 18:42:47 +01:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:20:10 +03:00
timeserieslimits lib/timeserieslimits: follow-up for 564e6ea024 2024-12-11 11:00:27 +01:00
timeutil use new canonical urls to single-server-victoriametrics docs: https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/ 2025-04-30 21:44:02 +02:00
uint64set spelling and grammar fixes via codespell () 2025-03-17 16:32:10 +01:00
workingsetcache lib: consistently use atomic.* types instead of atomic.* functions 2024-02-24 02:07:53 +02:00
writeconcurrencylimiter lib/writeconcurrencylimiter: add some hints to unexpected EOF error message. () 2025-04-13 11:22:12 +03:00