VictoriaMetrics/lib
Aliaksandr Valialkin 3a444bb7bb lib/promrelabel: add support for keep_if_equal and drop_if_equal actions to relabel configs
These actions may be useful for filtering out unneeded targets and/or metrics if they contain equal label values.
For example, the following rule would leave the target only if __meta_kubernetes_annotation_prometheus_io_port
equals __meta_kubernetes_pod_container_port_number:

  - action: keep_if_equal
    source_labels: [__meta_kubernetes_annotation_prometheus_io_port, __meta_kubernetes_pod_container_port_number]
2020-06-23 17:29:19 +03:00
..
auth all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
backup lib/backup: properly create missing parent directories in fs.CreateFile 2020-06-05 19:28:25 +03:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil lib/bytesutil: prevent from garbage collecting s before returning from ToUnsafeBytes 2020-06-03 00:23:27 +03:00
consts all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
decimal lib/{encoding,decimal}: typo fixes in tests: epxecting->expecting 2020-04-28 00:02:19 +03:00
encoding lib/{encoding,decimal}: typo fixes in tests: epxecting->expecting 2020-04-28 00:02:19 +03:00
envflag lib/envflag: add -envflag.prefix for setting optional prefix for environment vars 2020-03-30 15:51:44 +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 app/vmagent: initial implementation for vmagent 2020-02-23 17:31:54 +02:00
flagutil lib/flagutil: make errcheck happy by explicitly ignoring Array.Set result in tests 2020-05-06 22:37:28 +03:00
fs lib/fs: an attempt to fix SIGBUS error by rounding mmap`ed region to multiple of 4KB pages 2020-06-23 13:40:20 +03:00
handshake app/{vminsert,vmstorage}: wait for ack from vmstorage after each packet sent to it from vminsert 2020-04-27 09:53:26 +03:00
httpserver lib/httpserver: do not flush and do not close gzip writer if response compression is disabled 2020-06-05 21:37:46 +03:00
ingestserver lib/httpserver: reduce typical duration for http server graceful shutdown 2020-05-07 14:16:38 +03:00
logger lib/logger: add -loggerErrorsPerSecondLimit for limiting the rate of ERROR messages 2020-06-23 12:42:59 +03:00
memory allow to use values lower than 10 with the flag -memory.allowedPercent (#531) 2020-06-03 23:40:13 +03:00
mergeset lib/{storage,mergeset}: further tuning of compression levels depending on block size 2020-05-15 13:12:28 +03:00
metricsql lib/metricsql: move it to a separate repository - github.com/VictoriaMetrics/metrics 2020-04-28 15:30:06 +03:00
netutil lib/httpserver: reduce typical duration for http server graceful shutdown 2020-05-07 14:16:38 +03:00
persistentqueue lib/persistentqueue: a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/484 2020-05-16 09:32:30 +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 app/vmagent: fix scraping mTLS targets, which has been broken in v1.35.1 2020-05-12 17:23:43 +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 app/vmagent: fix a bug with improper relabeling when multiple -remoteWrite.urlRelableConfig args are set 2020-05-12 22:03:45 +03:00
promrelabel lib/promrelabel: add support for keep_if_equal and drop_if_equal actions to relabel configs 2020-06-23 17:29:19 +03:00
promscrape lib/promscrape: preserve the previously discovered targets on discovery errors per each job_name 2020-06-23 15:42:46 +03:00
protoparser lib: extract common code for returning fast unix timestamp into lib/fasttime 2020-05-14 23:06:50 +03:00
storage app/vmselect/promql: properly override label values from group_left and group_right lists like Prometheus does 2020-06-21 16:32:27 +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: remove zero buckets after Set.Intersect 2020-03-27 01:16:34 +02: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