VictoriaMetrics/lib
Aliaksandr Valialkin f765985947 lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt
All the callers for fs.OpenReaderAt expect that the file will be opened.
So it is better to log fatal error inside fs.MustOpenReaderAt instead of leaving this to the caller.
2020-11-23 09:57:21 +02:00
..
backup lib/backup: add MustStop() method for all remote filesystems 2020-10-09 15:32:19 +03:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil Perform conversion from string to []byte according to rule #6 at https://golang.org/pkg/unsafe/#Pointer 2020-08-05 11:55:58 +03:00
cgroup lib/cgroup: do not adjust the number of detected CPU cores via /sys/devices/system/cpu/online 2020-09-29 13:55:26 +03:00
decimal lib/decimal: add tests for negative values passed to maxUpExponent 2020-10-05 14:56:45 +03:00
encoding lib: dump compressed block contents on error during decompression 2020-08-15 14:44:33 +03:00
envflag lib/envflag: add -envflag.prefix for setting optional prefix for environment vars 2020-03-30 15:51:19 +03:00
envtemplate all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:15:25 +03:00
fastnum Makefile: add build and test rules with enabled race detector. These rules have -race suffix 2020-03-05 12:03:38 +02:00
fasttime lib: extract common code for returning fast unix timestamp into lib/fasttime 2020-05-14 23:02:07 +03:00
filestream lib/{fs,filestream}: small consistency-related updates after cc90a548b1 2020-09-29 00:42:43 +03:00
flagutil app/vmstorage: support for -retentionPeriod smaller than one month 2020-10-20 14:31:44 +03:00
fs lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:21 +02:00
httpserver all: consistently return text-based HTTP responses with charset=utf-8 2020-11-13 10:35:41 +02:00
ingestserver lib/httpserver: log remote address in error message from httpserver.Errorf 2020-07-20 14:11:22 +03:00
leveledbytebufferpool lib/{promscrape,leveledbytebufferpool}: rename getPoolIdAndCapacity to getPoolIDAndCapacity in order to make golint happy 2020-08-28 09:49:32 +03:00
logger lib/logger: follow-up for 09105ff49c 2020-11-19 12:37:00 +02:00
memory lib/memory: do not print trailing zeroes in logs for -memory.allowedPercent command-line flag 2020-10-20 14:32:07 +03:00
mergeset lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:21 +02:00
metricsql lib/metricsql: move it to a separate repository - github.com/VictoriaMetrics/metrics 2020-04-28 15:28:22 +03:00
netutil all: use errors.As instead of type assertion for detecting net.Error 2020-07-01 00:15:34 +03:00
pacelimiter lib/pacelimiter: increase scalability for multi-CPU system 2020-08-06 18:32:59 +03:00
persistentqueue lib/persistentqueue: protect from multiple concurrent opening for the same persistent queue 2020-09-23 02:17:47 +03:00
procutil lib/procutil: add NewSighupChan function, which returns a channel, which is triggered on every SIGHUP 2020-05-05 10:54:09 +03:00
promauth Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:19:05 +02:00
prompb app/vminsert: moved -maxInsertRequestSize command-line flag out of lib/prompb in order to prevent its inclusion in vmselect and vmstorage apps 2020-01-28 23:02:08 +02:00
prompbmarshal all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
promrelabel Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:19:05 +02:00
promscrape lib/promscrape: hint that -enableTCP6 command-line flag can be used for connecting to IPv6 addresses 2020-11-21 14:39:00 +02:00
protoparser app/vminsert: add /tags/tagSeries and /tags/tagMultiSeries handlers from Graphite Tags API 2020-11-16 02:39:58 +02:00
storage lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:21 +02:00
storagepacelimiter lib/storage: remove prioritizing of merging small parts over merging big parts, since it doesn't work as expected 2020-07-30 19:57:27 +03:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:20:10 +03:00
uint64set lib/promscrape: eliminate data race in stream parse mode 2020-11-07 12:45:17 +02:00
workingsetcache lib/workingsetcache: accumulate stat counters on cache rotation 2020-04-10 11:51:40 +03:00
writeconcurrencylimiter lib/writeconcurrencylimiter: improve docs for -maxConcurrentInserts command-line flag 2020-04-20 21:03:00 +03:00