v1.78.0
版本发布时间: 2022-06-21 18:50:01
VictoriaMetrics/VictoriaMetrics最新发布版本:v1.101.0(2024-04-26 17:06:08)
Changes
v1.78.0
Released at 20-06-2022
Warning (03-07-2022): VictoriaMetrics v1.78.0 contains a bug, which may result in missing time series during queries. It is recommended upgrading to v1.78.1.
Update notes: this release introduces backwards-incompatible changes to communication protocol between vmselect
and vmstorage
nodes in cluster version of VictoriaMetrics because of added query tracing, so vmselect
and vmstorage
nodes may log communication errors during the upgrade. These errors should stop after all the vmselect
and vmstorage
nodes are updated to new release. It is safe to downgrade to previous releases.
-
SECURITY: add
-flagsAuthKey
command-line flag for protecting/flags
endpoint from unauthorized access. Though this endpoint already hides values for command-line flags withkey
andpassword
substrings in their names, other sensitive information could be exposed there. See This issue. -
FEATURE: support query tracing, which allows determining bottlenecks during query processing. See these docs and this feature request.
-
FEATURE: vmui: add
cardinality
tab, which can help identifying the source of high cardinality and high churn rate issues. See this and this feature requests and these docs. -
FEATURE: vmui: small UX enhancements according to this feature request.
-
FEATURE: allow overriding default limits for in-memory cache
indexdb/tagFilters
via flag-storage.cacheSizeIndexDBTagFilters
. See this issue. -
FEATURE: add support of
lowercase
anduppercase
relabeling actions in the same way as Prometheus 2.36.0 does. See this issue. -
FEATURE: add ability to change the
indexdb
rotation timezone offset via-retentionTimezoneOffset
command-line flag. Previously it was performed at 4am UTC time. This could lead to performance degradation in the middle of the day when VictoriaMetrics runs in time zones located too far from UTC. Thanks to @cnych for the pull request. -
FEATURE: limit the number of background merge threads on systems with big number of CPU cores by default. This increases the max size of parts, which can be created during background merge when
-storageDataPath
directory has limited free disk space. This may improve on-disk data compression efficiency and query performance. The limits can be tuned if needed with-smallMergeConcurrency
and-bigMergeConcurrency
command-line flags. See this pull request. -
FEATURE: accept optional
limit
query arg at /api/v1/labels and /api/v1/label/.../values for limiting the numbef of sample entries returned from these endpoints. See these docs. -
FEATURE: optimize performance for /api/v1/labels and /api/v1/label/.../values endpoints when
match[]
,extra_label
orextra_filters[]
query args are passed to these endpoints. This should help with this issue. -
FEATURE: vmalert: support
limit
param per-group for limiting number of produced samples per each rule. Thanks to @Howie59 for implementation. -
FEATURE: vmalert: remove dependency on Internet access at web API pages. Previously the functionality and the layout of these pages was broken without Internet access. See shis issue.
-
FEATURE: vmalert: send alerts to the configured notifiers in parallel. Previously alerts were sent to notifiers sequentially. This could delay sending pending alerts when notifier blocks on the currently sent alert.
-
FEATURE: vmagent: implement the
http://vmagent:8429/service-discovery
page in the same way as Prometheus does. This page shows the original labels for all the discovered targets alongside the resulting labels after the relabeling. This simplifies service discovery debugging. -
FEATURE: vmagent: remove dependency on Internet access at
http://vmagent:8429/targets
page. Previously the page layout was broken without Internet access. See shis issue. -
FEATURE: vmagent: add support for
kubeconfig_file
option at kubernetes_sd_configs. It may be useful for Kubernetes monitoring byvmagent
outside Kubernetes cluster. See this issue. -
FEATURE: vmagent: expose
/api/v1/status/config
endpoint in the same way as Prometheus does. See these docs. -
FEATURE: vmagent: add
-promscrape.suppressScrapeErrorsDelay
command-line flag, which can be used for delaying and aggregating the logging of per-target scrape errors. This may reduce the amounts of logs whenvmagent
scrapes many unreliable targets. See this feature request. Thanks to @jelmd for the initial implementation. -
FEATURE: vmagent: add
-promscrape.cluster.name
command-line flag, which allows proper data de-duplication when the same target is scraped from multiple vmagent clusters. See this issue. -
FEATURE: vmagent: add
action: graphite
relabeling rules optimized for extracting labels from Graphite-style metric names. See these docs and this feature request. -
FEATURE: VictoriaMetrics enterprise: expose
vm_downsampling_partitions_scheduled
andvm_downsampling_partitions_scheduled_size_bytes
metrics, which can be used for tracking the progress of initial downsampling for historical data. See this feature request. -
FEATURE: VictoriaMetrics cluster: do not spend up to 5 seconds when trying to connect to unavailable
vmstorage
nodes. This should improve query latency when some ofvmstorage
nodes aren't available. Exposevm_tcpdialer_addr_available{addr="..."}
metric athttp://vmselect:8481/metrics
for determining whether the givenaddr
is available for establishing new connections. See this comment. -
FEATURE: VictoriaMetrics cluster: add
-vmstorageDialTimeout
command-line flags tovmselect
andvminsert
for tuning the maximum duration for connection estabilishing tovmstorage
nodes. This should help resolving this issue. -
BUGFIX: support for data ingestion in DataDog format from legacy clients / agents. See this pull request. Thanks to @elProxy for the fix.
-
BUGFIX: vmagent: do not expose
vm_promscrape_service_discovery_duration_seconds_bucket
metric for unused service discovery types. This reduces the number of metrics exported athttp://vmagent:8429/metrics
. See this issue. -
BUGFIX: vmalert: properly apply
alert_relabel_configs
relabeling rules to-notifier.config
according to these docs. Thanks to @spectvtor for the bugfix. -
BUGFIX: vmalert: properly add
Content-Encoding: snappy
,Content-Type: application/x-protobuf
andX-Prometheus-Remote-Write-Version: 0.1.0
request headers whenvmalert
sends evaluated recording rules' data to-remoteWrite.url
. These headers are needed by some remote storage systems in order to properly decode snappy-encoded request body. See this and this pull requests. Thanks to @manji-0 for th fix. -
BUGFIX: deny background merge when the storage enters read-only mode, e.g. when free disk space becomes lower than
-storage.minFreeDiskSpaceBytes
. Background merge needs additional disk space, so it could result inno space left on device
errors. See this issue. -
BUGFIX: vmui: properly apply the selected time range when auto-refresh is enabled. See this issue.
-
BUGFIX: vmui: properly update the url with vmui state when new query is entered. See this issue.
-
BUGFIX: Graphite render API: properly calculate sample timestamps when
moving*()
functions such as movingAverage() are applied over summarize(). -
BUGFIX: limit the
end
query arg value to+2 days
in the future at/api/v1/*
endpoints, because VictoriaMetrics doesn't allow storing samples with timestamps bigger than +2 days in the future. This should help resolving this issue. -
BUGFIX: properly register time series in per-day inverted index during the first hour after
indexdb
rotation. Previously this could lead to missing time series during querying if these time series stopped receiving new samples during the first hour afterindexdb
rotation. See this issue. -
BUGFIX: do not register new series when
-storage.maxHourlySeries
or-storage.maxDailySeries
limits were reached. Previously samples for new series weren't added to the database when the cardinality limit was reached, but series were still registered in the inverted index (akaindexdb
). This could lead to unboundindexdb
growth during high churn rate.
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-amd64-v1.78.0-cluster.tar.gz 18.08MB
2、 victoria-metrics-amd64-v1.78.0-cluster_checksums.txt 353B
3、 victoria-metrics-amd64-v1.78.0-enterprise-cluster.tar.gz 18.73MB
4、 victoria-metrics-amd64-v1.78.0-enterprise-cluster_checksums.txt 364B
5、 victoria-metrics-amd64-v1.78.0-enterprise.tar.gz 9.03MB
6、 victoria-metrics-amd64-v1.78.0-enterprise_checksums.txt 203B
7、 victoria-metrics-amd64-v1.78.0.tar.gz 8.71MB
8、 victoria-metrics-amd64-v1.78.0_checksums.txt 192B
9、 victoria-metrics-arm-v1.78.0-enterprise.tar.gz 9.08MB
10、 victoria-metrics-arm-v1.78.0-enterprise_checksums.txt 201B
11、 victoria-metrics-arm-v1.78.0.tar.gz 8.73MB
12、 victoria-metrics-arm-v1.78.0_checksums.txt 190B
13、 victoria-metrics-arm64-v1.78.0-cluster.tar.gz 16.48MB
14、 victoria-metrics-arm64-v1.78.0-cluster_checksums.txt 353B
15、 victoria-metrics-arm64-v1.78.0-enterprise-cluster.tar.gz 17.07MB
16、 victoria-metrics-arm64-v1.78.0-enterprise-cluster_checksums.txt 364B
17、 victoria-metrics-arm64-v1.78.0-enterprise.tar.gz 8.27MB
18、 victoria-metrics-arm64-v1.78.0-enterprise_checksums.txt 203B
19、 victoria-metrics-arm64-v1.78.0.tar.gz 7.98MB
20、 victoria-metrics-arm64-v1.78.0_checksums.txt 192B
21、 victoria-metrics-darwin-amd64-v1.78.0-enterprise.tar.gz 9.04MB
22、 victoria-metrics-darwin-amd64-v1.78.0-enterprise_checksums.txt 210B
23、 victoria-metrics-darwin-amd64-v1.78.0.tar.gz 8.7MB
24、 victoria-metrics-darwin-amd64-v1.78.0_checksums.txt 199B
25、 victoria-metrics-darwin-arm64-v1.78.0-enterprise.tar.gz 8.73MB
26、 victoria-metrics-darwin-arm64-v1.78.0-enterprise_checksums.txt 210B
27、 victoria-metrics-darwin-arm64-v1.78.0.tar.gz 8.4MB
28、 victoria-metrics-darwin-arm64-v1.78.0_checksums.txt 199B
29、 vmutils-amd64-v1.78.0-enterprise.tar.gz 68.85MB
30、 vmutils-amd64-v1.78.0-enterprise_checksums.txt 748B
31、 vmutils-amd64-v1.78.0.tar.gz 49.36MB
32、 vmutils-amd64-v1.78.0_checksums.txt 569B
33、 vmutils-arm-v1.78.0-enterprise.tar.gz 63.85MB
34、 vmutils-arm-v1.78.0-enterprise_checksums.txt 746B
35、 vmutils-arm-v1.78.0.tar.gz 47.63MB
36、 vmutils-arm-v1.78.0_checksums.txt 567B
37、 vmutils-arm64-v1.78.0-enterprise.tar.gz 62.16MB
38、 vmutils-arm64-v1.78.0-enterprise_checksums.txt 748B
39、 vmutils-arm64-v1.78.0.tar.gz 46.25MB
40、 vmutils-arm64-v1.78.0_checksums.txt 569B
41、 vmutils-darwin-amd64-v1.78.0-enterprise.tar.gz 65.18MB
42、 vmutils-darwin-amd64-v1.78.0-enterprise_checksums.txt 755B
43、 vmutils-darwin-amd64-v1.78.0.tar.gz 48.59MB
44、 vmutils-darwin-amd64-v1.78.0_checksums.txt 576B
45、 vmutils-darwin-arm64-v1.78.0-enterprise.tar.gz 63.12MB
46、 vmutils-darwin-arm64-v1.78.0-enterprise_checksums.txt 755B
47、 vmutils-darwin-arm64-v1.78.0.tar.gz 47.04MB
48、 vmutils-darwin-arm64-v1.78.0_checksums.txt 576B
49、 vmutils-windows-amd64-v1.78.0-enterprise.zip 16.66MB
50、 vmutils-windows-amd64-v1.78.0-enterprise_checksums.txt 595B
51、 vmutils-windows-amd64-v1.78.0.zip 13.97MB