v1.107.0
v1.107.0
Released at 2024-11-29
Update note 1: cmd-line flags -datasource.lookback
, datasource.queryTimeAlignment
and remoteRead.ignoreRestoreErrors
on vmalert have been removed. Those flags were all deprecated before v1.101.0.
-
FEATURE: vmalert: revert the default value of
-remoteWrite.maxQueueSize
from1_000_000
to100_000
. It was bumped in v1.104.0, which increases memory usage and is not needed for most setups. See this issue. -
FEATURE: vmui: add
Raw Query
tab for displaying raw data. See this issue. -
FEATURE: vmui: add support for template alias in predefined panels. This allows creating more readable metric names in the legend using constructions like
{{label_name}}
, wherelabel_name
is the name of the label. See this commit -
FEATURE: stream aggregation: add
ignore_first_sample_interval
param to aggregation config. It allows users to control the time interval when aggregation skips sending aggregated samples to avoid unexpected spikes in values. By default, this interval is set to x2 ofstaleness_interval
. The new setting is applicable only tototal
,total_prometheus
,increase
,increase_prometheus
andhistogram_bucket
outputs. See this issue for details. Thanks to @iyuroch for the pull request. -
FEATURE: vmauth: add
dump_request_on_errors
bool setting to auth config for debugging HTTP requests that missed routing rules. This should improve debugability of vmauth settings. -
FEATURE: vmauth: add
real_ip_header
setting to ip_filters and corresponding global flaghttpRealIPHeader
. It allowsvmauth
obtain client IP from HTTP headers for filtering. See this issue for details. -
FEATURE: vmauth: expose new metrics
vmauth_user_ip_denies_total
,vmauth_global_ip_denies_total
andvmauth_unauthorized_user_ip_denies_total
forip_filters
. See this issue for details. -
FEATURE: vmauth: add
dryRun
flag to validate configuration. See this issue for details. -
FEATURE: vmauth: add
removeXFFHTTPHeaderValue
flag to remove content ofX-Forwarded-For
HTTP Header before proxy it to the backend. See this issue for details. -
BUGFIX: vmagent: properly parse
multitenant
token value for multitenant endpoints. See this issue. -
BUGFIX: vmagent: Properly return
200 OK
HTTP status code when importing data via Pushgateway protocol using multitenant URL format. See this issue and this pull request. -
BUGFIX: vmagent: Properly set
TCP
connection timeout forKubernetes API server
connection for metric scrapping withkubernetes_sd_configs
. See this issue. -
BUGFIX: vmagent: fix the
resource_group
filter for Azure service discovery on virtual machine scale sets. Previously, this filter did not apply to virtual machine scale sets, causing all virtual machines to be discovered. See this issue. -
BUGFIX: vmauth: properly init
ip_filters
forunauthorized_user
config section. Previously it was ignored andvmauth
didn't applyip_filter
forunauthorized
access. -
BUGFIX: vmsingle,
vmselect
in VictoriaMetrics cluster: properly return result for binary operation^
aka pow at query requests forNaN
values. See this issue for details. -
BUGFIX: vmui: fix rendering of isolated data points on the graph that are not connected to other points.
-
BUGFIX: vmui: fix for
showLegend
andalias
flags in predefined panels. See this issue -
BUGFIX: vmalert: improve the correctness of alert state restoration. Previously, it could result in false-positive alerts if alert was resolved shortly before vmalert restart.
-
BUGFIX: vmalert-tool: exit immediately with error message if no test file is found under specified
-files
. -
BUGFIX: vmalert-tool: print an error message if no rule group is found in
rule_files
. -
BUGFIX:
vmselect
in VictoriaMetrics cluster: Properly handle multitenant query request errors and correctly perform search for available tenants. See this issue for details. This is follow-up after v1.106.1 release changes. -
BUGFIX:
vmselect
in VictoriaMetrics cluster: properly setmultitenant
cache expiration duration withsearch.tenantCacheExpireDuration
. Previously flag always used default value.