def send_event(self, event_type, category=None, dimensions=None,<EOL>properties=None, timestamp=None):
if category and category not in SUPPORTED_EVENT_CATEGORIES:<EOL><INDENT>raise ValueError('<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT:U+002CU+0020>'.join(SUPPORTED_EVENT_CATEGORIES) + '<STR_LIT:}>')<EOL><DEDENT>data = {<EOL>'<STR_LIT>': event_type,<EOL>'<STR_LIT>': category,<EOL>'<STR_LIT>': dimensions or {},<EOL>'<STR_LIT>': properties or {},<EOL>'<STR_LIT>': int(timestamp) if timestamp else None,<EOL>}<EOL>_logger.debug('<STR_LIT>', data)<EOL>self._add_extra_dimensions(data)<EOL>return self._send_event(event_data=data, url='<STR_LIT>'.format(<EOL>self._endpoint, self._INGEST_ENDPOINT_EVENT_SUFFIX),<EOL>session=self._session)<EOL>
Send an event to SignalFx.

        Args:
            event_type (string): the event type (name of the event time
                series).
            category (string): the category of the event.
            dimensions (dict): a map of event dimensions.
            properties (dict): a map of extra properties on that event.
            timestamp (float): timestamp when the event has occured