VictoriaMetrics v1.40.0 Release Notes
Release Date: 2020-08-15 // over 3 years ago-
๐ Changes since v1.39.4
- ๐ FEATURE: release Kubernetes operator for VictoriaMetrics - see https://github.com/VictoriaMetrics/operator .
- ๐ FEATURE: respect CPU limits set via
cgroups
. This should reduce CPU trashing and reduce memory usage for cases when VictoriaMetrics components run in containers (Docker, Kubernetes) with CPU limits. See #685 . - FEATURE: support
%{ENV_VAR}
placeholders in yaml configs in all the vm* components. Such placeholders are substituted by the corresponding environment variable values. See #583 . - ๐ FEATURE: vmagent: reduce memory usage when scraping big number of targets. Thanks to @dxtrzhang for the original idea at #688 . See #689 .
- FEATURE: reduce memory usage when exporting time series with big number of samples via
/api/v1/export
ifmax_rows_per_line
is set to non-zero value. See #685 . - ๐ FEATURE: add
-memory.allowedBytes
command-line flag for setting absolute memory limit for VictoriaMetrics caches. - ๐ FEATURE: allow passing multiple args to aggregate functions such as
avg(q1, q2, q3)
. See MetricsQL docs for details. - ๐ FEATURE: update Go builder from Go1.14.7 to Go1.15.0.
- ๐ BUGFIX: vmagent, vminsert: prevent from busy loop on repeated timeout errors when reading streams of ingested data. See #696 .
- ๐ BUGFIX: vmagent, vminsert: accept
precision=us
andprecision=ยต
query args according to https://docs.influxdata.com/influxdb/v1.8/tools/api/#write-http-endpoint . - ๐ BUGFIX: vmagent: show real timestamp and real scrape duration on
/targets
page. Previously the scrape duration could be negative when calculated scrape timestamp drifts away from the real scrape timestamp. - ๐ BUGFIX: vmagent: properly retry requests on
the server closed connection before returning the first response byte
error during service discovery API calls and target scrapes.
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.