dragonfly.implementations.slack_interface module¶
Some template vars¶
Members: SlackInterface Functions: Classes:
Utility app for posting messages to slack
Summary¶
-
class
dragonfly.implementations.slack_interface.SlackInterface(prime_speakers=None, speaking_time=60, time_between_warnings=600, number_sentence_per_speaking_time=30, mapping={'critical': 'p8_alerts'}, **kwargs)¶ Bases:
dripline.core.gogol.GogolA generic service that will repeat AMQP alerts to messages on slack.
prime_speakers: define which users are allowed to speak as much as they want and we are not allowed to stop them from it speaking_time: duration while it is allowed for a service to say things before being muted number_sentence_per_speaking_time: number of messages allowed during speaking_time before being muted time_between_warnings: time between sending warnings
-
on_alert_message(channel, method, properties, message)¶
-
End of modules condition
Data:
End of data condition