v1.83.0
版本发布时间: 2022-10-29 09:27:30
VictoriaMetrics/VictoriaMetrics最新发布版本:v1.101.0(2024-04-26 17:06:08)
Changes
v1.83.0
Released at 29-10-2022
Update note 1: the indexdb/tagFilters
cache type at /metrics has been renamed to indexdb/tagFiltersToMetricIDs
in order to make its puropose more clear.
Update note 2: vmalert: the crlfEscape
template function becames obsolete starting from this release. It can be safely removed from alerting templates, since \n
chars are properly escaped with other *Escape
functions now. See this and this issue for details.
-
FEATURE: VictoriaMetrics enterprise: add support for automatic
vmstorage
nodes discovering and updating atvmselect
andvminsert
. See these docs. -
FEATURE: VictoriaMetrics enterprise: allow configuring multiple retentions for distinct sets of time series. See these docs, this and this feature request.
-
FEATURE: VictoriaMetric cluster enterprise: add support for multiple retentions for distinct tenants - see these docs and this and this feature request.
-
FEATURE: allow limiting memory usage on a per-query basis with
-search.maxMemoryPerQuery
command-line flag. See this feature request. -
FEATURE: allow referring environment variables inside command-line flags via
%{ENV_VAR}
syntax. For example, ifAUTH_KEY=top-secret
environment variable is set, then-metricsAuthKey=%{AUTH_KEY}
command-line flag is automatically expanded to-storageDataPath=top-secret
at VictoriaMetrics startup. See these docs for details. -
FEATURE: allow referring environment variables inside other environment variables via
%{ENV_VAR}
syntax. For example, ifA=a-%{B}
,B=b-%{C}
andC=c
env vars are set, then VictoriaMetrics components automatically expand them toA=a-b-c
,B=b-c
andC=c
on startup. -
FEATURE: vmagent: drop all the labels with
__
prefix from discovered targets in the same way as Prometheus does according to this article. Previously the following labels were available during metric-level relabeling:__address__
,__scheme__
,__metrics_path__
,__scrape_interval__
,__scrape_timeout__
,__param_*
. Now these labels are available only during target-level relabeling. This should reduce CPU usage and memory usage forvmagent
setups, which scrape big number of targets. -
FEATURE: vmagent: improve the performance for metric-level relabeling, which can be applied via
metric_relabel_configs
section at scrape_configs, via-remoteWrite.relabelConfig
or via-remoteWrite.urlRelabelConfig
command-line options. -
FEATURE: vmagent: allow specifying full url in scrape target addresses (aka
__address__
label). This makes valid the following-promscrape.config
:scrape_configs: - job_name: abc metrics_path: /foo/bar scheme: https static_configs: - targets: # the following targets are scraped by the provided full urls - 'http://host1/metric/path1' - 'https://host2/metric/path2' - 'http://host3:1234/metric/path3?arg1=value1' # the following target is scraped by <scheme>://host4:1234<metrics_path> - host4:1234
-
FEATURE: vmagent: allow controlling staleness tracking on a per-scrape_config basis by specifying
no_stale_markers: true
orno_stale_markers: false
option in the corresponding scrape_config. -
FEATURE: vmalert: add
strvalue
andstripDomain
template functions in order to improve compatibility with Prometheus. -
FEATURE: vmalert: add
jsonEscape
andhtmlEscape
template functions. -
FEATURE: vmui: limit the number of plotted series. This should prevent from browser crashes or hangs when the query returns big number of time series. See this feature request.
-
FEATURE: vmui: reduce memory usage when querying big number of time series. See this issue.
-
FEATURE: vmui: add responsive styles for small screens. See this issue and this pull request.
-
FEATURE: log error if some environment variables referred at
-promscrape.config
via%{ENV_VAR}
aren't found. This should prevent from silent using incorrect config files. -
FEATURE: immediately shut down VictoriaMetrics apps on the second SIGINT or SIGTERM signal if they couldn't be finished gracefully for some reason after receiving the first signal.
-
FEATURE: improve the performance of /api/v1/series endpoint by eliminating loading of unused
TSID
data during the API call. -
FEATURE: vmbackupmanager: add functionality for automated restore from backup. See these docs.
-
BUGFIX: MetricsQL: properly merge buckets with identical
le
values, but with different string representation of these values when calculating histogram_quantile and histogram_share. For example,http_request_duration_seconds_bucket{le="5"}
andhttp_requests_duration_seconds_bucket{le="5.0"}
. Such buckets may be returned from distinct targets. Thanks to @647-coder for the pull request. -
BUGFIX: vmalert: change severity level for log messages about failed attempts for sending data to remote storage from
error
towarn
. The message for about all failed send attempts remains aterror
severity level. -
BUGFIX: vmalert: fix panic if
vmalert
runs with-clusterMode
command-line flag in multitenant mode. The issue has been introduced in v1.82.0. -
BUGFIX: vmalert: properly escape string passed to
quotesEscape
template function, so it can be safely embedded into JSON string. This makes obsolete thecrlfEscape
function. See this and this issue. -
BUGFIX: vmagent: do not show invalid error message in Kubernetes service discovery:
cannot parse WatchEvent json response: EOF
. The invalid error message has been appeared in v1.82.0. -
BUGFIX: vmagent: properly add
exported_
prefix to metric labels, which clashing with scrape target labels ifhonor_labels: true
option isn't set in scrape_config. Previously someexported_
prefixes were missing in the resulting metric labels. See this issue. The issue has been introduced in v1.82.0. -
BUGFIX:
vmselect
: expose missing metricvm_cache_size_max_bytes{type="promql/rollupResult"}
. This metric is used for monitoring rollup cache usage with the queryvm_cache_size_bytes{type="promql/rollupResult"} / vm_cache_size_max_bytes{type="promql/rollupResult"}
in the same way as this is done for other cache types.
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.83.0-enterprise.tar.gz 9.49MB
2、 victoria-metrics-darwin-amd64-v1.83.0-enterprise_checksums.txt 210B
3、 victoria-metrics-darwin-amd64-v1.83.0.tar.gz 9.13MB
4、 victoria-metrics-darwin-amd64-v1.83.0_checksums.txt 199B
5、 victoria-metrics-darwin-arm64-v1.83.0-enterprise.tar.gz 9.11MB
6、 victoria-metrics-darwin-arm64-v1.83.0-enterprise_checksums.txt 210B
7、 victoria-metrics-darwin-arm64-v1.83.0.tar.gz 8.77MB
8、 victoria-metrics-darwin-arm64-v1.83.0_checksums.txt 199B
9、 victoria-metrics-freebsd-amd64-v1.83.0-cluster.tar.gz 19.06MB
10、 victoria-metrics-freebsd-amd64-v1.83.0-cluster_checksums.txt 361B
11、 victoria-metrics-freebsd-amd64-v1.83.0-enterprise-cluster.tar.gz 19.82MB
12、 victoria-metrics-freebsd-amd64-v1.83.0-enterprise-cluster_checksums.txt 372B
13、 victoria-metrics-freebsd-amd64-v1.83.0-enterprise.tar.gz 9.64MB
14、 victoria-metrics-freebsd-amd64-v1.83.0-enterprise_checksums.txt 211B
15、 victoria-metrics-freebsd-amd64-v1.83.0.tar.gz 9.27MB
16、 victoria-metrics-freebsd-amd64-v1.83.0_checksums.txt 200B
17、 victoria-metrics-linux-amd64-v1.83.0-cluster.tar.gz 19.05MB
18、 victoria-metrics-linux-amd64-v1.83.0-cluster_checksums.txt 359B
19、 victoria-metrics-linux-amd64-v1.83.0-enterprise-cluster.tar.gz 19.77MB
20、 victoria-metrics-linux-amd64-v1.83.0-enterprise-cluster_checksums.txt 370B
21、 victoria-metrics-linux-amd64-v1.83.0-enterprise.tar.gz 9.45MB
22、 victoria-metrics-linux-amd64-v1.83.0-enterprise_checksums.txt 209B
23、 victoria-metrics-linux-amd64-v1.83.0.tar.gz 9.11MB
24、 victoria-metrics-linux-amd64-v1.83.0_checksums.txt 198B
25、 victoria-metrics-linux-arm-v1.83.0-enterprise.tar.gz 9.52MB
26、 victoria-metrics-linux-arm-v1.83.0-enterprise_checksums.txt 207B
27、 victoria-metrics-linux-arm-v1.83.0.tar.gz 9.16MB
28、 victoria-metrics-linux-arm-v1.83.0_checksums.txt 196B
29、 victoria-metrics-linux-arm64-v1.83.0-cluster.tar.gz 17.29MB
30、 victoria-metrics-linux-arm64-v1.83.0-cluster_checksums.txt 359B
31、 victoria-metrics-linux-arm64-v1.83.0-enterprise-cluster.tar.gz 17.95MB
32、 victoria-metrics-linux-arm64-v1.83.0-enterprise-cluster_checksums.txt 370B
33、 victoria-metrics-linux-arm64-v1.83.0-enterprise.tar.gz 8.62MB
34、 victoria-metrics-linux-arm64-v1.83.0-enterprise_checksums.txt 209B
35、 victoria-metrics-linux-arm64-v1.83.0.tar.gz 8.31MB
36、 victoria-metrics-linux-arm64-v1.83.0_checksums.txt 198B
37、 victoria-metrics-openbsd-amd64-v1.83.0-cluster.tar.gz 19MB
38、 victoria-metrics-openbsd-amd64-v1.83.0-cluster_checksums.txt 361B
39、 victoria-metrics-openbsd-amd64-v1.83.0-enterprise-cluster.tar.gz 19.77MB
40、 victoria-metrics-openbsd-amd64-v1.83.0-enterprise-cluster_checksums.txt 372B
41、 victoria-metrics-openbsd-amd64-v1.83.0-enterprise.tar.gz 9.61MB
42、 victoria-metrics-openbsd-amd64-v1.83.0-enterprise_checksums.txt 211B
43、 victoria-metrics-openbsd-amd64-v1.83.0.tar.gz 9.25MB
44、 victoria-metrics-openbsd-amd64-v1.83.0_checksums.txt 200B
45、 vmutils-darwin-amd64-v1.83.0-enterprise.tar.gz 72.1MB
46、 vmutils-darwin-amd64-v1.83.0-enterprise_checksums.txt 755B
47、 vmutils-darwin-amd64-v1.83.0.tar.gz 53.47MB
48、 vmutils-darwin-amd64-v1.83.0_checksums.txt 576B
49、 vmutils-darwin-arm64-v1.83.0-enterprise.tar.gz 69.43MB
50、 vmutils-darwin-arm64-v1.83.0-enterprise_checksums.txt 755B
51、 vmutils-darwin-arm64-v1.83.0.tar.gz 51.49MB
52、 vmutils-darwin-arm64-v1.83.0_checksums.txt 576B
53、 vmutils-freebsd-amd64-v1.83.0-enterprise.tar.gz 72.75MB
54、 vmutils-freebsd-amd64-v1.83.0-enterprise_checksums.txt 756B
55、 vmutils-freebsd-amd64-v1.83.0.tar.gz 53.97MB
56、 vmutils-freebsd-amd64-v1.83.0_checksums.txt 577B
57、 vmutils-linux-amd64-v1.83.0-enterprise.tar.gz 75.86MB
58、 vmutils-linux-amd64-v1.83.0-enterprise_checksums.txt 754B
59、 vmutils-linux-amd64-v1.83.0.tar.gz 54.12MB
60、 vmutils-linux-amd64-v1.83.0_checksums.txt 575B
61、 vmutils-linux-arm-v1.83.0-enterprise.tar.gz 69.86MB
62、 vmutils-linux-arm-v1.83.0-enterprise_checksums.txt 752B
63、 vmutils-linux-arm-v1.83.0.tar.gz 51.9MB
64、 vmutils-linux-arm-v1.83.0_checksums.txt 573B
65、 vmutils-linux-arm64-v1.83.0-enterprise.tar.gz 68.2MB
66、 vmutils-linux-arm64-v1.83.0-enterprise_checksums.txt 754B
67、 vmutils-linux-arm64-v1.83.0.tar.gz 50.51MB
68、 vmutils-linux-arm64-v1.83.0_checksums.txt 575B
69、 vmutils-openbsd-amd64-v1.83.0-enterprise.tar.gz 72.6MB
70、 vmutils-openbsd-amd64-v1.83.0-enterprise_checksums.txt 756B
71、 vmutils-openbsd-amd64-v1.83.0.tar.gz 53.86MB
72、 vmutils-openbsd-amd64-v1.83.0_checksums.txt 577B
73、 vmutils-windows-amd64-v1.83.0-enterprise.zip 17.6MB
74、 vmutils-windows-amd64-v1.83.0-enterprise_checksums.txt 595B
75、 vmutils-windows-amd64-v1.83.0.zip 14.77MB