Skip to content

Instantly share code, notes, and snippets.

@sentrivana
Created June 16, 2023 13:01
Show Gist options
  • Save sentrivana/5919348182c909cc9dcafab9d6a0387c to your computer and use it in GitHub Desktop.
Save sentrivana/5919348182c909cc9dcafab9d6a0387c to your computer and use it in GitHub Desktop.
No DSN, no tracing, no errors
Top 25 lines
#1: sentry_sdk/integrations/django/middleware.py:175: 36.5 KiB
return f(*args, **kwargs)
#2: sentry_sdk/tracing.py:115: 31.6 KiB
return object.__new__(cls)
#3: sentry_sdk/hub.py:472: 31.3 KiB
return span.start_child(**kwargs)
#4: sentry_sdk/scope.py:446: 17.1 KiB
self._breadcrumbs = deque() # type: Deque[Breadcrumb]
#5: sentry_sdk/integrations/django/middleware.py:126: 16.8 KiB
class SentryWrappingMiddleware(
#6: sentry_sdk/integrations/django/middleware.py:89: 16.8 KiB
description = "{}.{}".format(description, function_basename)
#7: sentry_sdk/integrations/django/asgi.py:110: 15.5 KiB
class SentryASGIMixin:
#8: sentry_sdk/utils.py:1256: 15.4 KiB
func_qualname = func.__module__ + "." + func_qualname
#9: sentry_sdk/integrations/django/signals_handlers.py:66: 13.7 KiB
return receiver(*args, **kwargs)
#10: sentry_sdk/tracing.py:143: 11.9 KiB
self._data = {} # type: Dict[str, Any]
#11: sentry_sdk/tracing.py:142: 11.9 KiB
self._tags = {} # type: Dict[str, str]
#12: sentry_sdk/tracing.py:134: 11.7 KiB
self.span_id = span_id or uuid.uuid4().hex[16:]
#13: sentry_sdk/hub.py:474: 11.5 KiB
return Span(**kwargs)
#14: sentry_sdk/scope.py:648: 8.3 KiB
rv = object.__new__(self.__class__) # type: Scope
#15: sentry_sdk/tracing.py:145: 7.2 KiB
self.start_timestamp = start_timestamp or datetime.utcnow()
#16: sentry_sdk/tracing.py:439: 6.8 KiB
self.timestamp = self.start_timestamp + timedelta(
#17: sentry_sdk/_werkzeug.py:63: 6.5 KiB
yield key[5:].replace("_", "-").title(), value
#18: sentry_sdk/integrations/django/__init__.py:148: 6.5 KiB
return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
#19: sentry_sdk/integrations/wsgi.py:108: 6.3 KiB
rv = self.app(
#20: sentry_sdk/integrations/_wsgi_common.py:166: 6.2 KiB
return {
#21: sentry_sdk/utils.py:1534: 5.8 KiB
return time.perf_counter_ns()
#22: sentry_sdk/hub.py:247: 5.6 KiB
self._stack = [(client, scope)]
#23: sentry_sdk/integrations/wsgi.py:256: 5.5 KiB
def event_processor(event, hint):
#24: sentry_sdk/integrations/wsgi.py:92: 5.4 KiB
_make_wsgi_event_processor(
#25: sentry_sdk/integrations/threading.py:70: 5.3 KiB
return old_run_func(self, *a, **kw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment