0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-02-05 05:59:43 +00:00
alerta_alerta/examples/plugins
Nick Satterly cd0dfbe088
Type annotate plugins and webhooks (#700)
* Type annotate plugins (part 1)

* Type annotate webhooks (part 2)
2018-10-10 19:52:55 +02:00
..
routing Type annotate plugins and webhooks (#700) 2018-10-10 19:52:55 +02:00
transient Replace double-quotes with single-quotes (#650) 2018-09-16 00:20:53 +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.