VictoriaMetrics v1.40.1 Release Notes

Release Date: 2020-09-04 // almost 2 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 and GiB suffixes in command-line flag values related to byte sizes or byte rates

    FEATURE: add count_le_over_time(m[d], le) and count_gt_over_time(m[d], gt) functions to MetricsQL. These functions returns the number of raw samples that don't exceed le or are bigger than gt

    ๐Ÿ”‹ 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.