Releases: moira-alert/moira
v2.14.1
Deprecation warning
Please note, that field team
in contacts dto is deprecated and will be removed in the next version. Please use field team_id
instead.
- fix: Unify contact dto between /team/settings and /contact (#1138) by @Tetrergeru
Features
- feat(api): trigger noisiness (#1131) by @AleksandrMatsko
- feat: validate trigger patterns (#1136) by @AleksandrMatsko
- feat: take pager TTL from config instead of hardcoded const (#1139) by @HeavyPunk
Fixes and chores
- refactor: notifier metric alive count (#Minor1130) by @AleksandrMatsko
- chore: bump deps (#1132) by @AleksandrMatsko
- fix: checker handle source unavailable (#1134) by @AleksandrMatsko
- fix(api): fix swagger type for typeOfProblem (#1141) by @kissken
- fix(checker): change log to warning if remote unavailable (#1142) by @HeavyPunk
Full Changelog: v2.14.0...v2.14.1
v2.14.0
Major
-
Update cabonapi to v0.17.0 (#1074) by @Tetrergeru
Please note that triggers with invalid alias expressions (e.g. alias by nonexisting nodes or tags) will break after this update
-
Add remote graphite retries (#1085) by @AleksandrMatsko
Please note that retries must be set in configs for each graphite remote, otherwise servises won't start
-
Add team validation (#1123) by @AleksandrMatsko
Please note that database migration is required due to this feature
Features
- Add contact template validation (#1100) by @AleksandrMatsko
- Ann limit for trigger name length (#1080) by @AleksandrMatsko
- Optimize hot paths in filter (#1114, #1115) by @Tetrergeru
- Update sprig (#1125) by @kissken
- Add api to get all teams (#1126) by @AleksandrMatsko
- feat: Add retry backoffs and max redirects to database config (#1068, #1128) by @Tetrergeru
- Add celebration mode (#1129) by @kissken
- Add remote graphite trigger validation (#1127) by @AleksandrMatsko
Fixes
- Add validation for prometheus target (#1077) by @AleksandrMatsko
- Trigger schedule fill (#1116) by @AleksandrMatsko
New Contributors
- @HeavyPunk made their first contribution in #1113
Full Changelog: v2.13.0...v2.14.0
v2.12.1
Fixes
- Fix redis sentinel
#1105 (by @almostinf)
v2.11.2
Fixes
- Fix redis sentinel
#1104 (by @almostinf)
v2.10.1
Fixes
- Fix redis sentinel
#1102 (by @almostinf)
v2.9.2
Fixes
- Fix redis sentinel
#1101 (by @almostinf)
Dependencies
- Up Ruby version to 3.3
#1101 (by @almostinf)
v2.13.0
Major Changes
- Add trigger description to telegram alerts.
#1075 (by @AleksandrMatsko) - Fix contact notification history.
You need to update with the commandcli --update --from-version '2.12'
.
#1051 (by @AleksandrMatsko)
Minor Changes
- Fix support custom retention for tagged metrics.
#950 (by @kissken) - Add query params to event history.
#1072 (by @AleksandrMatsko) - Fixed sending of notifications with schedule between different days.
#1069 (by @almostinf) - Add ability to move contacts and subscriptions between users and teams.
#1067 (by @almostinf) - Fix skip first metric value.
#1007 (by @almostinf) - Fix counting of trigger events.
#1076 (by @AleksandrMatsko) - Fix redis sentinel.
#1090 (by @almostinf)
Dependencies
- Update go chart version.
#1070 (by @almostinf) - Update Go to 1.22.
#1062 (by @kissken) - Update actions/download-artifact from 3 to 4.1.7 in /.github/workflows.
#1079 (by @dependabot)
Full Changelog: v2.12.0...v2.13.0
v2.8.5
Fixes
- Fix redis sentinel
#1093 (by @almostinf)
Dependencies
- Up Ruby version to 3.3
#1094 (by @almostinf)
v2.12.0
Major Changes
- Add support group topics in Telegram sender.
The instruction for adding such contacts are the same as in group chats in api config.
You need to update with the commandcli --update --from-version '2.11'
.
#1044
#1022 (by @Gaspero & @almostinf)
Minor Changes
-
Add filling with default values of
ttl_state
,ttl
andsched
fields in the trigger dto.
#1047 (by @AleksandrMatsko) -
Add validating of
alone_metrics
field in trigger dto.
#1049 (by @AleksandrMatsko) -
Accelerate handling of non-strict asterisk tags.
#1050 (by @almostinf) -
Added more info (
clusted_id
andsource
) to trigger check failed logs.
#1052 (by @kissken) -
Make configurable rescheduling delay in notifier.
Read more in notifier docs.
#1046 (by @AleksandrMatsko) -
Replaced old notifiers logs about plotting with more informative logs with sending notifications.
#1054
#1057 (by @AleksandrMatsko)
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)