VictoriaMetrics v1.49.0 Release Notes

Release Date: 2020-12-05 // over 3 years ago
  • ๐Ÿ”„ Changes since v1.48.0

    ๐Ÿ”‹ FEATURE: optimize Consul service discovery speed when discovering big number of services. See #574

    FEATURE: add label_uppercase(q, label1, ... labelN) and label_lowercase(q, label1, ... labelN) function to MetricsQL for uppercasing and lowercasing values for the given labels. See #936

    FEATURE: add count_eq_over_time(m[d], N) and count_ne_over_time(m[d], N) for counting the number of samples for m over d that (equal / not equal) to N.

    ๐Ÿ”‹ FEATURE: do not print usage info for all the command-line flags when incorrect command-line flag is passed. Previously it could be hard reading the error message about incorrect command-line flag because of too big usage info for all the flags.

    ๐Ÿ”‹ FEATURE: upgrade Go builder from v1.15.5 to v1.15.6 . This fixes issues found in Go since v1.15.5.

    ๐Ÿ›  BUGFIX: properly parse timestamps in OpenMetrics format - they are exposed as floating-point number in seconds instead of integer milliseconds unlike in Prometheus exposition format. See the docs.

    ๐Ÿ›  BUGFIX: return nan for a >bool b query when a equals to nan like Prometheus does. Previously 0 was returned in this case. This applies to any comparison operation with bool modifier. See these docs for details.

    ๐Ÿ›  BUGFIX: properly parse hex numbers in MetricsQL. Previously hex numbers with non-decimal digits such as 0x3b couldn't be parsed.

    BUGFIX: handle time() cmp_op metric like Prometheus does - i.e. return metric value if cmp_op comparison is true. Previously time() value was returned.

    BUGFIX: return nan for minute(m) query when m equals to nan like Prometheus does. This applies to all the time-related functions such as day_of_month, day_of_week, days_in_month, hour, month and year.

    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.

    ๐Ÿš€ vmctl releases are available here.


Previous changes from v1.48.0

  • ๐Ÿ”„ Changes since v1.47.0

    ๐Ÿ”‹ FEATURE: added Snap package for single-node VictoriaMetrics. This simplifies installation under Ubuntu to a single command:

    snap install victoriametrics
    

    ๐Ÿ”‹ FEATURE: vmselect: add -replicationFactor command-line flag for reducing query duration when replication is enabled and a part of vmstorage nodes are temporarily slow and/or temporarily unavailable. See #711

    FEATURE: vminsert: export vm_rpc_vmstorage_is_reachable metric, which can be used for monitoring reachability of vmstorage nodes from vminsert nodes.

    FEATURE: vmagent: add Netflix Eureka service discovery (aka eureka_sd_config). See #851

    FEATURE: add filters option to dockerswarm_sd_config like Prometheus did in v2.23.0 - see prometheus/prometheus#8074

    FEATURE: expose __meta_ec2_ipv6_addresses label for ec2_sd_config like Prometheus will do in the next release.

    ๐Ÿ”‹ FEATURE: add -loggerWarnsPerSecondLimit command-line flag for rate limiting of WARN messages in logs. See #905

    ๐Ÿ”‹ FEATURE: apply loggerErrorsPerSecondLimit and -loggerWarnsPerSecondLimit rate limit per caller. I.e. log messages are suppressed if the same caller logs the same message at the rate exceeding the given limit. See #905 (comment)

    ๐Ÿ”‹ FEATURE: add remoteAddr to slow query log in order to simplify identifying the client that sends slow queries to VictoriaMetrics. Slow query logging is controlled with -search.logSlowQueryDuration command-line flag.

    ๐Ÿ”‹ FEATURE: add /tags/delSeries handler from Graphite Tags API. See https://victoriametrics.github.io/#graphite-tags-api-usage

    ๐Ÿ”‹ FEATURE: log metric name plus all its labels when the metric timestamp is out of the configured retention. This should simplify detecting the source of metrics with unexpected timestamps.

    ๐Ÿ”‹ FEATURE: add -dryRun command-line flag to single-node VictoriaMetrics in order to check config file pointed by -promscrape.config.

    ๐Ÿ›  BUGFIX: properly parse Prometheus metrics with exemplars such as foo 123 # {bar="baz"} 1.

    ๐Ÿ›  BUGFIX: properly parse "infinity" values in OpenMetrics format. See #924

    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.

    ๐Ÿš€ vmctl releases are available here.