VictoriaMetrics 1.156.0 → 1.157.0
1 release · 1 breaking change · 1 security fix · 0 advisories fixed
1security1breaking0deprecated7feature11fix
Breaking changes
- breaking FEATURE: vmrestore: add -restoreSince and -restorePartitions command-line flags for restoring only a subset of monthly partitions from a backup. This reduces download time and disk usage when only part of the data is needed, e.g. when restoring a few production partitions into a test environment.… in 1.157.0
Security changes
- security SECURITY: upgrade Go builder from Go1.27.3 to Go1.27.4. See the list of issues addressed in Go1.27.4. in 1.157.0
Every release in between
securitySECURITY: upgrade Go builder from Go1.27.3 to Go1.27.4. See the list of issues addressed in Go1.27.4.
featureFEATURE: docs/integrations: add integration with Nightingale, a monitoring and alerting platform that uses VictoriaMetrics as a datasource and remote storage. See. Thanks to @710leo for the contribution.
otherFEATURE: stream aggregation: restart only the changed aggregation configs on config reload. A config is considered unchanged only if it stays identical and keeps its position in the config file. Previously, any change in the config file reset the aggregation state of all the configs. See.
featureFEATURE: vmalert: add -datasource.queryTimeout command-line flag to limit the duration of a single request to -datasource.url and -remoteRead.url. By default, rule evaluation queries time out after the group's evaluation interval. Previously, a datasource response with a stalled body could block…
featureFEATURE: vmalert-tool: add -respectGroupInterval command-line flag to evaluate every rule group on its own interval instead of the file-wide evaluation_interval, the same way vmalert does. Groups without interval keep using evaluation_interval. The flag is disabled by default. See. Thanks @evkuzin…
featureFEATURE: vmctl: allow resuming interrupted migrations in vm-native mode. vmctl tracks finished requests in a state file in the --state-dir directory (the current working directory by default), and a repeated run with the same flags continues the progress. --vm-native-filter-time-end is now…
featureFEATURE: vminsert in VictoriaMetrics cluster: add -rpc.compressLevel command-line flag for configuring the zstd compression level used for internal protocol to vmstorage (default 1). See.
breakingFEATURE: vmrestore: add -restoreSince and -restorePartitions command-line flags for restoring only a subset of monthly partitions from a backup. This reduces download time and disk usage when only part of the data is needed, e.g. when restoring a few production partitions into a test environment.…
otherFEATURE: vmsingle and vmutils: publish release archives for Windows on arm64 (victoria-metrics-windows-arm64-.zip and vmutils-windows-arm64-.zip). See. Thanks to @fiodortretyakov for contribution.
otherFEATURE: vmsingle and vmselect in VictoriaMetrics cluster: accept the Prometheus lookback_delta query arg as an alias of max_lookback in /api/v1/query, /api/v1/query_range and /federate. max_lookback takes precedence if both are set. See. Thanks to @muhadyan for contribution.
featureFEATURE: vmauth: add src_headers_match_all and src_query_args_match_all options to url_map. When set to true, a request is routed to the given url_prefix only if it matches all the src_headers or src_query_args entries, instead of at least one of them. This allows routing by several headers at…
featureFEATURE: Enterprise vmsingle and vmselect in VictoriaMetrics cluster: add merge_latest_label query arg param, which applies updates to the original time series based on specified label. See these docs. See.
fixBUGFIX: all VictoriaMetrics components: correctly match regular expressions of the form .+text.+ (used in relabeling rules and series label filters) when text appears at the start of the matched string. Previously such series could be silently dropped, for example foofoox did not match .+foo.+.…
fixBUGFIX: stream aggregation: drop the incomplete first aggregation interval after the start by default. Previously, samples received before the first interval boundary were merged into the next interval, so the first flushed value could cover up to two intervals. See flush time alignment and.
fixBUGFIX: stream aggregation: properly recover after a flush that takes longer than the aggregation or deduplication interval. Previously, such a flush could permanently shift aggregation results one interval into the future, and with aggregation windows or ignore_old_samples enabled, all incoming…
fixBUGFIX: stream aggregation: stop aggregation and deduplication with aggregation windows enabled without waiting for the flush delay. Previously, graceful shutdown could hang until the pending flush delay elapsed. See.
fixBUGFIX: vmagent: respect -remoteWrite.streamAggr.enableWindows for deduplication configured via -remoteWrite.streamAggr.dedupInterval. Previously, the per-URL deduplicator used the global -streamAggr.enableWindows flag instead. See.
fixBUGFIX: vmagent: correctly parse Vultr service discovery configuration provided via field vultr_sd_configs. Previously, vmagent was expecting vultr_configs field to be set, even though documentation was explicitly mentioning vultr_sd_configs field. The vultr_sd_configs field also matches…
fixBUGFIX: vmagent: fix unexpected process panic when specifying filters like label, hostname, etc. for Vultr service discovery. The bug was introduced in v1.102.0. See.
fixBUGFIX: vmagent: prevent HTTP connection leaks when service discovery configs are reloaded or removed for Hetzner, Marathon, PuppetDB and Vultr SDs. See.
fixBUGFIX: vmagent: properly reload Marathon service discovery configuration on scrape config reloads. Previously, discovered Marathon targets could remain active even if configuration has changed. The bug was introduced in v1.109.0. See.
fixBUGFIX: vmsingle and vmselect in VictoriaMetrics cluster: correctly serve concurrent JSON and CSV export API requests with mixed reduce_mem_usage=0 and reduce_mem_usage=1 settings. Previously, responses could be corrupted. See.
fixBUGFIX: vminsert in VictoriaMetrics cluster: properly calculate vmstorage node saturation used by slowness based re-routing on platforms with low timer resolution, e.g. Windows. Previously, the saturation could permanently become NaN when sends to vmstorage completed within a single timer tick.…