v1.85.0
版本发布时间: 2022-12-11 19:23:21
VictoriaMetrics/VictoriaMetrics最新发布版本:v1.101.0(2024-04-26 17:06:08)
Changes
v1.85.0
Released at 11-12-2022
Update note 1: this release drops support for direct upgrade from VictoriaMetrics versions prior v1.28.0. Please upgrade to v1.84.0
, wait until finished round 2 of background conversion
line is emitted to log by single-node VictoriaMetrics or by vmstorage
, and then upgrade to newer releases.
Update note 2: this release splits type="indexdb"
metrics into type="indexdb/inmemory"
and type="indexdb/file"
metrics. This may break old dashboards and alerting rules, which contain label filter on {type="indexdb"}
. Such label filter must be substituted with {type=~"indexdb.*"}
, so it matches indexdb
from the previous releases and indexdb/inmemory
+ indexdb/file
from new releases. It is recommended upgrading to the latest available dashboards and alerting rules mentioned in these docs, since they already contain fixed label filters.
Update note 3: this release deprecates relabel_debug
and metric_relabel_debug
config options in scrape_configs. The -relabelDebug
, -remoteWrite.relabelDebug
and -remoteWrite.urlRelabelDebug
command-line options are also deprecated. Use more powerful target-level relabel debugging and metric-level relabel debugging instead as documented here.
-
FEATURE: vmagent: provide enhanced target-level and metric-level relabel debugging. See these docs and this issue.
-
FEATURE: leave a sample with the biggest value for identical timestamps per each
-dedup.minScrapeInterval
discrete interval when the deduplication is enabled. See this issue. -
FEATURE: add
-inmemoryDataFlushInterval
command-line flag, which can be used for controlling the frequency of in-memory data flush to disk. The data flush frequency can be reduced when VictoriaMetrics stores data to low-end flash device with limited number of write cycles (for example, on Raspberry PI). See this feature request. -
FEATURE: expose additional metrics for
indexdb
andstorage
parts stored in memory and forindexdb
parts stored in files (see storage docs for technical details):-
vm_active_merges{type="storage/inmemory"}
- active merges for in-memorystorage
parts -
vm_active_merges{type="indexdb/inmemory"}
- active merges for in-memoryindexdb
parts -
vm_active_merges{type="indexdb/file"}
- active merges for file-basedindexdb
parts -
vm_merges_total{type="storage/inmemory"}
- the total merges for in-memorystorage
parts -
vm_merges_total{type="indexdb/inmemory"}
- the total merges for in-memoryindexdb
parts -
vm_merges_total{type="indexdb/file"}
- the total merges for file-basedindexdb
parts -
vm_rows_merged_total{type="storage/inmemory"}
- the total rows merged for in-memorystorage
parts -
vm_rows_merged_total{type="indexdb/inmemory"}
- the total rows merged for in-memoryindexdb
parts -
vm_rows_merged_total{type="indexdb/file"}
- the total rows merged for file-basedindexdb
parts -
vm_rows_deleted_total{type="storage/inmemory"}
- the total rows deleted for in-memorystorage
parts -
vm_assisted_merges_total{type="storage/inmemory"}
- the total number of assisted merges for in-memorystorage
parts -
vm_assisted_merges_total{type="indexdb/inmemory"}
- the total number of assisted merges for in-memoryindexdb
parts -
vm_parts{type="storage/inmemory"}
- the total number of in-memorystorage
parts -
vm_parts{type="indexdb/inmemory"}
- the total number of in-memoryindexdb
parts -
vm_parts{type="indexdb/file"}
- the total number of file-basedindexdb
parts -
vm_blocks{type="storage/inmemory"}
- the total number of in-memorystorage
blocks -
vm_blocks{type="indexdb/inmemory"}
- the total number of in-memoryindexdb
blocks -
vm_blocks{type="indexdb/file"}
- the total number of file-basedindexdb
blocks -
vm_data_size_bytes{type="storage/inmemory"}
- the total size of in-memorystorage
blocks -
vm_data_size_bytes{type="indexdb/inmemory"}
- the total size of in-memoryindexdb
blocks -
vm_data_size_bytes{type="indexdb/file"}
- the total size of file-basedindexdb
blocks -
vm_rows{type="storage/inmemory"}
- the total number of in-memorystorage
rows -
vm_rows{type="indexdb/inmemory"}
- the total number of in-memoryindexdb
rows -
vm_rows{type="indexdb/file"}
- the total number of file-basedindexdb
rows
-
-
FEATURE: DataDog parser: add
device
tag when it is passed in thedevice
field is present in theseries
object of the input request. Thanks to @PerGon for the provided pull request. -
FEATURE: vmagent: improve service discovery performance when discovering big number of targets (10K and more).
-
FEATURE: vmagent: allow using
series_limit
option for limiting the number of series a single scrape target generates in stream parsing mode. See this feature request. -
FEATURE: vmagent: allow using
sample_limit
option for limiting the number of metrics a single scrape target can expose in every response sent over stream parsing mode. -
FEATURE: vmagent: add
exported_
prefix to metric names exported by scrape targets if these metric names clash with automatically generated metrics such asup
,scrape_samples_scraped
, etc. This prevents from corruption of automatically generated metrics. See this issue. -
FEATURE: vmagent: make the
host
label optional in DataDog data ingestion protocol. See this issue. -
FEATURE: VictoriaMetrics cluster: improve error message when the requested path cannot be properly parsed, so users could identify the issue and properly fix the path. Now the error message links to url format docs. See this issue.
-
FEATURE: VictoriaMetrics enterprise cluster: add
-storageNode.discoveryInterval
command-line flag tovmselect
andvminsert
to control load on DNS servers when automatic discovery of vmstorage nodes is enabled. See this issue. -
FEATURE: VictoriaMetrics enterprise cluster: allow reading and updating the list of
vmstorage
nodes atvmselect
andvminsert
nodes via file. See automatic discovery of vmstorage for details. -
FEATURE: vmalert: reduce memory and CPU usage by up to 50% on setups with thousands of recording/alerting groups. See this issue.
-
FEATURE: vmalert: add
-remoteWrite.sendTimeout
command-line flag, which allows configuring timeout for sending data to-remoteWrite.url
. See this issue. -
FEATURE: vmctl: add ability to migrate data between VictoriaMetrics clusters with automatic tenants discovery. See these docs and this issue.
-
FEATURE: vmctl: add ability to copy data from sources via Prometheus
remote_read
protocol. See these docs. The related issues: one and two. -
FEATURE: vmui: allow changing timezones for the requested data. See this issue.
-
FEATURE: vmui: provide fast path for hiding results for all the queries except the given one by clicking
eye
icon withctrl
key pressed. See this feature request. -
FEATURE: MetricsQL: add
range_trim_spikes(phi, q)
function for trimmingphi
percent of the largest spikes per each time series returned byq
. See these docs. -
FEATURE: MetricsQL: allow passing
inf
arg into limitk, topk, bottomk and other functions, which accept numeric arg, which limits the number of output time series. See this feature request. -
FEATURE: vmgateway: add support for JWT token signature verification. See these docs for details.
-
FEATURE: put the version of VictoriaMetrics in the first message of query trace. This should simplify debugging.
-
BUGFIX: vmagent: fix the
The request did not have a subscription or a valid tenant level resource provider
error when discovering Azure targets with azure_sd_configs. See this issue. -
BUGFIX: vmalert: properly pass HTTP headers during the alert state restore procedure. See this issue.
-
BUGFIX: vmalert: properly specify rule evaluation step during the replay mode. The
step
value was previously overriden by-datasource.queryStep
command-line flag. -
BUGFIX: vmalert: properly return the error message from remote-write failures. Before, error was ignored and only
vmalert_remotewrite_errors_total
was incremented. -
BUGFIX: vmui: fix sticky tooltip sizing, which could prevent from closing the tooltip. See this issue.
-
BUGFIX: vmui: properly put multi-line queries in the url, so it could be copy-n-pasted and opened without issues in a new browser tab. Previously the url for multi-line query couldn't be opened. See this issue.
-
BUGFIX: vmui: correctly handle
up
anddown
keypresses when editing multi-line queries. 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.
1、 victoria-metrics-darwin-amd64-v1.85.0-enterprise.tar.gz 9.51MB
2、 victoria-metrics-darwin-amd64-v1.85.0-enterprise_checksums.txt 210B
3、 victoria-metrics-darwin-amd64-v1.85.0.tar.gz 9.18MB
4、 victoria-metrics-darwin-amd64-v1.85.0_checksums.txt 199B
5、 victoria-metrics-darwin-arm64-v1.85.0-enterprise.tar.gz 9.13MB
6、 victoria-metrics-darwin-arm64-v1.85.0-enterprise_checksums.txt 210B
7、 victoria-metrics-darwin-arm64-v1.85.0.tar.gz 8.8MB
8、 victoria-metrics-darwin-arm64-v1.85.0_checksums.txt 199B
9、 victoria-metrics-freebsd-amd64-v1.85.0-cluster.tar.gz 19.7MB
10、 victoria-metrics-freebsd-amd64-v1.85.0-cluster_checksums.txt 361B
11、 victoria-metrics-freebsd-amd64-v1.85.0-enterprise-cluster.tar.gz 20.31MB
12、 victoria-metrics-freebsd-amd64-v1.85.0-enterprise-cluster_checksums.txt 372B
13、 victoria-metrics-freebsd-amd64-v1.85.0-enterprise.tar.gz 9.65MB
14、 victoria-metrics-freebsd-amd64-v1.85.0-enterprise_checksums.txt 211B
15、 victoria-metrics-freebsd-amd64-v1.85.0.tar.gz 9.32MB
16、 victoria-metrics-freebsd-amd64-v1.85.0_checksums.txt 200B
17、 victoria-metrics-linux-amd64-v1.85.0-cluster.tar.gz 19.55MB
18、 victoria-metrics-linux-amd64-v1.85.0-cluster_checksums.txt 359B
19、 victoria-metrics-linux-amd64-v1.85.0-enterprise-cluster.tar.gz 20.22MB
20、 victoria-metrics-linux-amd64-v1.85.0-enterprise-cluster_checksums.txt 370B
21、 victoria-metrics-linux-amd64-v1.85.0-enterprise.tar.gz 9.47MB
22、 victoria-metrics-linux-amd64-v1.85.0-enterprise_checksums.txt 209B
23、 victoria-metrics-linux-amd64-v1.85.0.tar.gz 9.13MB
24、 victoria-metrics-linux-amd64-v1.85.0_checksums.txt 198B
25、 victoria-metrics-linux-arm-v1.85.0-enterprise.tar.gz 9.53MB
26、 victoria-metrics-linux-arm-v1.85.0-enterprise_checksums.txt 207B
27、 victoria-metrics-linux-arm-v1.85.0.tar.gz 9.18MB
28、 victoria-metrics-linux-arm-v1.85.0_checksums.txt 196B
29、 victoria-metrics-linux-arm64-v1.85.0-cluster.tar.gz 17.73MB
30、 victoria-metrics-linux-arm64-v1.85.0-cluster_checksums.txt 359B
31、 victoria-metrics-linux-arm64-v1.85.0-enterprise-cluster.tar.gz 18.34MB
32、 victoria-metrics-linux-arm64-v1.85.0-enterprise-cluster_checksums.txt 370B
33、 victoria-metrics-linux-arm64-v1.85.0-enterprise.tar.gz 8.63MB
34、 victoria-metrics-linux-arm64-v1.85.0-enterprise_checksums.txt 209B
35、 victoria-metrics-linux-arm64-v1.85.0.tar.gz 8.32MB
36、 victoria-metrics-linux-arm64-v1.85.0_checksums.txt 198B
37、 victoria-metrics-openbsd-amd64-v1.85.0-cluster.tar.gz 19.64MB
38、 victoria-metrics-openbsd-amd64-v1.85.0-cluster_checksums.txt 361B
39、 victoria-metrics-openbsd-amd64-v1.85.0-enterprise-cluster.tar.gz 20.25MB
40、 victoria-metrics-openbsd-amd64-v1.85.0-enterprise-cluster_checksums.txt 372B
41、 victoria-metrics-openbsd-amd64-v1.85.0-enterprise.tar.gz 9.63MB
42、 victoria-metrics-openbsd-amd64-v1.85.0-enterprise_checksums.txt 211B
43、 victoria-metrics-openbsd-amd64-v1.85.0.tar.gz 9.3MB
44、 victoria-metrics-openbsd-amd64-v1.85.0_checksums.txt 200B
45、 vmutils-darwin-amd64-v1.85.0-enterprise.tar.gz 75.96MB
46、 vmutils-darwin-amd64-v1.85.0-enterprise_checksums.txt 755B
47、 vmutils-darwin-amd64-v1.85.0.tar.gz 57.29MB
48、 vmutils-darwin-amd64-v1.85.0_checksums.txt 576B
49、 vmutils-darwin-arm64-v1.85.0-enterprise.tar.gz 73.11MB
50、 vmutils-darwin-arm64-v1.85.0-enterprise_checksums.txt 755B
51、 vmutils-darwin-arm64-v1.85.0.tar.gz 55.09MB
52、 vmutils-darwin-arm64-v1.85.0_checksums.txt 576B
53、 vmutils-freebsd-amd64-v1.85.0-enterprise.tar.gz 76.64MB
54、 vmutils-freebsd-amd64-v1.85.0-enterprise_checksums.txt 756B
55、 vmutils-freebsd-amd64-v1.85.0.tar.gz 57.83MB
56、 vmutils-freebsd-amd64-v1.85.0_checksums.txt 577B
57、 vmutils-linux-amd64-v1.85.0-enterprise.tar.gz 79.52MB
58、 vmutils-linux-amd64-v1.85.0-enterprise_checksums.txt 754B
59、 vmutils-linux-amd64-v1.85.0.tar.gz 57.69MB
60、 vmutils-linux-amd64-v1.85.0_checksums.txt 575B
61、 vmutils-linux-arm-v1.85.0-enterprise.tar.gz 73.58MB
62、 vmutils-linux-arm-v1.85.0-enterprise_checksums.txt 752B
63、 vmutils-linux-arm-v1.85.0.tar.gz 55.53MB
64、 vmutils-linux-arm-v1.85.0_checksums.txt 573B
65、 vmutils-linux-arm64-v1.85.0-enterprise.tar.gz 71.57MB
66、 vmutils-linux-arm64-v1.85.0-enterprise_checksums.txt 754B
67、 vmutils-linux-arm64-v1.85.0.tar.gz 53.79MB
68、 vmutils-linux-arm64-v1.85.0_checksums.txt 575B
69、 vmutils-openbsd-amd64-v1.85.0-enterprise.tar.gz 76.47MB
70、 vmutils-openbsd-amd64-v1.85.0-enterprise_checksums.txt 756B
71、 vmutils-openbsd-amd64-v1.85.0.tar.gz 57.71MB
72、 vmutils-openbsd-amd64-v1.85.0_checksums.txt 577B
73、 vmutils-windows-amd64-v1.85.0-enterprise.zip 19.58MB
74、 vmutils-windows-amd64-v1.85.0-enterprise_checksums.txt 595B
75、 vmutils-windows-amd64-v1.85.0.zip 16.77MB