VictoriaMetrics/lib
Lu Jiajing b59164cf33
fix access to nil *url.URL (#1180)
* fix access to nil *url.URL

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* Update lib/promscrape/discovery/kubernetes/api_watcher.go

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2021-04-05 22:25:31 +03:00
..
backup lib/backup: increase backup chunk size from 128MB to 1GB 2021-01-13 12:16:35 +02: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: follow-up after b9bf3cbe3e 2021-02-08 15:54:38 +02:00
decimal lib/decimal: prevent exponent overflow when processing values close to zero 2021-03-05 18:52:47 +02: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 all: various fixes in command-line flag descriptions 2021-03-15 21:59:25 +02:00
fs lib/fs: reduce the frequency of failed to remove directory ... due to NFS lock log warnings 2021-03-18 13:24:46 +02:00
httpserver lib/httpserver: export vm_available_memory_bytes and vm_available_cpu_cores metrics 2021-03-10 12:02:42 +02:00
influxutils lib/influxutils: return response compatible with InfluxDB 1.8.4 2021-03-15 22:19:59 +02:00
ingestserver Adds udp6 support for ingest servers (#1134) 2021-03-17 00:03:06 +02:00
leveledbytebufferpool lib/promscrape: an attempt to reduce memory usage when vmagent scrapes targets with varying number of metrics 2021-03-15 11:45:39 +02:00
logger lib/logger: explicitly import "time/tzdata" package for embedding tzdata into the app 2021-02-15 01:00:01 +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/mergeset: reduce memory usage for inmemoryBlock by using more compact items representation 2021-02-21 22:06:47 +02:00
metricsql lib/metricsql: move it to a separate repository - github.com/VictoriaMetrics/metrics 2020-04-28 15:28:22 +03:00
netutil lib/netutil: enable IPv6 UDP listening if -enableTCP6 command-line flag is passed to VictoriaMetrics 2021-03-17 00:16:17 +02:00
pacelimiter lib/pacelimiter: increase scalability for multi-CPU system 2020-08-06 18:32:59 +03:00
persistentqueue lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:11 +03:00
procutil Adds windows build (#1040) 2021-02-27 00:37:07 +02:00
promauth lib/promscrape: support for simple HTTP proxies without CONNECT method support such as https://github.com/prometheus-community/PushProx 2021-04-04 00:40:40 +03: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 lib/promrelabel: remove unneded optimizations for labeldrop and labelkeep actions 2021-03-02 17:55:43 +02:00
promscrape fix access to nil *url.URL (#1180) 2021-04-05 22:25:31 +03:00
protoparser all: various fixes in command-line flag descriptions 2021-03-15 21:59:25 +02:00
proxy lib/proxy: typo fix after a5c5b54c22 2021-04-05 13:45:24 +03:00
storage app/{vminsert,vmagent}: add -sortLabels command-line option for sorting time series labels before ingesting them in the storage 2021-03-31 23:27:58 +03: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/uint64set: improve Set.Has() performance scalability on multi-CPU system 2021-03-29 12:33:47 +03:00
workingsetcache all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00
writeconcurrencylimiter all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00