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 if max_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 and precision=ยต 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.