v2.11.1
Major Changes
-
Add clean up moira patterns metrics key in cli command
--cleanup-pattern-metrics
.
Be careful using this command, it can save checker resources a lot, however it changes the default behavior oftransformNull
in Moira,
in fact the moment you use this command the function stops working for metrics that did not come to Moira more thanmetrics_ttl
.
If you do a nightly cleanup in cronjob, the behavior of the function becomes similar in Graphite.
#1011
#1019 (by @almostinf) -
Add ability to read from slaves in redis cluster.
Read more in the redis configuration of each service.
#1025 (by @Tetrergeru)
Minor Changes
-
Move batch forced save timeout to filter config.
Read more in filter docs.
#1014 (by @Tetrergeru) -
Add remove future metrics in cli with command
--cleanup-future-metrics
.
Also added discarding such metrics that are written further into the future than the current time plusdrop_metrics_ttl
.
#1012 (by @almostinf) -
Add ability for admins to create contacts and subscriptions for other users and teams.
#1024 (by @Tetrergeru) -
Add custom name field to contacts.
#1021 (by @almostinf) -
Add emoji support in Mattermost notifications.
Read more in notifier docs.
#1028 (by @kissken) -
Forbidden create unresolved contact type.
#1030
#1030 (by @almostinf) -
Add user authorization info to
/api/user/settings
.
#1034 (by @Tetrergeru) -
Add a cli command
--remove-unused-triggers-with-ttl
to remove unsubscribed triggers
that have not been modified within the time passed.
#1033 (by @kissken) -
Remove benchmarks from CI.
#1032 (by @almostinf) -
Improve perfomance of
restoreMetricStringByNameAndLabels
function.
It reduced allocations by more than a factor of two in filters.
#1039
#1045 (by @almostinf) -
Add cache for pattern matching handler in filters.
This increased the speed of building the tree by ~20%.
Read more in filter docs.
#1038 (by @almostinf)
Fixes
-
Fix workers lock key in discord and telegram.
#1027 (by @almostinf) -
Increase local
stop_checking_interval
.
#1041 (by @almostinf) -
Don't rewrite error while compare trigger states.
#1035 (by @kissken)
Dependencies
-
Update golang image in docker to 1.21.
#1026 (by @Tetrergeru) -
Upgrade Mattermost client and improve the look of the notifications in Mattermost.
#1023 (by @kissken)