VictoriaMetrics v1.39.2 Release Notes

Release Date: 2020-07-30 // over 3 years ago
  • ๐Ÿ”„ Changes since v1.39.1

    • ๐Ÿ”‹ FEATURE: vmalert: add -external.label command-line flag to specify global labelset for all rules. This flag supposed to help to distinguish the source of alert or recording rules when more than one vmalert runs for the same datasource or AlertManager. See #622
    • โž• FEATURE: show query origin (aka remote_addr or client address) on the /api/v1/status/active_queries page for every query.
    • ๐Ÿ”‹ FEATURE: add X-Forwarded-For header value to remoteAddr in error logs. See #659
    • ๐Ÿ›  BUGFIX: do not prioritize merging of small parts over merging of big parts, since this doesn't work as expected. The prioritizing could lead to starvation for big part merges, which could end up in too big number of parts that must be merged into big parts.
      Note : multiple big merges may be initiated after the migration from v1.39.0 or v1.39.1 to v1.39.2 or newer releases. It is OK - these merges should be finished soon. After that CPU load and disk IO usage should return to normal levels. See #648 and #618
    • ๐Ÿ›  BUGFIX: vmagent: add missing resp.Body.Close() call after pushing data to remote storage. Missing body close could disable HTTP keep-alive connections, which could lead to higher load on re-establishing connections to remote storage after each request to it. See #653
    • ๐Ÿ›  BUGFIX: vmalert,vminsert: properly preserve db tag from query string passed to Influx line protocol query. Previously db tag from the query string wasn't added to metrics after encountering db tag in the Influx line. See #653
    • ๐Ÿ›  BUGFIX: return empty values instead of 1 from group() if all the time series in the group have no values at the given timestamp. This aligns group() behaviour to Prometheus.
    • BUGFIX: improve rate_over_sum(m[d]) handling for cases when m contains zero or one data point on the time range d.
    • BUGFIX: properly update vm_slow_row_inserts_total metric when importing multiple data points per time series at once. Previously the vm_slow_row_inserts_total metric could be incremented multiple times for different data points per a single time series, while only a single increment is needed when inserting the first data point for this time series.

    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.