v1.77.0
版本发布时间: 2022-05-05 17:53:39
VictoriaMetrics/VictoriaMetrics最新发布版本:v1.101.0(2024-04-26 17:06:08)
Changes
v1.77.0
Released at 05-05-2022
-
FEATURE: vmagent: add support for sending data to remote storage with AWS sigv4 authorization. See this feature request.
-
FEATURE: vmagent: allow filtering targets by target url and by target labels with time series selector on
http://vmagent:8429/targets
page. This may be useful whenvmagent
scrapes big number of targets. See this feature request. -
FEATURE: vmagent: reduce
-promscrape.config
reload duration when the config contains big number of jobs (aka scrape_config sections) and only a few of them are changed. Previously all the jobs were restarted. Now only the jobs with changed configs are restarted. This should reduce the probability of data miss because of slow config reload. See this issue. -
FEATURE: vmagent: improve service discovery speed for big number of scrape targets. This should help when
vmagent
discovers big number of targets (e.g. thousands) in Kubernetes cluster. The service discovery speed now should scale with the number of CPU cores available tovmagent
. -
FEATURE: vmagent: add ability to attach node-level labels and annotations to discovered Kubernetes pod targets in the same way as Prometheus 2.35 does. See this feature request and this pull request.
-
FEATURE: vmagent: add support for
tls_config
andproxy_url
options atoauth2
section in the same way as Prometheus does. See oauth2 docs. -
FEATURE: vmagent: add support for
min_version
option attls_config
section in the same way as Prometheus does. See tls_config docs. -
FEATURE: vmagent: expose
vmagent_remotewrite_rate_limit
metric athttp://vmagent:8429/metrics
, which can be used for alerting rules such asrate(vmagent_remotewrite_conn_bytes_written_total) / vmagent_remotewrite_rate_limit > 0.8
when-remoteWrite.rateLimit
command-line flag is set. See this pull request. -
FEATURE: vmalert: add support for DNS-based discovery for notifiers in the same way as Prometheus does (aka
dns_sd_configs
). See these docs and this feature request. -
FEATURE: vmalert: add
-replay.disableProgressBar
command-line flag, which allows disabling progressbar in rules' backfilling mode. See this issue. -
FEATURE: allow specifying TLS cipher suites for incoming https requests via
-tlsCipherSuites
command-line flag. See this feature request. -
FEATURE: allow specifying TLS cipher suites for mTLS connections between cluster components via
-cluster.tlsCipherSuites
command-line flag. See these docs. -
FEATURE: vmstorage: add
-snapshotsMaxAge
command-line flag for automatic removal of snapshots older than the given age. -
FEATURE: vmui: show an empty graph on the selected time range when there is no data on it. Previously
No data to show
placeholder was shown instead of the graph in this case. This prevented from zooming and scrolling of such a graph. -
FEATURE: vmui: show the selected
last N minutes/hours/days
in the top right corner. Previously thestart - end
duration was shown instead, which could be hard to interpret. See this feature request. -
FEATURE: vmui: execute the query when
enter
button is pressed in the same way as Prometheus does. Multi-line query can be entered by pressingshift-enter
in the query input field. -
FEATURE: expose
vm_indexdb_items_added_total
andvm_indexdb_items_added_size_bytes_total
counters at/metrics
page, which can be used for monitoring the rate for addition of new entries inindexdb
(akainverted index
) alongside the total size in bytes for the added entries. See this feature request. -
FEATURE: vmctl: show data pocessing speed during data migration.
-
FEATURE: MetricsQL: add
drop_common_labels()
function, which drops commonlabel="name"
pairs from the passed time series. See these docs. -
FEATURE: MetricsQL: add
tlast_change_over_time(m[d])
function, which returns the timestamp of the last change ofm
on the given lookbehind windowd
. See these docs. -
FEATURE: leave the last raw sample per each
-dedup.minScrapeInterval
discrete interval when the deduplication is enabled. This aligns better with the staleness rules in Prometheus comparing to the previous behaviour when the first sample per each-dedup.minScrapeInterval
was left. -
FEATURE: VictoriaMetrics cluster: add ability to disable peer TLS certificate verification with
-cluster.tlsInsecureSkipVerify
command-line flag. See mTLS docs for details. See this feature request. -
FEATURE: add a handler for
/api/v1/status/buildinfo
endpoint, which is used by Grafana starting from v8.5.0 . See this pull request. -
FEATURE: add ability to proxy alerting API requests from Grafana to vmalert by passing
-vmalert.proxyURL
command-line flag to single-node VictoriaMetrics or tovmselect
at cluster version of VictoriaMetrics. See this issue. -
BUGFIX: export staleness markers as
null
values from JSON export API. Previously they were exported asNaN
values. This could break the exported JSON parsing, sinceNaN
values aren't supported by JSON specification. -
BUGFIX: VictoriaMetrics cluster: close
vmselect->vmstorage
connections if they were idle for more than 30 seconds. Exposevm_tcpdialer_conns_idle
metric athttp://vmselect:8481/metrics
with the number of idle connections tovmstorage
. See this issue. -
BUGFIX: vmctl: return non-zero exit code on error. This allows handling
vmctl
errors in shell scripts. Previouslyvmctl
was returning 0 exit code on error. See this issue. -
BUGFIX: vmctl: prevent from indefinite hang on
Ctrl+C
. See this issue. -
BUGFIX: vmagent: properly show
scrape_timeout
andscrape_interval
options athttp://vmagent:8429/config
page. Previously these options weren't displayed even if they were set in-promscrape.config
. -
BUGFIX: vmagent: handle non-standard http redirect status codes, which may be returned by scrape targets, in the same way as Prometheus does. See this issue.
-
BUGFIX: vmalert: skip template execution during rules' validation. This should prevent from
error evaluating annotation template
errors when some template functions expect non-empty args. See this issue. -
BUGFIX: vmalert: fixed truncating alerts expression in table, updated table cell layout. See this issue.
-
BUGFIX: MetricsQL: properly handle joins on time series filtered by values. For example,
kube_pod_container_resource_requests{resource="cpu"} * on (namespace,pod) group_left() (kube_pod_status_phase{phase=~"Pending|Running"}==1)
. This query could result induplicate time series on the right side
error even if==1
filter leaves only a single time series per(namespace,pod)
labels. Now such query is properly executed. -
BUGFIX: MetricsQL: properly handle
scalar default vector
,scalar if vector
andscalar ifnot vector
queries. Previously such queries could return unexpected results from thevector
part. -
BUGFIX: Official Grafana dashboards for VictoriaMetrics: take into account
indexdb
when calculating disk space usage. 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-amd64-v1.77.0-cluster.tar.gz 17.89MB
2、 victoria-metrics-amd64-v1.77.0-cluster_checksums.txt 353B
3、 victoria-metrics-amd64-v1.77.0-enterprise-cluster.tar.gz 18.65MB
4、 victoria-metrics-amd64-v1.77.0-enterprise-cluster_checksums.txt 364B
5、 victoria-metrics-amd64-v1.77.0-enterprise.tar.gz 8.93MB
6、 victoria-metrics-amd64-v1.77.0-enterprise_checksums.txt 203B
7、 victoria-metrics-amd64-v1.77.0.tar.gz 8.61MB
8、 victoria-metrics-amd64-v1.77.0_checksums.txt 192B
9、 victoria-metrics-arm-v1.77.0-enterprise.tar.gz 8.97MB
10、 victoria-metrics-arm-v1.77.0-enterprise_checksums.txt 201B
11、 victoria-metrics-arm-v1.77.0.tar.gz 8.63MB
12、 victoria-metrics-arm-v1.77.0_checksums.txt 190B
13、 victoria-metrics-arm64-v1.77.0-cluster.tar.gz 16.29MB
14、 victoria-metrics-arm64-v1.77.0-cluster_checksums.txt 353B
15、 victoria-metrics-arm64-v1.77.0-enterprise-cluster.tar.gz 16.99MB
16、 victoria-metrics-arm64-v1.77.0-enterprise-cluster_checksums.txt 364B
17、 victoria-metrics-arm64-v1.77.0-enterprise.tar.gz 8.17MB
18、 victoria-metrics-arm64-v1.77.0-enterprise_checksums.txt 203B
19、 victoria-metrics-arm64-v1.77.0.tar.gz 7.88MB
20、 victoria-metrics-arm64-v1.77.0_checksums.txt 192B
21、 victoria-metrics-darwin-amd64-v1.77.0-enterprise.tar.gz 8.95MB
22、 victoria-metrics-darwin-amd64-v1.77.0-enterprise_checksums.txt 210B
23、 victoria-metrics-darwin-amd64-v1.77.0.tar.gz 8.61MB
24、 victoria-metrics-darwin-amd64-v1.77.0_checksums.txt 199B
25、 victoria-metrics-darwin-arm64-v1.77.0-enterprise.tar.gz 8.62MB
26、 victoria-metrics-darwin-arm64-v1.77.0-enterprise_checksums.txt 210B
27、 victoria-metrics-darwin-arm64-v1.77.0.tar.gz 8.29MB
28、 victoria-metrics-darwin-arm64-v1.77.0_checksums.txt 199B
29、 vmutils-amd64-v1.77.0-enterprise.tar.gz 67.11MB
30、 vmutils-amd64-v1.77.0-enterprise_checksums.txt 748B
31、 vmutils-amd64-v1.77.0.tar.gz 48.09MB
32、 vmutils-amd64-v1.77.0_checksums.txt 569B
33、 vmutils-arm-v1.77.0-enterprise.tar.gz 62.26MB
34、 vmutils-arm-v1.77.0-enterprise_checksums.txt 746B
35、 vmutils-arm-v1.77.0.tar.gz 46.47MB
36、 vmutils-arm-v1.77.0_checksums.txt 567B
37、 vmutils-arm64-v1.77.0-enterprise.tar.gz 60.49MB
38、 vmutils-arm64-v1.77.0-enterprise_checksums.txt 748B
39、 vmutils-arm64-v1.77.0.tar.gz 45.02MB
40、 vmutils-arm64-v1.77.0_checksums.txt 569B
41、 vmutils-darwin-amd64-v1.77.0-enterprise.tar.gz 63.45MB
42、 vmutils-darwin-amd64-v1.77.0-enterprise_checksums.txt 755B
43、 vmutils-darwin-amd64-v1.77.0.tar.gz 47.33MB
44、 vmutils-darwin-amd64-v1.77.0_checksums.txt 576B
45、 vmutils-darwin-arm64-v1.77.0-enterprise.tar.gz 61.39MB
46、 vmutils-darwin-arm64-v1.77.0-enterprise_checksums.txt 755B
47、 vmutils-darwin-arm64-v1.77.0.tar.gz 45.77MB
48、 vmutils-darwin-arm64-v1.77.0_checksums.txt 576B
49、 vmutils-windows-amd64-v1.77.0-enterprise.zip 16.45MB
50、 vmutils-windows-amd64-v1.77.0-enterprise_checksums.txt 595B
51、 vmutils-windows-amd64-v1.77.0.zip 13.76MB