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 rates -
FEATURE: 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.