github VictoriaMetrics/VictoriaMetrics v1.68.0

latest releases: v0.29.0-victorialogs, pmm-6401-v1.103.0, v1.102.2...
2 years ago

Changes

  • FEATURE: vmagent: expose -promscrape.config contents at /config page as Prometheus does. See this feature request.

  • FEATURE: vmagent: add show original labels button per each scrape target displayed at http://vmagent;8429/targets page. This should improve debuggability for service discovery and relabeling issues similar to this one. See this feature request.

  • FEATURE: vmagent: shard targets among cluster nodes after the relabeling is applied. This should guarantee that targets with the same set of labels go to the same vmagent node in the cluster. See this issue.

  • FEATURE: vmagent: atomatically switch to stream parsing mode if the response from the given target exceeds the command-line flag value -promscrape.minResponseSizeForStreamParse. This should reduce memory usage when vmagent scrapes targets with non-uniform response sizes (this is the case in Kubernetes monitoring).

  • FEATURE: vmagent: send Prometheus-like staleness marks in stream parsing mode. Previously staleness marks wern't sent in stream parsing mode. See these docs for details.

  • FEATURE: vmagent: properly calculate scrape_series_added metric for targets in stream parsing mode. Previously it was set to 0 in stream parsing mode. See more details about this metric.

  • FEATURE: vmagent: expose promscrape_series_limit_max_series and promscrape_series_limit_current_series metrics at http://vmagent:8429/metrics for scrape targets with the enabled series limiter.

  • FEATURE: vmagent: return error if sample_limit or series_limit options are set when stream parsing mode is enabled, since these limits cannot be applied in stream parsing mode.

  • FEATURE: vmalert: add -remoteRead.disablePathAppend command-line flag, which allows specifying the full -remoteRead.url. If -remoteRead.disablePathAppend is set, then vmalert doesn't add /api/v1/query suffix to -remoteRead.url.

  • FEATURE: add trigonometric functions, which are going to be added in Prometheus 2.31: acosh, asinh, atan, atanh, cosh, deg, rad, sinh, tan, tanh. Also add atan2 binary operator. See this pull request.

  • FEATURE: consistently return the same set of time series from limitk function. This improves the usability of periodically refreshed graphs.

  • FEATURE: vmui: varios UX improvements. See this pull request and these docs.

  • FEATURE: vmauth: add ability to specify HTTP headers, which will be sent in requests to backends. See this feature request.

  • FEATURE: add /flags page to all the VictoriaMetrics components. This page contains command-line flags passed to the component.

  • FEATURE: allow using tab separators additionally to whitespace separators when ingesting data in Graphite plaintext protocol. Such separators are supported by Carbon-c-relay.

  • BUGFIX: vmstorage: fix unaligned 64-bit atomic operation panic on 32-bit architectures (arm and 386). The panic has been introduced in v1.67.0.

  • BUGFIX: vmalert, vmauth: prevent from frequent closing of TCP connections established to backends under high load. This should reduce the number of TCP sockets in TIME_WAIT state at vmalert and vmauth under high load. See this pull request.

  • BUGFIX: vmalert: correctly calculate alert ID including extra labels. Previously, ID for alert entity was generated without alertname or groupname. This led to collision, when multiple alerting rules within the same group producing same labelsets. E.g. expr: sum(metric1) by (job) > 0 and expr: sum(metric2) by (job) > 0 could result into same labelset job: "job". The bugfix adds all extra labels right after receiving response from the datasource. See this pull request.

  • BUGFIX: vmalert: fix links in Web UI. See this pull request.

  • BUGFIX: vmagent: set honor_timestamps: true by default in scrape configs if this options isn't set explicitly. This aligns the behaviour with Prometheus.

  • BUGFIX: vmagent: group scrape targets by the original job names at http://vmagent:8429/targets page like Prometheus does. Previously they were grouped by the job name after relabeling, which may result in unexpected empty target groups. See this issue.

  • BUGFIX: vmctl: fix importing boolean fields from InfluxDB line protocol. See this issue.

See full changelog.

How to run VictoriaMetrics

Unpack the victoria-metrics-*.tar.gz archive and read these docs.

vmutils-*.tag.gz archive contains the following tools:

vmutils-*-enterprise.tar.gz archive contains the following additional enterprise tools:

The corresponding docker images are available here.
Cluster version is available here.

Don't miss a new VictoriaMetrics release

NewReleases is sending notifications on new releases.