Update victoriametrics/vmagent Docker tag to v1.96.0 #152
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/victoriametrics"
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.95.1
->v1.96.0
Release Notes
VictoriaMetrics/VictoriaMetrics (victoriametrics/vmagent)
v1.96.0
Compare Source
Released at 2023-12-13
vmalert's metrics
vmalert_alerting_rules_error
andvmalert_recording_rules_error
were replaced withvmalert_alerting_rules_errors_total
andvmalert_recording_rules_errors_total
. See this issue for details.SECURITY: upgrade base docker image (Alpine) from 3.18.4 to 3.19.0. See alpine 3.19.0 release notes.
SECURITY: upgrade Go builder from Go1.21.4 to Go1.21.5. See the list of issues addressed in Go1.21.5.
FEATURE: vmauth: add ability to send requests to the first available backend and fall back to other
hot standby
backends when the first backend is unavailable. This allows building highly available setups as shown in these docs. See this issue.FEATURE:
vmselect
: allow specifying multiple groups ofvmstorage
nodes with independent-replicationFactor
per each group. See these docs and this feature request for details.FEATURE:
vmselect
: allow opening vmui and investigating Top queries and Active queries when thevmselect
is overloaded with concurrent queries (e.g. when more than-search.maxConcurrentRequests
concurrent queries are executed). Previously an attempt to openTop queries
orActive queries
atvmui
could result incouldn't start executing the request in ... seconds, since -search.maxConcurrentRequests=... concurrent requests are executed
error, which could complicate debugging of overloadedvmselect
or single-node VictoriaMetrics.FEATURE: vmagent: add
-enableMultitenantHandlers
command-line flag, which allows receiving data via VictoriaMetrics cluster urls atvmagent
and converting tenant ids to (vm_account_id
,vm_project_id
) labels before sending the data to the configured-remoteWrite.url
. See these docs for details.FEATURE: vmagent: add
-remoteWrite.disableOnDiskQueue
command-line flag, which can be used for disabling data queueing to disk when the remote storage cannot keep up with the data ingestion rate. See these docs and this feature request.FEATURE: vmagent: add support for reading and writing samples via Google PubSub. See these docs.
FEATURE: vmagent: show all the dropped targets together with the reason why they are dropped at
http://vmagent:8429/service-discovery
page. Previously targets, which were dropped because of target sharding weren't displayed on this page. This could complicate service discovery debugging. See this issue and this feature request.FEATURE: reduce the default value for
-import.maxLineLen
command-line flag from 100MB to 10MB in order to prevent excessive memory usage during data import via /api/v1/import.FEATURE: vmagent: add
keep_if_contains
anddrop_if_contains
relabeling actions. See these docs for details.FEATURE: vmagent: export
vm_promscrape_scrape_pool_targets
metric to track the number of targets each scrape job discovers. See this feature request.FEATURE: vmalert: provide
/vmalert/api/v1/rule
and/api/v1/rule
API endpoints to get the rule object in JSON format. See these docs for details.FEATURE: vmalert: deprecate process gauge metrics
vmalert_alerting_rules_error
andvmalert_recording_rules_error
in favour ofvmalert_alerting_rules_errors_total
andvmalert_recording_rules_errors_total
counter metrics. Counter metric type is more suitable for error counting as it preserves the state change between the scrapes. See this issue for details.FEATURE: MetricsQL: add day_of_year() function, which returns the day of the year for each of the given unix timestamps. See this issue for details. Thanks to @luckyxiaoqiang for the pull request.
FEATURE: all VictoriaMetrics binaries: expose additional metrics at
/metrics
page, which may simplify debugging of VictoriaMetrics components (see this feature request):go_sched_latencies_seconds
- the histogram, which shows the time goroutines have spent in runnable state before actually running. Big values point to the lack of CPU time for the current workload.go_mutex_wait_seconds_total
- the counter, which shows the total time spent by goroutines waiting for locked mutex. Big values point to mutex contention issues.go_gc_cpu_seconds_total
- the counter, which shows the total CPU time spent by Go garbage collector.go_gc_mark_assist_cpu_seconds_total
- the counter, which shows the total CPU time spent by goroutines in GC mark assist state.go_gc_pauses_seconds
- the histogram, which shows the duration of GC pauses.go_scavenge_cpu_seconds_total
- the counter, which shows the total CPU time spent by Go runtime for returning memory to the Operating System.go_memlimit_bytes
- the value of GOMEMLIMIT environment variable.FEATURE: vmui: enhance autocomplete functionality with caching. See this issue.
FEATURE: add field
version
to the response for/api/v1/status/buildinfo
API for using more efficient API in Grafana for receiving label values. Add additional info about setup Grafana datasource. See this issue and these docs for details.FEATURE: add
-search.maxResponseSeries
command-line flag for limiting the number of time series a single query to/api/v1/query
or/api/v1/query_range
can return. This limit can protect Grafana from high memory usage when the query returns too many series. See this feature request.FEATURE: Alerting rules for VictoriaMetrics: ease aggregation for certain alerting rules to keep more useful labels for the context. Before, all extra labels except
job
andinstance
were ignored. See this pull request and this follow-up commit. Thanks to @7840vz.FEATURE: vmctl: allow reversing the migrating order from the newest to the oldest data for vm-native and remote-read modes via
--vm-native-filter-time-reverse
and--remote-read-filter-time-reverse
command-line flags respectively. See: https://docs.victoriametrics.com/vmctl.html#using-time-based-chunking-of-migration and this feature request.BUGFIX: MetricsQL: properly calculate values for the first point on the graph for queries, which do not use rollup functions. For example, previously
count(up)
could return lower than expected values for the first point on the graph. This also could result in lower than expected values in the middle of the graph like in this issue when the response caching isn't disabled. The issue has been introduced in v1.95.0.BUGFIX: vmagent: prevent from
FATAL: cannot flush metainfo
panic when-remoteWrite.multitenantURL
command-line flag is set. See this issue.BUGFIX: vmagent: properly decode zstd-encoded data blocks received via VictoriaMetrics remote_write protocol. See this issue comment.
BUGFIX: vmagent: properly add new labels at
output_relabel_configs
during stream aggregation. Previously this could lead to corrupted labels in output samples. Thanks to @ChengChung for providing detailed report for this bug.BUGFIX: vmalert-tool: allow using arbitrary
eval_time
in alert_rule_test case. Previously, test cases witheval_time
not being a multiple ofevaluation_interval
would fail.BUGFIX: vmalert: sanitize label names before sending the alert notification to Alertmanager. Before, vmalert would send notifications with labels containing characters not supported by Alertmanager validator, resulting into validation errors like
msg="Failed to validate alerts" err="invalid label set: invalid name "foo.bar"
.BUGFIX: vmbackupmanager: fix
vmbackupmanager
not deleting previous object versions from S3 when applying retention policy with-deleteAllObjectVersions
command-line flag.BUGFIX: vminsert: fix panic when ingesting data via NewRelic protocol into VictoriaMetrics cluster. See this issue.
BUGFIX: properly escape
<
character in responses returned via/federate
endpoint. See this issue.BUGFIX: vmctl: check for Error field in response from influx client during migration. Before, only network errors were checked. Thanks to @wozz for the pull request.
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.
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.