Skip to content

v2.11.1

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jul 10:39
973caa5

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 of transformNull in Moira,
    in fact the moment you use this command the function stops working for metrics that did not come to Moira more than metrics_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 plus drop_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

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)