コード例 #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
ファイル: preprocess_hashes.py プロジェクト: xsbchen/sentry
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
ファイル: event.py プロジェクト: hahaahaha111/sentry
    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
ファイル: event.py プロジェクト: NuttasitBoonwat/sentry
 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))