Update note 1: support for snap packages was removed due to lack of interest from community. See this pull request for details. Please read about supported package types here.
Update note 2: stream aggregation config now prevents setting multiple identical outputs. For example, outputs: [total, total] will fail the validation phase. In addition, outputs: ["quantiles(0.5)", "quantiles(0.9)"] will fail the validation as well - use outputs: ["quantiles(0.5, 0.9)"] instead.
SECURITY: upgrade Go builder from Go1.22.4 to Go1.22.5. See the list of issues addressed in Go1.22.5.
name - the name of the streaming aggregation rule, which can be configured via name option - see these docs.
url - -remoteWrite.url for the corresponding -remoteWrite.streamAggr.config
path - path to the corresponding streaming aggregation config file
position - the position of the aggregation rule in the corresponding streaming aggregation config file
FEATURE: streaming aggregation: prevent having duplicated aggregation function as outputs in one aggregation config. It also prevents using outputs: ["quantiles(0.5)", "quantiles(0.9)"] instead of outputs: ["quantiles(0.5, 0.9)"], as the former has higher computation cost for producing the same result.
BUGFIX: vmgateway: properly apply read and write based rate limits. See this issue for details.
BUGFIX: vmbackupmanager: fix vm_backup_last_run_failed metric not being properly initialized during startup. Previously, it could imply an error even if the backup have been completed successfully. See this issue for the details.
BUGFIX: vmui: fix input cursor position reset in modal settings. See this pull request.
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [victoriametrics/vmagent](https://github.com/VictoriaMetrics/VictoriaMetrics) | minor | `v1.101.0` -> `v1.102.0` |
---
### Release Notes
<details>
<summary>VictoriaMetrics/VictoriaMetrics (victoriametrics/vmagent)</summary>
### [`v1.102.0`](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.102.0)
[Compare Source](https://github.com/VictoriaMetrics/VictoriaMetrics/compare/v1.101.0...v1.102.0)
Released at 2024-07-17
**Update note 1: support for snap packages was removed due to lack of interest from community. See this [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6543) for details. Please read about supported package types [here](https://docs.victoriametrics.com/#install).**
**Update note 2: [stream aggregation config](https://docs.victoriametrics.com/stream-aggregation/#stream-aggregation-config) now prevents setting multiple identical outputs. For example, `outputs: [total, total]` will fail the validation phase. In addition, `outputs: ["quantiles(0.5)", "quantiles(0.9)"]` will fail the validation as well - use `outputs: ["quantiles(0.5, 0.9)"]` instead.**
- SECURITY: upgrade Go builder from Go1.22.4 to Go1.22.5. See the list of issues addressed in [Go1.22.5](https://github.com/golang/go/issues?q=milestone%3AGo1.22.5+label%3ACherryPickApproved).
- SECURITY: upgrade base docker image (Alpine) from 3.20.0 to 3.20.1. See [alpine 3.20.1 release notes](https://www.alpinelinux.org/posts/Alpine-3.20.1-released.html).
- FEATURE: [streaming aggregation](https://docs.victoriametrics.com/stream-aggregation/): expose the following metrics at `/metrics` page of [vmagent](https://docs.victoriametrics.com/vmagent/) and [single-node VictoriaMetrics](https://docs.victoriametrics.com/):
- `vm_streamaggr_matched_samples_total` - the number of input samples matched by the corresponding aggregation rule
- `vm_streamaggr_output_samples_total` - the number of output samples produced by the corresponding aggregation rule
- `vm_streamaggr_samples_lag_seconds` - [histogram](https://docs.victoriametrics.com/keyconcepts/#histogram) with the lag between the current time and the timestamp seen in the aggregated input samples
- FEATURE: [steaming aggregation](https://docs.victoriametrics.com/stream-aggregation/): add new labels to `vm_streamaggr_*` metrics:
- `name` - the name of the streaming aggregation rule, which can be configured via `name` option - see [these docs](https://docs.victoriametrics.com/stream-aggregation/#stream-aggregation-config).
- `url` - `-remoteWrite.url` for the corresponding `-remoteWrite.streamAggr.config`
- `path` - path to the corresponding streaming aggregation config file
- `position` - the position of the aggregation rule in the corresponding streaming aggregation config file
- FEATURE: [streaming aggregation](https://docs.victoriametrics.com/stream-aggregation/): prevent having duplicated aggregation function as `outputs` in one [aggregation config](https://docs.victoriametrics.com/stream-aggregation/#stream-aggregation-config). It also prevents using `outputs: ["quantiles(0.5)", "quantiles(0.9)"]` instead of `outputs: ["quantiles(0.5, 0.9)"]`, as the former has higher computation cost for producing the same result.
- FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent/) and [Single-node VictoriaMetrics](https://docs.victoriametrics.com/): add `-graphite.sanitizeMetricName` command-line flag for sanitizing metrics ingested via [Graphite protocol](https://docs.victoriametrics.com/#how-to-send-data-from-graphite-compatible-agents-such-as-statsd). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6077).
- FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent/): [`yandexcloud_sd_configs`](https://docs.victoriametrics.com/sd_configs/#yandexcloud_sd_configs): add support for obtaining IAM token in [GCE format](https://yandex.cloud/en-ru/docs/compute/operations/vm-connect/auth-inside-vm#auth-inside-vm) additionally to the [deprecated Amazon EC2 IMDSv1 format](https://yandex.cloud/en/docs/security/standard/authentication#aws-token). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5513).
- FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert/): make `-replay.timeTo` optional in [replay mode](https://docs.victoriametrics.com/vmalert/#rules-backfilling). When omitted, the current timestamp will be used. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6492).
- FEATURE: [vmauth](https://docs.victoriametrics.com/vmauth/): reduce CPU usage when proxying data ingestion requests.
- FEATURE: [vmauth](https://docs.victoriametrics.com/vmauth/): allow disabling request body caching with `-maxRequestBodySizeToRetry=0`. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6445). Thanks to [@​shichanglin5](https://github.com/shichanglin5) for [the pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6533).
- FEATURE: [vmauth](https://docs.victoriametrics.com/vmauth/): allow overriding `Host` header with backend host before sending the request to the configured backend. See [these docs](https://docs.victoriametrics.com/vmauth/#modifying-http-headers) and [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6453).
- FEATURE: [VictoriaMetrics cluster](https://docs.victoriametrics.com/cluster-victoriametrics/): do not retry RPC calls to vmstorage nodes if [complexity limits](https://docs.victoriametrics.com/#resource-usage-limits) were exceeded.
- FEATURE: [vmbackup](https://docs.victoriametrics.com/vmbackup/) and [vmrestore](https://docs.victoriametrics.com/vmrestore/): add support for [Azure Managed Identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) and default credentials lookup. See [these docs](https://docs.victoriametrics.com/vmbackup/#providing-credentials-via-env-variables) and [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5984) for the details. Thanks to [@​justinrush](https://github.com/justinrush) for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6518).
- FEATURE: [vmbackup](https://docs.victoriametrics.com/vmbackup/) and [vmrestore](https://docs.victoriametrics.com/vmbackup/): allow overriding Azure storage domain when performing backups via `AZURE_STORAGE_DOMAIN` environment variable. See [these docs](https://docs.victoriametrics.com/vmbackup/#providing-credentials-via-env-variables) and [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5984). Thanks to [@​justinrush](https://github.com/justinrush) for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6518).
- FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): show compacted result in the JSON tab for query results. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6559).
- FEATURE: [dashboards](https://grafana.com/orgs/victoriametrics): add [Grafana dashboard](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/dashboards/vmauth.json) and [alerting rules](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/alerts-vmauth.yml) for [vmauth](https://docs.victoriametrics.com/vmauth/) dashboard. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4313) for details.
- FEATURE: [vmagent dashboard](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/dashboards/vmagent.json): `stream aggregation` section: add graphs based on newly exposed streaming aggregation metrics.
- BUGFIX: [MetricsQL](https://docs.victoriametrics.com/metricsql/): properly calculate [histogram_quantile](https://docs.victoriametrics.com/metricsql/#histogram_quantile) over Prometheus buckets with inconsistent values. See [this comment](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4580#issuecomment-2186659102) and [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6547). Updates [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2819).
- BUGFIX: [vmagent](https://docs.victoriametrics.com/vmagent/): fix panic when using multiple topics with the same name when [ingesting metrics from Kafka](https://docs.victoriametrics.com/vmagent/#kafka-integration). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6636) for the details.
- BUGFIX: [vmalert](https://docs.victoriametrics.com/vmalert/): fix incorrect redirection in WebUI of vmalert. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6603) and [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6620).
- BUGFIX: [vmgateway](https://docs.victoriametrics.com/vmgateway/): properly apply read and write based rate limits. See this [issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6148) for details.
- BUGFIX: [vmbackupmanager](https://docs.victoriametrics.com/vmbackupmanager/): fix `vm_backup_last_run_failed` metric not being properly initialized during startup. Previously, it could imply an error even if the backup have been completed successfully. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6550) for the details.
- BUGFIX: [vmui](https://docs.victoriametrics.com/#vmui): fix input cursor position reset in modal settings. See [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6530).
- BUGFIX: [docker-compose](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/deployment/docker#docker-compose-environment-for-victoriametrics): fix incorrect link to vmui from [VictoriaMetrics plugin in Grafana](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/deployment/docker#grafana).
This release also includes changes from [v1.102.0-rc1](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.102.0-rc1) and [v1.102.0-rc2](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.102.0-rc2) releases.
See all the changes at the [CHANGELOG](https://docs.victoriametrics.com/changelog/).
##### How to run VictoriaMetrics
Unpack the `victoria-metrics-*.tar.gz` archive and read [these docs](https://docs.victoriametrics.com/#operation).
`vmutils-*.tag.gz` archive contains the following tools:
- [vmagent](https://docs.victoriametrics.com/vmagent/)
- [vmalert](https://docs.victoriametrics.com/vmalert/)
- [vmalert-tool](https://docs.victoriametrics.com/vmalert-tool/)
- [vmauth](https://docs.victoriametrics.com/vmauth/)
- [vmbackup](https://docs.victoriametrics.com/vmbackup/)
- [vmrestore](https://docs.victoriametrics.com/vmrestore/)
- [vmctl](https://docs.victoriametrics.com/vmctl/)
`vmutils-*-enterprise.tar.gz` archive contains the following additional [enterprise tools](https://docs.victoriametrics.com/enterprise/):
- [vmbackupmanager](https://docs.victoriametrics.com/vmbackupmanager/)
- [vmgateway](https://docs.victoriametrics.com/vmgateway/)
The corresponding docker images are available [here](https://hub.docker.com/r/victoriametrics/).
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.101.0->v1.102.0Release Notes
VictoriaMetrics/VictoriaMetrics (victoriametrics/vmagent)
v1.102.0Compare Source
Released at 2024-07-17
Update note 1: support for snap packages was removed due to lack of interest from community. See this pull request for details. Please read about supported package types here.
Update note 2: stream aggregation config now prevents setting multiple identical outputs. For example,
outputs: [total, total]will fail the validation phase. In addition,outputs: ["quantiles(0.5)", "quantiles(0.9)"]will fail the validation as well - useoutputs: ["quantiles(0.5, 0.9)"]instead.SECURITY: upgrade Go builder from Go1.22.4 to Go1.22.5. See the list of issues addressed in Go1.22.5.
SECURITY: upgrade base docker image (Alpine) from 3.20.0 to 3.20.1. See alpine 3.20.1 release notes.
FEATURE: streaming aggregation: expose the following metrics at
/metricspage of vmagent and single-node VictoriaMetrics:vm_streamaggr_matched_samples_total- the number of input samples matched by the corresponding aggregation rulevm_streamaggr_output_samples_total- the number of output samples produced by the corresponding aggregation rulevm_streamaggr_samples_lag_seconds- histogram with the lag between the current time and the timestamp seen in the aggregated input samplesFEATURE: steaming aggregation: add new labels to
vm_streamaggr_*metrics:name- the name of the streaming aggregation rule, which can be configured vianameoption - see these docs.url--remoteWrite.urlfor the corresponding-remoteWrite.streamAggr.configpath- path to the corresponding streaming aggregation config fileposition- the position of the aggregation rule in the corresponding streaming aggregation config fileFEATURE: streaming aggregation: prevent having duplicated aggregation function as
outputsin one aggregation config. It also prevents usingoutputs: ["quantiles(0.5)", "quantiles(0.9)"]instead ofoutputs: ["quantiles(0.5, 0.9)"], as the former has higher computation cost for producing the same result.FEATURE: vmagent and Single-node VictoriaMetrics: add
-graphite.sanitizeMetricNamecommand-line flag for sanitizing metrics ingested via Graphite protocol. See this issue.FEATURE: vmagent:
yandexcloud_sd_configs: add support for obtaining IAM token in GCE format additionally to the deprecated Amazon EC2 IMDSv1 format. See this issue.FEATURE: vmalert: make
-replay.timeTooptional in replay mode. When omitted, the current timestamp will be used. See this issue.FEATURE: vmauth: reduce CPU usage when proxying data ingestion requests.
FEATURE: vmauth: allow disabling request body caching with
-maxRequestBodySizeToRetry=0. See this issue. Thanks to @shichanglin5 for the pull request.FEATURE: vmauth: allow overriding
Hostheader with backend host before sending the request to the configured backend. See these docs and this issue.FEATURE: VictoriaMetrics cluster: do not retry RPC calls to vmstorage nodes if complexity limits were exceeded.
FEATURE: vmbackup and vmrestore: add support for Azure Managed Identity and default credentials lookup. See these docs and this issue for the details. Thanks to @justinrush for the pull request.
FEATURE: vmbackup and vmrestore: allow overriding Azure storage domain when performing backups via
AZURE_STORAGE_DOMAINenvironment variable. See these docs and this issue. Thanks to @justinrush for the pull request.FEATURE: vmui: show compacted result in the JSON tab for query results. See this issue.
FEATURE: dashboards: add Grafana dashboard and alerting rules for vmauth dashboard. See this issue for details.
FEATURE: vmagent dashboard:
stream aggregationsection: add graphs based on newly exposed streaming aggregation metrics.BUGFIX: MetricsQL: properly calculate histogram_quantile over Prometheus buckets with inconsistent values. See this comment and this pull request. Updates this issue.
BUGFIX: vmagent: fix panic when using multiple topics with the same name when ingesting metrics from Kafka. See this issue for the details.
BUGFIX: vmalert: fix incorrect redirection in WebUI of vmalert. See this issue and this pull request.
BUGFIX: vmgateway: properly apply read and write based rate limits. See this issue for details.
BUGFIX: vmbackupmanager: fix
vm_backup_last_run_failedmetric not being properly initialized during startup. Previously, it could imply an error even if the backup have been completed successfully. See this issue for the details.BUGFIX: vmui: fix input cursor position reset in modal settings. See this pull request.
BUGFIX: docker-compose: fix incorrect link to vmui from VictoriaMetrics plugin in Grafana.
This release also includes changes from v1.102.0-rc1 and v1.102.0-rc2 releases.
See all the changes at the CHANGELOG.
How to run VictoriaMetrics
Unpack the
victoria-metrics-*.tar.gzarchive and read these docs.vmutils-*.tag.gzarchive contains the following tools:vmutils-*-enterprise.tar.gzarchive contains the following additional enterprise tools:The corresponding docker images are 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.