VictoriaMetrics v1.155.0

v1.155.0
Added 6
  • Added -healthcheck command-line flag to all VictoriaMetrics components, which checks that the running process accepts connections at -httpListenAddr and exits with non-zero code if the check fails
  • Exposed process_cpu_cores_host, process_cpu_cores_cgroup_quota, process_memory_host_bytes and process_memory_cgroup_bytes metrics in all VictoriaMetrics components, with cgroup metrics set to -1 when no cgroup limit is set or the limit cannot be read
  • vmui adds a tenant column to Top Queries and Active Queries when tenant information is available
  • Added -promscrape.maxParseErrorsPerScrape command-line flag to vmagent and Single-node VictoriaMetrics to limit logged parse errors per scrape of a target (20 by default), logging the number of suppressed errors after each scrape
  • vmselect in the VictoriaMetrics cluster exports vm_request_duration_seconds{path="/admin/tenants"} for tracking time taken to fetch tenants from the database
  • Added TooManySnapshots alerting rule to alerts-health, which notifies about instances where more than 2 snapshots are stored for at least 2 hours
Changed 4
  • vmselect in the VictoriaMetrics cluster now returns tenants for the current day when /admin/tenants requests lack start and end query args, which is a breaking change from returning all tenants behavior changed · inferred, marked in the notes below
  • vmui updated the appearance of error, warning, info, and success messages
  • vmui limits tenant discovery to the selected time range
  • Applied the instance filter to the CPU pressure, Memory pressure, IO pressure, and Memory allocations rate panels in the Resource usage section of the VictoriaMetrics cluster dashboard
Fixed 1
  • vmalert restores Prometheus compatibility for alerts state restoration so Prometheus can be used as -remoteRead.url again, fixing alerting rule state being reset on every restart for rules with for > 0
Deprecated 1
Security 2
  • Upgraded Go builder from Go1.27.2 to Go1.27.3
  • Upgraded base docker image (Alpine) from 3.24.2 to 3.24.3

3 changes to check, marked in the notes below

From VictoriaMetrics

Released at 2026-10-23

Update Note 1: vmselect in VictoriaMetrics cluster: /admin/tenants requests without start and end query args now return tenants for the current day. This is a breaking change because previously it was expected to return all tenants. If you still need to retrieve all tenants, set the start and end params so that the resulting time range fully includes the -retentionPeriod. Also note that vmctl is known to send requests to /admin/tenants under the hood when migrating data between VictoriaMetrics deployments. Therefore, make sure that you run vmctl with both *-filter-time-start and *-filter-time-end params. See the updated URL format and #11791 for details. behavior changed · inferred

  • SECURITY: upgrade Go builder from Go1.27.2 to Go1.27.3. See the list of issues addressed in Go1.27.3.

  • SECURITY: upgrade base docker image (Alpine) from 3.24.2 to 3.24.3. See Alpine 3.24.4 release notes.

  • FEATURE: all VictoriaMetrics components: add -healthcheck command-line flag, which checks that the running process accepts connections at -httpListenAddr and exits with non-zero code if the check fails. This allows setting up Docker HEALTHCHECK in images without curl or wget. See these docs and VictoriaLogs#1565.

  • FEATURE: all VictoriaMetrics components: expose process_cpu_cores_host, process_cpu_cores_cgroup_quota, process_memory_host_bytes and process_memory_cgroup_bytes metrics. Cgroup metrics are -1 if no cgroup limit is set or the limit cannot be read. See #11460.

  • FEATURE: vmui: deprecate Server URL editing and show a warning when using a saved custom URL. Existing custom URLs continue to work. See #11735. deprecated · inferred

  • FEATURE: vmui: update the appearance of error, warning, info, and success messages. See #11736.

  • FEATURE: vmui: add a tenant column to Top Queries and Active Queries when tenant information is available. See #6346.

  • FEATURE: vmui: limit tenant discovery to the selected time range. See #11784.

  • FEATURE: vmagent and Single-node VictoriaMetrics: limit the number of logged parse errors per each scrape of a target via -promscrape.maxParseErrorsPerScrape command-line flag (20 by default). The number of suppressed parse errors is logged after the scrape. This prevents log flooding from targets exposing many malformed lines. See #8856.

  • FEATURE: vmalert: restore Prometheus compatibility for alerts state restoration, so Prometheus can be used as -remoteRead.url again. Previously, the restore query used MetricsQL function default_rollup() which Prometheus rejects, so the state of alerting rules with for > 0 was reset on every vmalert restart. See #11574.

  • FEATURE: vmselect in VictoriaMetrics cluster: export vm_request_duration_seconds{path="/admin/tenants"} for tracking time it takes to fetch tenants from the database.

  • FEATURE: dashboards: apply the instance filter to the CPU pressure, Memory pressure, IO pressure, and Memory allocations rate panels in the Resource usage section of the VictoriaMetrics - cluster dashboard. Displays zero disk I/O and syscall rates. See #11742.

  • FEATURE: alerts-health: add TooManySnapshots alerting rule. It notifies about instances where more than 2 snapshots are stored for at least 2 hours. Such snapshots are usually left behind by failed vmbackup / vmbackupmanager runs. They keep references to the already merged data parts and prevent background merges from freeing the disk space, which results in excessive disk usage. See #9344.

  • BUGFIX: vmagent: prevent Kafka remote write getting stuck after TLS certificates are reloaded. Previously, when vmagent detected changed certificates and restarted the Kafka producer, pending sends to the old producer could hang forever and the remote write queue stopped draining until vmagent was restarted. Now such sends are retried with the new producer. See #11737.

  • BUGFIX: vminsert in VictoriaMetrics cluster: prevent metric metadata drops after transient RPC handshake timeouts when connecting to vmstorage. See #11762. Thanks to @sakateka for contribution.

  • BUGFIX: vmsingle, vmagent and vminsert in VictoriaMetrics cluster: properly validate time series ingested via /api/v1/import/native. See #11745. Thanks to @meshchellomishel for contribution.

  • BUGFIX: vmsingle and vmagent: reduce memory usage during for Kubernetes service discovery, when scrape configuration has many entries that matches small subset of targets. See #11751. Thanks to @CamberLoid for contribution.

  • BUGFIX: vmsingle and vmstorage in VictoriaMetrics cluster: prevent search requests panic. See #11788 for details.

  • BUGFIX: vmsingle and vmagent: set __meta_kubernetes_namespace and the namespace metadata to the namespace of the Endpoints or EndpointSlice object in role: endpoints and role: endpointslice service discovery when the referenced pod lives in another namespace. Previously the namespace of the pod was used, unlike Prometheus. See #11798. Thanks to @cestercian for contribution. behavior changed · inferred

  • BUGFIX: vmauth: skip keys with unsupported kty or crv, missing required members or invalid values in the JWKS fetched via OIDC discovery instead of rejecting the whole key set, as required by RFC 7517. Previously, a single unsupported or malformed key in the JWKS caused vmauth to reject all JWTs from that issuer, including tokens signed with supported keys. See #11748.

  • BUGFIX: vmui: stop saving the automatically calculated query step in shared URLs, so opening a link recalculates the step for the selected time range and screen width. Explicitly configured steps remain fixed. See #11638.

  • BUGFIX: vmselect in VictoriaMetrics cluster: change the default time range for /admin/tenants HTTP endpoint to search tenants only for the current day instead of searching the entire [0, now] time range. This should prevent unnecessary load on vmstorage and prevent OOMs. See the updated URL format and #11791 for details.

View original

Upgraded? How did it go?

Discussion