Releases: moira-alert/moira
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)
v2.11.0
Incompatible changes
- To realize the feature with multiple senders of the same type we have changed the configuration of senders in notifier config and web api config.
- It is necessary to replace the
contacts
field in the web config api withcontacts_template
. - It is also necessary to replace field
type
withsender_type
in notifier config and add fieldcontact_type
, which will refer totype
in web configcontacts_template
.
Major Changes
-
Add ability to scale senders with same type.
Read more in notifier docs.
#994 (by @almostinf) -
Add ability to use template webhook body and custom headers.
Read more in webhook docs.
#995 (by @almostinf)
Minor Changes
-
Add contacts logo uri to web config.
Read more in api docs.
#1005 (by @almostinf) -
Update go to 1.21.
#1008 (by @Tetrergeru)
Fixes
- Fix filter connection, heartbeat and create matching handler logs level.
#1010 (by @almostinf)
v2.10.0
Major Changes
-
Multiple clusters per trigger source. !! Config changes required in checker, notifier and api, see the docs.
#981 (by @Tetrergeru) -
Add admin permissions via list of admins in api. Admins can be configured via config
#996 #1001 (by @Tetrergeru) -
Fix sending notifications on muted and deleted triggers and muted metrics. Read more in notifier docs.
#966 (by @almostinf)
Minor Changes
-
Make triggers with seriesByTag function require at least one argument with a strict equality
#988 (by @mchrome) -
Add metrics for number of contacts
#1002 (by @almostinf) -
Add remove subscriptions command
#979 (by @almostinf) -
Add sentry dsn in web config
#973 (by @almostinf) -
Add platform field to get sentry handler
#982 (by @almostinf) -
Log triggers with critical time of check
#987 (by @Tetrergeru) -
Add api route for tags creation
#991 (by @almostinf) -
Add api for getting a single subscription
#998 (by @Tetrergeru)
Fixes
-
Fix fetching notifications by batch
#974 (by @almostinf) -
Fix nodata when toggling alone metrics checkbox
#983 (by @almostinf) -
Fix panic with alone and regular metrics
#984 (by @almostinf) -
Increase sleep and attempts count for lock
#985 #986 (by @kissken)
Dependencies
-
Update blackfriday slack to 0.1.2
#978 (by @Tetrergeru) -
Bump golang.org/x/crypto from 0.14.0 to 0.17.0
#977 (by @dependabot) -
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
#999 (by @dependabot)