VictoriaMetrics v1.40.1 Release Notes
Release Date: 2020-09-04 // about 3 years ago-
๐ Changes since v1.40.0
๐ FEATURE: allow adding extra labels when importing data via Prometheus, CSV and JSON line formats. Extra labels may be added to the imported data by passing
extra_label=name=value
query args. Multiple query args may be passed in order to add multiple extra labels. See #719๐ FEATURE: allow using
KB
,MB
,GB
,KiB
,MiB
andGiB
suffixes in command-line flag values related to byte sizes or byte ratesFEATURE: add
count_le_over_time(m[d], le)
andcount_gt_over_time(m[d], gt)
functions to MetricsQL. These functions returns the number of raw samples that don't exceedle
or are bigger thangt
๐ FEATURE: support expected binary operations on string literals:
* "foo" + "bar" => "foobar" * "foo" == "bar" => NaN * "foo" == "foo" => 1 * "foo" >bool "bar" => 1 * "foo" < "bar" => NaN
๐ See #717
๐ FEATURE: add
-http.idleConnTimeout
command-line flag for tuning the timeout for incoming idle http connections๐ FEATURE: add
-http.connTimeout
command-line flag for limiting the lifetime for incoming http connections. This can be useful for balancing incoming connections among multiple services.๐ FEATURE: fall back to reading hierarchical memory limit in cgroups when the default limit isn't set. See #699
๐ FEATURE: vmagent: reduce memory usage when scraping targets with big number of metrics aka
/federate
endpoint from Prometheus๐ FEATURE: vmalert: allow reading multiple rule files in the same directory. See #708
๐ FEATURE: vmalert: allow running with empty directories with rules. There are some applications (operator for instance), that generates alerts configuration at runtime and vmalert must start correctly without rules to support this behaviour. Later application will add rules files and send SIGHUP to vmalert, which will trigger reading rules files and start rules exectuion.
๐ FEATURE: vmalert: spread load of per-group rules' evaluation across rule evaluation interval.
๐ BUGFIX: vmagent: properly flush big blocks of data. Previously some samples could fail to be delivered to
-remoteWrite.url
. See #741๐ BUGFIX: vmagent: apply sane limits to
-remoteWrite.queues
. See #707๐ BUGFIX: unconditionally align time range boundaries to step for subqueries as Prometheus does.
How to run VictoriaMetrics
๐ Unpack the
victoria-metrics-*.tar.gz
archive and read these docs.vmutils-*.tag.gz
archive contains the following tools:๐ณ The corresponding docker images are available here.
Cluster version is available here.