From 3eef1ddc7d454004ee355da2490202e4befb1947 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 16 Mar 2022 13:05:23 +0200 Subject: [PATCH 1/2] lib/storage: trashing -> thrashing typo in docs This is a follow-up for 918ed5cb328bac8a287417811cebd681f93d30fa --- lib/storage/storage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/storage/storage.go b/lib/storage/storage.go index 6189ebfea..8c1ad1229 100644 --- a/lib/storage/storage.go +++ b/lib/storage/storage.go @@ -1076,7 +1076,7 @@ func (s *Storage) searchTSIDs(tfss []*TagFilters, tr TimeRange, maxMetrics int, // on idb level. // Limit the number of concurrent goroutines that may search TSIDS in the storage. - // This should prevent from out of memory errors and CPU trashing when too many + // This should prevent from out of memory errors and CPU thrashing when too many // goroutines call searchTSIDs. select { case searchTSIDsConcurrencyCh <- struct{}{}: @@ -1550,7 +1550,7 @@ func (s *Storage) AddRows(mrs []MetricRow, precisionBits uint8) error { } // Limit the number of concurrent goroutines that may add rows to the storage. - // This should prevent from out of memory errors and CPU trashing when too many + // This should prevent from out of memory errors and CPU thrashing when too many // goroutines call AddRows. select { case addRowsConcurrencyCh <- struct{}{}: From 54ec080bbcecb7feeecb29a93b9a846dad3369b4 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 16 Mar 2022 13:21:57 +0200 Subject: [PATCH 2/2] docs/CHANGELOG.md: document changes from fb6eab03a2881475235d09b5e4cf90e24afcb89a --- docs/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 998eb067b..9348dbb2f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -16,6 +16,8 @@ The following tip changes can be tested by building VictoriaMetrics components f * FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert.html): add ability to use OAuth2 for `-datasource.url`, `-notifier.url` and `-remoteRead.url`. See the corresponding command-line flags containing `oauth2` in their names [here](https://docs.victoriametrics.com/vmalert.html#flags). * FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert.html): add ability to use Bearer Token for `-notifier.url` via `-notifier.bearerToken` and `-notifier.bearerTokenFile` command-line flags. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1824). +* FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert.html): add `sortByLabel` template function in order to be consistent with Prometheus. See [these docs](https://prometheus.io/docs/prometheus/latest/configuration/template_reference/#functions) for more details. +* FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert.html): improve compliance with [Prometheus Alert Generator Specification](https://github.com/prometheus/compliance/blob/main/alert_generator/specification.md). ## [v1.74.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.74.0)