original_docstring: Emit an event to the Datadog Event Stream.
docstring: Emit an event to the Datadog Event Stream.
docstring_tokens: Emit an event to the Datadog Event Stream .
code: def _send_event(self, title, text, tags, type, aggregation_key, severity='info'):
          """Emit an event to the Datadog Event Stream."""
          event_dict = {
              'timestamp': int(time.time()),
              'source_type_name': self.SOURCE_TYPE_NAME,
              'msg_title': title,
              'event_type': type,
              'alert_type': severity,
              'msg_text': text,
              'tags': tags,
              'aggregation_key': aggregation_key,
          }
          self.event(event_dict)
code_tokens: def _send_event ( self , title , text , tags , type , aggregation_key , severity = 'info' ) : event_dict = { 'timestamp' : int ( time . time ( ) ) , 'source_type_name' : self . SOURCE_TYPE_NAME , 'msg_title' : title , 'event_type' : type , 'alert_type' : severity , 'msg_text' : text , 'tags' : tags , 'aggregation_key' : aggregation_key , } self . event ( event_dict )
short_docstring: Emit an event to the Datadog Event Stream.
short_docstring_tokens: Emit an event to the Datadog Event Stream .
comment: """Emit an event to the Datadog Event Stream."""