0
0
mirror of https://github.com/alerta/alerta.git synced 2024-12-04 12:57:32 +00:00
alerta_alerta/examples/plugins
Nick Satterly 1538a97717
Add forwarder plugin for federated Alerta (#1161)
* Add alerts and action forwarder plugin for federated setups

* Add tests for forwarder plugin
2020-04-30 21:26:49 +02:00
..
forwarder Add forwarder plugin for federated Alerta (#1161) 2020-04-30 21:26:49 +02:00
routing Add attributes field to heartbeat for use in hb alerts (#1128) 2020-01-25 13:03:35 +01:00
transient Push app config to plugin methods for per-alert config (#944) 2019-04-23 22:58:14 +02:00
README.md Whitespace fixes (#651) 2018-09-16 00:26:28 +02:00

Plugin Examples

Some example plugins that can be used as a starting point for custom development:

  • routing rules plugin that uses different notification paths for different customers. ie. PagerDuty for Tier 1 customers, Slack for Tier 2 and nothing for Tier 3 customers.

  • transient alert plugin based on the is_flapping() helper method will reject alerts that have repeatedly changed from an alert severity to normal within a short period of time. eg. more than twice in 2 minutes

See the alerta contrib repo for a comprehensive list of plugins that can be used as-is or as examples for your own environment.