예제 #1
0
파일: event.py 프로젝트: getsentry/sentry
    def get_interfaces(self):
        was_renormalized = _should_skip_to_python(self.event_id)

        metrics.incr('event.get_interfaces',
                     tags={'rust_renormalized': was_renormalized})

        return CanonicalKeyView(get_interfaces(self.data, rust_renormalized=was_renormalized))
예제 #2
0
파일: event.py 프로젝트: unnKoel/sentry
    def get_interfaces(self):
        was_renormalized = _should_skip_to_python(self.event_id)

        metrics.incr('event.get_interfaces',
                     tags={'rust_renormalized': was_renormalized})

        return CanonicalKeyView(
            get_interfaces(self.data, rust_renormalized=was_renormalized))
예제 #3
0
def get_preprocess_hash_inputs_with_reason(data):
    interfaces = get_interfaces(data)
    platform = data['platform']
    for interface in six.itervalues(interfaces):
        kwargs = {'is_processed_data': False}
        if isinstance(interface, SingleException):
            kwargs['platform'] = platform
        elif isinstance(interface, (ExceptionInterface, Stacktrace, Frame)):
            # normalize_in_app hasn't run on the data, so
            # `in_app` isn't necessarily accurate
            kwargs.update({
                'platform': platform,
                'system_frames': True,
            })
        result = interface.get_hash(**kwargs)
        if result:
            return (interface.get_path(), [result])

    raise UnableToGenerateHash
예제 #4
0
    def get_interfaces(self):
        was_renormalized = _should_skip_to_python(self.event_id)

        return CanonicalKeyView(get_interfaces(self.data, rust_renormalized=was_renormalized))
예제 #5
0
 def get_interfaces(self):
     return CanonicalKeyView(get_interfaces(self.data))
예제 #6
0
 def get_interfaces(self):
     return get_interfaces(self.data)
예제 #7
0
 def get_interfaces(self):
     return get_interfaces(self.data)
예제 #8
0
파일: event.py 프로젝트: Kayle009/sentry
 def get_interfaces(self):
     return CanonicalKeyView(get_interfaces(self.data))