VictoriaMetrics v1.41.1 Release Notes

Release Date: 2020-09-23 // about 2 years ago
  • ๐Ÿ”„ Changes since v1.41.0

    • ๐Ÿ”‹ FEATURE: add /internal/force_merge handler for running forced compactions on historical per-month partitions. This may be useful for freeing up storage space after time series deletion. See for more details.
    • ๐Ÿ”‹ FEATURE: reduce memory usage when querying time series with big number of samples in each series.
    • ๐Ÿ”‹ FEATURE: optimize searching for time series via regexp label filters. See #781
    • ๐Ÿ”‹ FEATURE: vmagent: reduce memory usage when scraping targets with millions of metrics
    • ๐Ÿ”‹ FEATURE: vmagent: add support for role_arn and instance IAM tokens in EC2 service discovery. See #771
    • ๐Ÿ”‹ FEATURE: vmagent: make persistent queue more durable after unclean shutdown (kill -9, OOM, hard reset). See #687
    • ๐Ÿ”‹ FEATURE: vmagent: substitute -remoteWrite.url with secret-url value in logs, since it may contain sensitive info such as passwords or auth tokens. Pass -remoteWrite.showURL command-line flag in order to see real -remoteWrite.url in logs and at /metrics page. See #773
    • ๐Ÿ”‹ FEATURE: vmagent: protect from concurrent access to the same -remoteWrite.tmpDataPath from multiple vmagent instances. Previously this could lead to data corruption.
    • ๐Ÿ”‹ FEATURE: vmalert: add support for datasource.lookback flag, which defines how far to look into the past when evaluating queries. See #668
    • ๐Ÿ”‹ FEATURE: add -loggerDisableTimestamps command-line flag for disabling timestamps in logs. See #778
    • ๐Ÿ”‹ FEATURE: attempt to obtain available CPU cores via /sys/devices/system/cpu/online. See #685 (comment)
    • ๐Ÿ›  BUGFIX: release occupied resources on query timeouts in single-node VictoriaMetrics. Previously there was resource leak, which could lead to many open files. See #716
    • ๐Ÿ›  BUGFIX: return proper results from /metrics/find?query=foo.*.bar according to Graphite Metrics API
    • ๐Ÿ›  BUGFIX: properly parse +Inf values during data ingestion via text-based protocols (Graphite, Influx, OpenTSDB, JSON). Previously such values were silently converted to 0. See VictoriaMetrics/vmctl#25
    • ๐Ÿ›  BUGFIX: log errors when timestamps or values cannot be parsed during data ingestion via text-based protocols. Previously such values were silently converted to 0. See #99
    • ๐Ÿ›  BUGFIX: use time value rounded to seconds if it isn't passed to /api/v1/query. This fixes table results in Grafana. See #720

    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.