VictoriaMetrics v1.45.0 Release Notes

Release Date: 2020-11-02 // over 3 years ago
  • ๐Ÿ”„ Changes since v1.44.0

    ๐Ÿ”‹ FEATURE: allow setting -retentionPeriod smaller than one month. I.e. -retentionPeriod=3d, -retentionPeriod=2w, etc. is supported now. See #173

    ๐Ÿ”‹ FEATURE: optimize more cases according to https://utcc.utoronto.ca/~cks/space/blog/sysadmin/PrometheusLabelNonOptimization . Now the following cases are optimized too:

    • rollup_func(foo{filters}[d]) op bar -> rollup_func(foo{filters}[d]) op bar{filters}
    • transform_func(foo{filters}) op bar -> transform_func(foo{filters}) op bar{filters}

    - num_or_scalar op foo{filters} op bar -> num_or_scalar op foo{filters} op bar{filters}

    ๐Ÿ”‹ FEATURE: improve time series search for queries with multiple label filters. I.e. foo{label1="value", label2=~"regexp"}. See #781

    ๐Ÿ“œ FEATURE: vmagent: add stream parse mode. This mode allows reducing memory usage when individual scrape targets expose tens of millions of metrics. For example, during scraping Prometheus in federation mode. See -promscrape.streamParse command-line option and stream_parse: true config option for scrape_config section in -promscrape.config. See #825 and troubleshooting docs for vmagent.

    ๐Ÿ”‹ FEATURE: vmalert: add -dryRun command-line option for validating the provided config files without the need to start vmalert service.

    FEATURE: accept optional third argument of string type at topk_* and bottomk_* functions. This is label name for additional time series to return with the sum of time series outside top/bottom K. See MetricsQL docs for more details.

    ๐Ÿ”‹ FEATURE: vmagent: expose /api/v1/targets page according to the corresponding Prometheus API. See #643

    ๐Ÿ›  BUGFIX: vmagent: properly handle OpenStack endpoint ending with v3.0 such as https://ostack.example.com:5000/v3.0 in the same way as Prometheus does. See #728 (comment)

    ๐Ÿ›  BUGFIX: drop trailing data points for time series with a single raw sample. See #748

    ๐Ÿ›  BUGFIX: do not drop trailing data points for instant queries to /api/v1/query. See #845

    ๐Ÿ›  BUGFIX: vmbackup: fix panic when -origin isn't specified. See #856

    ๐Ÿ›  BUGFIX: vmalert: skip automatically added labels on alerts restore. Label alertgroup was introduced in this issue and automatically added to generated time series. By mistake, this new label wasn't correctly purged on restore event and affected alert's ID uniqueness. See #870

    ๐Ÿ›  BUGFIX: vmagent: fix panic at scrape error body formating. See #864

    ๐Ÿ›  BUGFIX: vmagent: add leading missing slash to metrics path like Prometheus does. See #835

    ๐Ÿ›  BUGFIX: vmagent: drop packet if remote storage returns 4xx status code. This make the behaviour consistent with Prometheus.
    ๐Ÿ‘€ See #873

    ๐Ÿ›  BUGFIX: vmagent: properly handle 301 redirects. See #869

    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.