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 andstream_parse: true
config option forscrape_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 startvmalert
service.FEATURE: accept optional third argument of string type at
topk_*
andbottomk_*
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 ashttps://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.