Update victoriametrics/vmagent Docker tag to v1.92.0 #49
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/victoriametrics-vmagent-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.91.3
->v1.92.0
Release Notes
VictoriaMetrics/VictoriaMetrics (victoriametrics/vmagent)
v1.92.0
Compare Source
Released at 2023-07-27
Update note: starting from this release, stream aggregation writes
the following samples to the configured remote storage by default:
match
options from the provided config.Previously only aggregated samples were written to the storage by default.
The previous behavior can be restored in the following ways:
-streamAggr.dropInput
command-line flag to single-node VictoriaMetrics;-remoteWrite.streamAggr.dropInput
command-line flag per each configured-remoteWrite.streamAggr.config
atvmagent
.CHANGES
SECURITY: upgrade base docker image (alpine) from 3.18.0 to 3.18.2. See alpine 3.18.2 release notes.
SECURITY: upgrade Go builder from Go1.20.5 to Go1.20.6. See the list of issues addressed in Go1.20.6.
FEATURE: reduce memory usage by up to 5x for setups with high churn rate and long retention. See the description for this change and this issue for details.
FEATURE: reduce spikes in CPU and disk IO usage during
indexdb
rotation (aka inverted index), which is performed once per-retentionPeriod
. The new algorithm gradually pre-populates newly createdindexdb
during the last hour before the rotation. The number of pre-populated series in the newly createdindexdb
can be monitored viavm_timeseries_precreated_total
metric. This should resolve this issue.FEATURE: MetricsQL: allow selecting time series matching at least one of multiple
or
filters. For example,{env="prod",job="a" or env="dev",job="b"}
selects series with either{env="prod",job="a"}
or{env="dev",job="b"}
labels. This functionality allows passing the selected series to rollup functions without the need to use subqueries. See these docs.FEATURE: MetricsQL: add ability to preserve metric names for binary operation results via
keep_metric_names
modifier. For example,({__name__=~"foo|bar"} / 10) keep_metric_names
leavesfoo
andbar
metric names in division results. See these docs. This helps to address issues like this one.FEATURE: MetricsQL: add ability to copy all the labels from
one
side of many-to-one operations by specifying*
insidegroup_left()
orgroup_right()
. Also allow adding a prefix for copied label names viagroup_left(*) prefix "..."
syntax. For example, the following query copies Kubernetes namespace labels tokube_pod_info
series and addsns_
prefix for the copied label names:kube_pod_info * on(namespace) group_left(*) prefix "ns_" kube_namespace_labels
. The labels fromon()
list aren't prefixed. This feature resolves this and that questions at StackOverflow.FEATURE: MetricsQL: add ability to specify durations via
WITH
templates. Examples:WITH (w = 5m) m[w]
is automatically transformed tom[5m]
WITH (f(window, step, off) = m[window:step] offset off) f(5m, 10s, 1h)
is automatically transformed tom[5m:10s] offset 1h
Thanks to @lujiajing1126 for the initial idea and implementation. See this feature request.
FEATURE: vmui: added a new page with the list of currently running queries. See this issue and these docs.
FEATURE: vmagent: add support for data ingestion via OpenTelemetry protocol. See these docs, this feature request and this pull request.
FEATURE: vmagent: allow sharding outgoing time series among the configured remote storage systems. This can be useful for building horizontally scalable stream aggregation, when samples for the same time series must be aggregated by the same
vmagent
instance at the second level. See these docs and this feature request for details.FEATURE: vmagent: allow configuring staleness interval in stream aggregation config. See this issue for details.
FEATURE: vmagent: allow specifying a list of series selectors inside
if
option of relabeling rules. The corresponding relabeling rule is executed when at least a single series selector matches. See these docs.FEATURE: stream aggregation: allow specifying a list of series selectors inside
match
option of stream aggregation configs. The input sample is aggregated when at least a single series selector matches. See this feature request.FEATURE: stream aggregation: preserve input samples, which match zero
match
options from the configured aggregations. Previously all the input samples were dropped by default, so only the aggregated samples are written to the output storage. The previous behavior can be restored by passing-streamAggr.dropInput
command-line flag to single-node VictoriaMetrics or by passing-remoteWrite.streamAggr.dropInput
command-line flag tovmagent
.FEATURE: vmctl: add verbose output for docker installations or when TTY isn't available. See this issue.
FEATURE: vmctl: interrupt backoff retries when import process is cancelled. The change makes vmctl more responsive in case of errors during the import. See this pull request.
FEATURE: vmctl: update backoff policy on retries to reduce probability of overloading for
source
ordestination
databases. See this issue.FEATURE: vmstorage: suppress "broken pipe" and "connection reset by peer" errors for search queries on vmstorage side. See this and this commits.
FEATURE: Official Grafana dashboards for VictoriaMetrics: add panel for tracking rate of syscalls while writing or reading from disk via
process_io_(read|write)_syscalls_total
metrics.FEATURE: accept timestamps in milliseconds at
start
,end
andtime
query args in Prometheus querying API. See these docs and this feature request.FEATURE: vmalert: update retry policy for pushing data to
-remoteWrite.url
. By default, vmalert will make multiple retry attempts with exponential delay. The total time spent during retry attempts shouldn't exceed-remoteWrite.retryMaxTime
(default is 30s). When retry time is exceeded vmalert drops the data dedicated for-remoteWrite.url
. Before, vmalert dropped data after 5 retry attempts with 1s delay between attempts (not configurable). See-remoteWrite.retryMinInterval
and-remoteWrite.retryMaxTime
cmd-line flags.FEATURE: vmalert: expose
vmalert_remotewrite_send_duration_seconds_total
counter, which can be used for determining high saturation of every connection to remote storage with an alerting querysum(rate(vmalert_remotewrite_send_duration_seconds_total[5m])) by(job, instance) > 0.9 * max(vmalert_remotewrite_concurrency) by(job, instance)
. This query triggers when a connection is saturated by more than 90%. This usually means that-remoteWrite.concurrency
command-line flag must be increased in order to increase the number of concurrent writings into remote endpoint. See this feature request.FEATUTE: vmalert: display the error message received during unsuccessful config reload in vmalert's UI. See this issue for details.
FEATUTE: vmalert: allow disabling of
step
param attached to instant queries. This might be useful for using vmalert with datasources that to not support this param, unlike VictoriaMetrics. See this issue for details.FEATUTE: vmalert: support option for "blackholing" alerting notifications if
-notifier.blackhole
cmd-line flag is set. Enable this flag if you want vmalert to evaluate alerting rules without sending any notifications to external receivers (eg. alertmanager). See this issue for details. Thanks to @venkatbvc for the pull request.FEATURE: vmalert: add unit test for alerting and recording rules, see more details here. Thanks to @Haleygo for the pull request.
FEATURE: vmalert: allow overriding default GET params for rules with
graphite
datasource type, in the same way as it happens forprometheus
type. See this issue.FEATUTE: vmalert: support
keep_firing_for
field for alerting rules. See docs updated here and this issue. Thanks to @Haleygo for the pull request.FEATURE: vmauth: expose
vmauth_user_request_duration_seconds
andvmauth_unauthorized_user_request_duration_seconds
summary metrics for measuring requests latency per user.FEATURE: vmbackup: show backup progress percentage in log during backup uploading. See this issue.
FEATURE: vmrestore: show restoring progress percentage in log during backup downloading. See this issue.
FEATURE: add ability to fine-tune Graphite API limits via the following command-line flags:
-search.maxGraphiteTagKeys
for limiting the number of tag keys returned from Graphite API for tags-search.maxGraphiteTagValues
for limiting the number of tag values returned from Graphite API for tag values-search.maxGraphiteSeries
for limiting the number of series (aka paths) returned from Graphite API for seriesSee this issue.
BUGFIX: properly return series from /api/v1/series if it finds more than the
limit
series (limit
is an optional query arg passed to this API). Previously thelimit exceeded error
error was returned in this case. See this issue.BUGFIX: vmui: fix application routing issues and problems with manual URL changes. See this pull request and this issue.
BUGFIX: add validation for invalid partial RFC3339 timestamp formats in query and export APIs.
BUGFIX: vmctl: interrupt explore procedure in influx mode if vmctl found no numeric fields.
BUGFIX: vmctl: fix panic in case
--remote-read-filter-time-start
flag is not set for remote-read mode. This flag is now required to use remote-read mode. See this issue.BUGFIX: vmctl: fix formatting issue, which could add superflouos
s
characters at the end ofsamples/s
output during data migration. For example, it could writesamples/ssssss
. See this issue.BUGFIX: vmalert: use RFC3339 time format in query args instead of unix timestamp for all issued queries to Prometheus-like datasources.
BUGFIX: vmalert: correctly calculate evaluation time for rules. Before, there was a low probability for discrepancy between actual time and rules evaluation time if evaluation interval was lower than the execution time for rules within the group.
BUGFIX: vmalert: reset evaluation timestamp after modifying group interval. Before, there could have latency on rule evaluation time.
BUGFIX: vmselect: fix timestamp alignment for Prometheus querying API if time argument is less than 10m from the beginning of Unix epoch.
BUGFIX: vmagent: close HTTP connections to service discovery servers when they are no longer needed. This should prevent from possible connection exhasution in some cases. See this issue.
BUGFIX: vmagent: do not show relabel debug links at the
/targets
page whenvmagent
runs with-promscrape.dropOriginalLabels
command-line flag, since it has no the original labels needed for relabel debug. See this issue.BUGFIX: vminsert: fixed decoding of label values with slash when accepting data via pushgateway protocol. This fixes Prometheus golang client compatibility. See this issue.
BUGFIX: MetricsQL: properly parse binary operations with reserved words on the right side such as
foo + (on{bar="baz"})
. Previously such queries could lead to panic. See this issue.BUGFIX: Official Grafana dashboards for VictoriaMetrics: display cache usage for all components on panel
Cache usage % by type
for cluster dashboard. Before, only vmstorage caches were shown.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.