VictoriaMetrics/lib
Nikolay Khramchikhin af994562c8 Added endpointslices discovery to k8s api (#760)
This is similar to https://github.com/prometheus/prometheus/pull/6838 , which will be added in Prometheus v2.21.
See https://github.com/prometheus/prometheus/releases/tag/v2.21.0-rc.1

* Added endpointslices discovery to k8s api

Started from 1.17 k8s version endpointslices is beta,
it allows to query k8s api for endpoints more efficient.
It presents at scrape_config.yaml as separate role for kubernetes_sd_config.
kubernetes_sd_config:
- role: endpointslices

* fixed typos, changed EndpointConditions signature - with values instead of pointers
2020-09-11 12:24:50 +03:00
..
auth all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
backup Changed s3 configProfile flag default, (#749) 2020-09-07 21:55:45 +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:12 +03:00
cgroup lib/memory: fall back to reading hierarchical memory limit in cgroups when the default limit isn't set 2020-09-04 00:04:57 +03:00
consts all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
decimal lib/decimal: rename significant decimal digits to significant figures (#698) 2020-08-16 17:22:40 +03:00
encoding lib: dump compressed block contents on error during decompression 2020-08-15 14:51:14 +03:00
envflag lib/envflag: add -envflag.prefix for setting optional prefix for environment vars 2020-03-30 15:51:44 +03:00
envtemplate all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:17:06 +03:00
fastnum Makefile: add build and test rules with enabled race detector. These rules have -race suffix 2020-03-05 12:05:16 +02:00
fasttime lib: extract common code for returning fast unix timestamp into lib/fasttime 2020-05-14 23:06:50 +03:00
filestream all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
flagutil lib/flagutil: avoid int overflow for arch 386 (#710) 2020-08-28 09:46:35 +03:00
fs lib/fs: use WARN instead of ERROR log level for the message when NFS diretory removal temporarily fails 2020-08-09 12:07:35 +03:00
handshake all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
httpserver lib/httpserver: add a jitter to connection timeouts in order to protect from Thundering herd problem 2020-09-08 19:57:20 +03:00
ingestserver lib/httpserver: log remote address in error message from httpserver.Errorf 2020-07-20 14:06:29 +03:00
leveledbytebufferpool lib/{promscrape,leveledbytebufferpool}: rename getPoolIdAndCapacity to getPoolIDAndCapacity in order to make golint happy 2020-08-28 09:49:22 +03:00
logger lib/logger: add -loggerErrorsPerSecondLimit for limiting the rate of ERROR messages 2020-06-23 12:42:59 +03:00
memory lib/memory: fall back to reading hierarchical memory limit in cgroups when the default limit isn't set 2020-09-04 00:04:57 +03:00
mergeset lib: dump compressed block contents on error during decompression 2020-08-15 14:51:14 +03:00
metricsql lib/metricsql: move it to a separate repository - github.com/VictoriaMetrics/metrics 2020-04-28 15:30:06 +03:00
netutil all: use errors.As instead of type assertion for detecting net.Error 2020-07-01 00:16:13 +03:00
pacelimiter lib/pacelimiter: increase scalability for multi-CPU system 2020-08-06 18:33:07 +03:00
persistentqueue lib/persistentqueue: add vm_persistentqueue_bytes_pending metric (#619) 2020-07-13 21:54:54 +03:00
procutil lib/procutil: add NewSighupChan function, which returns a channel, which is triggered on every SIGHUP 2020-05-05 10:56:15 +03:00
promauth all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +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 22:53:50 +02:00
prompbmarshal all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
promrelabel all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:17:06 +03:00
promscrape Added endpointslices discovery to k8s api (#760) 2020-09-11 12:24:50 +03:00
protoparser app/{vminsert,vmagent}: allow adding extra labels when importing data via Prometheus, CSV and JSON line formats 2020-09-02 19:47:02 +03:00
storage app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:20 +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 20:02:22 +03:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tenantmetrics app/vminsert: split vm_rows_inserted_total into per-(accountID, projectID) metrics 2019-06-07 22:11:20 +03:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:30:10 +03:00
uint64set lib/uint64set: optimize adding items to the set via Set.AddMulti 2020-07-21 20:57:05 +03:00
workingsetcache lib/workingsetcache: accumulate stat counters on cache rotation 2020-04-10 11:51:47 +03:00
writeconcurrencylimiter lib/writeconcurrencylimiter: improve docs for -maxConcurrentInserts command-line flag 2020-04-20 21:03:09 +03:00