(self, title, text, tags, event_type, aggregation_key, severity='info')
Emit an event to the Datadog Event Stream.
Emit an event to the Datadog Event Stream.
Emit an event to the Datadog Event Stream .
def send_event(self, title, text, tags, event_type, aggregation_key, severity='info'):
        """Emit an event to the Datadog Event Stream."""
        event_dict = {
            'timestamp': int(time()),
            'msg_title': title,
            'event_type': event_type,
            'alert_type': severity,
            'msg_text': text,
            'tags': tags,
            'aggregation_key': aggregation_key,
        }
        self.event(event_dict)
def send_event ( self , title , text , tags , event_type , aggregation_key , severity = 'info' ) : event_dict = { 'timestamp' : int ( time ( ) ) , 'msg_title' : title , 'event_type' : event_type , 'alert_type' : severity , 'msg_text' : text , 'tags' : tags , 'aggregation_key' : aggregation_key , } self . event ( event_dict )