v1.81.0
版本发布时间: 2022-08-31 09:09:40
VictoriaMetrics/VictoriaMetrics最新发布版本:v1.101.0(2024-04-26 17:06:08)
Changes
It isn't recommended to use VictoriaMetrics cluster v1.81.0 because of the bug, which may result in vmselect
crashes under high load. Upgrade to v1.81.2 instead.
v1.81.0
Released at 31-08-2022
Update note 1: vmalert by default hides values of -remoteWrite.url
, -remoteRead.url
and -datasource.url
in logs and at http://vmalert:8880/flags
for security reasons. See the corresponding SECURITY change in the Chagelog below for additional info.
Update note 2: vmalert by default points alert source url to /vmalert/alert?...
aka web UI instead of /vmalert/api/v1/alert?...
aka JSON handler. The old behavior can be achieved by setting -external.alert.source=vmalert/api/v1/alert?group_id={{.GroupID}}&alert_id={{.AlertID}}
command-line flag.
-
SECURITY: vmalert: do not expose
-remoteWrite.url
,-remoteRead.url
and-datasource.url
command-line flag values in logs and athttp://vmalert:8880/flags
page by default, since they may contain sensitive data such as auth keys. This alignsvmalert
behaviour with vmagent, which doesn't expose-remoteWrite.url
command-line flag value in logs and athttp://vmagent:8429/flags
page by default. Specify-remoteWrite.showURL
,-remoteRead.showURL
and-datasource.showURL
command-line flags for showing values for the corresponding-*.url
flags in logs. Thanks to @mble for the pull request. -
SECURITY: upgrade base docker image (alpine) from 3.16.1 to 3.16.2. See alpine 3.16.2 release notes.
-
FEATURE: return shorter error messages to Grafana and to other clients requesting /api/v1/query and /api/v1/query_range endpoints. This should simplify reading these errors by humans. The long error message with full context is still written to logs.
-
FEATURE: add the ability to fine-tune the number of points, which can be generated per each matching time series during subquery evaluation. This can be done with the
-search.maxPointsSubqueryPerTimeseries
command-line flag. See this feature request. -
FEATURE: vmagent: improve the performance for relabeling rules with commonly used regular expressions in
regex
andif
fields such assome_string
,prefix.*
,prefix.+
,foo|bar|baz
,.*foo.*
and.+foo.+
. -
FEATURE: vmagent: reduce CPU usage when discovering big number of Kubernetes targets with big number of labels and annotations.
-
FEATURE: vmagent: add ability to accept multitenant data via OpenTSDB
/api/put
protocol at/insert/<tenantID>/opentsdb/api/put
http endpoint if multitenant support is enabled atvmagent
. Thanks to @chengjianyun for the pull request. -
FEATURE: monitoring: expose
vm_hourly_series_limit_max_series
,vm_hourly_series_limit_current_series
,vm_daily_series_limit_max_series
andvm_daily_series_limit_current_series
metrics when-search.maxHourlySeries
or-search.maxDailySeries
limits are set. This allows alerting when the number of unique series reaches the configured limits. See these docs for details. -
FEATURE: VictoriaMetrics cluster: reduce the amounts of logging at
vmstorage
whenvmselect
connects/disconnects tovmstorage
. -
FEATURE: VictoriaMetrics cluster: improve performance for heavy queries on systems with many CPU cores.
-
FEATURE: vmagent: add ability to use
{{label_name}}
placeholders in thereplacement
option of relabeling rules. This simplifies constructing label values from multiple existing label values. See these docs for details. -
FEATURE: vmagent: generate additional per-target metrics -
scrape_series_limit
,scrape_series_current
andscrape_series_limit_samples_dropped
if series limit is set according to these docs. This simplifies alerting on targets with the exceeded series limit. See these docs for details on these metrics. -
FEATURE: vmagent: add support for MX record types in dns_sd_configs in the same way as Prometheus 2.38 does.
-
FEATURE: vmagent: add
__meta_kubernetes_service_port_number
meta-label forrole: service
in kubernetes_sd_configs in the same way as Prometheus 2.38 does. -
FEATURE: vmagent: add
__meta_kubernetes_pod_container_image
meta-label forrole: pod
in kubernetes_sd_configs in the same way as Prometheus 2.38 does. -
FEATURE: vmagent: retry HTTP requests after some wait time during service discovery and during target scrapes if the server returns 429 HTTP status code (aka
Too many requests
). See this issue. -
FEATURE: vmui: add a legend in the top right corner for shortcut keys. See this feature request.
-
FEATURE: vmalert: add
toTime()
template function in the same way as Prometheus 2.38 does. See these docs. -
FEATURE: vmalert: add
$alertID
and$groupID
template variables. These variables may be used for templating annotations or-external.alert.source
command-line flag. See the full list of supported variables here. -
FEATURE: vmalert: add
$activeAt
template variable. See this feature request. See the full list of supported variables here. Thanks to @laixintao for the pull request. -
FEATURE: vmalert: point alert source to vmalert's UI at
/vmalert/alert?...
instead of JSON handler at/vmalert/api/v1/alert?...
. This improves user experience. The old behavior can be achieved by setting-external.alert.source=vmalert/api/v1/alert?group_id={{.GroupID}}&alert_id={{.AlertID}}
command-line flag. -
BUGFIX: prevent from excess CPU usage when the storage enters read-only mode.
-
BUGFIX: improve performance for requests to /api/v1/labels and /api/v1/label/.../values when the filter in the
match[]
query arg matches small number of time series. The performance for this case has been reduced in v1.78.0. See this and this issues. -
BUGFIX: increase the default limit on the number of concurrent merges for small parts from 8 to 16. This should help resolving potential issues with heavy data ingestion. See this comment from @lukepalmer .
-
BUGFIX: MetricsQL: fix panic when incorrect arg is passed as
phi
into histogram_quantiles function. 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.81.0-enterprise.tar.gz 9.44MB
2、 victoria-metrics-darwin-amd64-v1.81.0-enterprise_checksums.txt 210B
3、 victoria-metrics-darwin-amd64-v1.81.0.tar.gz 9.09MB
4、 victoria-metrics-darwin-amd64-v1.81.0_checksums.txt 199B
5、 victoria-metrics-darwin-arm64-v1.81.0-enterprise.tar.gz 9.06MB
6、 victoria-metrics-darwin-arm64-v1.81.0-enterprise_checksums.txt 210B
7、 victoria-metrics-darwin-arm64-v1.81.0.tar.gz 8.72MB
8、 victoria-metrics-darwin-arm64-v1.81.0_checksums.txt 199B
9、 victoria-metrics-freebsd-amd64-v1.81.0-cluster.tar.gz 18.95MB
10、 victoria-metrics-freebsd-amd64-v1.81.0-cluster_checksums.txt 361B
11、 victoria-metrics-freebsd-amd64-v1.81.0-enterprise-cluster.tar.gz 19.52MB
12、 victoria-metrics-freebsd-amd64-v1.81.0-enterprise-cluster_checksums.txt 372B
13、 victoria-metrics-freebsd-amd64-v1.81.0-enterprise.tar.gz 9.57MB
14、 victoria-metrics-freebsd-amd64-v1.81.0-enterprise_checksums.txt 211B
15、 victoria-metrics-freebsd-amd64-v1.81.0.tar.gz 9.22MB
16、 victoria-metrics-freebsd-amd64-v1.81.0_checksums.txt 200B
17、 victoria-metrics-linux-amd64-v1.81.0-cluster.tar.gz 18.94MB
18、 victoria-metrics-linux-amd64-v1.81.0-cluster_checksums.txt 359B
19、 victoria-metrics-linux-amd64-v1.81.0-enterprise-cluster.tar.gz 19.48MB
20、 victoria-metrics-linux-amd64-v1.81.0-enterprise-cluster_checksums.txt 370B
21、 victoria-metrics-linux-amd64-v1.81.0-enterprise.tar.gz 9.4MB
22、 victoria-metrics-linux-amd64-v1.81.0-enterprise_checksums.txt 209B
23、 victoria-metrics-linux-amd64-v1.81.0.tar.gz 9.07MB
24、 victoria-metrics-linux-amd64-v1.81.0_checksums.txt 198B
25、 victoria-metrics-linux-arm-v1.81.0-enterprise.tar.gz 9.46MB
26、 victoria-metrics-linux-arm-v1.81.0-enterprise_checksums.txt 207B
27、 victoria-metrics-linux-arm-v1.81.0.tar.gz 9.11MB
28、 victoria-metrics-linux-arm-v1.81.0_checksums.txt 196B
29、 victoria-metrics-linux-arm64-v1.81.0-cluster.tar.gz 17.19MB
30、 victoria-metrics-linux-arm64-v1.81.0-cluster_checksums.txt 359B
31、 victoria-metrics-linux-arm64-v1.81.0-enterprise-cluster.tar.gz 17.68MB
32、 victoria-metrics-linux-arm64-v1.81.0-enterprise-cluster_checksums.txt 370B
33、 victoria-metrics-linux-arm64-v1.81.0-enterprise.tar.gz 8.57MB
34、 victoria-metrics-linux-arm64-v1.81.0-enterprise_checksums.txt 209B
35、 victoria-metrics-linux-arm64-v1.81.0.tar.gz 8.27MB
36、 victoria-metrics-linux-arm64-v1.81.0_checksums.txt 198B
37、 victoria-metrics-openbsd-amd64-v1.81.0-cluster.tar.gz 18.89MB
38、 victoria-metrics-openbsd-amd64-v1.81.0-cluster_checksums.txt 361B
39、 victoria-metrics-openbsd-amd64-v1.81.0-enterprise-cluster.tar.gz 19.45MB
40、 victoria-metrics-openbsd-amd64-v1.81.0-enterprise-cluster_checksums.txt 372B
41、 victoria-metrics-openbsd-amd64-v1.81.0-enterprise.tar.gz 9.56MB
42、 victoria-metrics-openbsd-amd64-v1.81.0-enterprise_checksums.txt 211B
43、 victoria-metrics-openbsd-amd64-v1.81.0.tar.gz 9.21MB
44、 victoria-metrics-openbsd-amd64-v1.81.0_checksums.txt 200B
45、 vmutils-darwin-amd64-v1.81.0-enterprise.tar.gz 68.09MB
46、 vmutils-darwin-amd64-v1.81.0-enterprise_checksums.txt 755B
47、 vmutils-darwin-amd64-v1.81.0.tar.gz 50.76MB
48、 vmutils-darwin-amd64-v1.81.0_checksums.txt 576B
49、 vmutils-darwin-arm64-v1.81.0-enterprise.tar.gz 65.56MB
50、 vmutils-darwin-arm64-v1.81.0-enterprise_checksums.txt 755B
51、 vmutils-darwin-arm64-v1.81.0.tar.gz 48.87MB
52、 vmutils-darwin-arm64-v1.81.0_checksums.txt 576B
53、 vmutils-freebsd-amd64-v1.81.0-enterprise.tar.gz 68.89MB
54、 vmutils-freebsd-amd64-v1.81.0-enterprise_checksums.txt 756B
55、 vmutils-freebsd-amd64-v1.81.0.tar.gz 51.38MB
56、 vmutils-freebsd-amd64-v1.81.0_checksums.txt 577B
57、 vmutils-linux-amd64-v1.81.0-enterprise.tar.gz 72.02MB
58、 vmutils-linux-amd64-v1.81.0-enterprise_checksums.txt 754B
59、 vmutils-linux-amd64-v1.81.0.tar.gz 51.53MB
60、 vmutils-linux-amd64-v1.81.0_checksums.txt 575B
61、 vmutils-linux-arm-v1.81.0-enterprise.tar.gz 66.61MB
62、 vmutils-linux-arm-v1.81.0-enterprise_checksums.txt 752B
63、 vmutils-linux-arm-v1.81.0.tar.gz 49.7MB
64、 vmutils-linux-arm-v1.81.0_checksums.txt 573B
65、 vmutils-linux-arm64-v1.81.0-enterprise.tar.gz 64.57MB
66、 vmutils-linux-arm64-v1.81.0-enterprise_checksums.txt 754B
67、 vmutils-linux-arm64-v1.81.0.tar.gz 48.05MB
68、 vmutils-linux-arm64-v1.81.0_checksums.txt 575B
69、 vmutils-openbsd-amd64-v1.81.0-enterprise.tar.gz 68.75MB
70、 vmutils-openbsd-amd64-v1.81.0-enterprise_checksums.txt 756B
71、 vmutils-openbsd-amd64-v1.81.0.tar.gz 51.29MB
72、 vmutils-openbsd-amd64-v1.81.0_checksums.txt 577B
73、 vmutils-windows-amd64-v1.81.0-enterprise.zip 17.52MB
74、 vmutils-windows-amd64-v1.81.0-enterprise_checksums.txt 595B
75、 vmutils-windows-amd64-v1.81.0.zip 14.69MB