Skip to content

Releases: moira-alert/python-moira-client

Moira Client 2.4

22 Dec 21:24
276ef8d
Compare
Choose a tag to compare
  • Python Moira client is now MIT licensed
  • Changed default timezone offset to UTC
  • Added dictionary attribute with plotting settings to subscription and corresponding methods enable_plotting(theme) and disable_plotting()
  • Added boolean attribute mute_new_metrics to trigger
  • Optimized tag stats methods (stats, fetch_assigned_triggers, fetch_assigned_triggers_by_tags) to return trigger id's instead of triggers to speed up method execution time

Moira Client 2.3.5

24 Sep 14:39
ecc1183
Compare
Choose a tag to compare
  • Fixed url to update existing subscription

Moira Client 2.3.4

20 Aug 08:35
5e3b596
Compare
Choose a tag to compare
  • Added health methods (get_notifier_state, disable_notifications, enable_notifications) to potect end user from false NODATA notifications. See more details: https://moira.readthedocs.io/en/latest/user_guide/selfstate.html
  • Added event.delete_all() and notification.delete_all() to remove unexpectedly generated trigger events and notifications in cases when Moira Notifier is managed to stop sending notifications.
  • Added subscription.test(subscription_id) to trigger test notification.
  • Added boolean attributes to subscription (ignore_warnings, ignore_recoverings). Corresponding tags "ERROR", "DEGRADATION" and "HIGH DEGRADATION" are deprecated.
  • Added boolean "is_remote" attribute to trigger to provide ability to use external Graphite storage instead of Redis.
  • Added string "trigger_type" attribute to trigger. Options are: rising, falling, expression. Single thresholds (only warn_value or only error_value) may be used if "trigger_type" value is defined.

Moira Client 2.1.1

05 Mar 18:13
fb3add4
Compare
Choose a tag to compare
  • Allow passing warn_value and error_value for trigger as None when expression is used
  • Fixed case with subscription's schedule with no days selected

Moira Client 2.0

06 Dec 17:49
b9cd1c6
Compare
Choose a tag to compare
  • Added custom headers support
  • Added trigger creation by custom id
  • Removed tags extra data addition feature
  • Changed ttl type from string to int
  • Optimized fetch_by_id for large production solutions