Created
June 19, 2023 07:48
-
-
Save sentrivana/c2b1772876b706963d7b50c6da2a5916 to your computer and use it in GitHub Desktop.
With DSN, with tracing, with errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Top 25 lines | |
#1: sentry_sdk/tracing.py:115: 33.0 KiB | |
return object.__new__(cls) | |
#2: sentry_sdk/hub.py:472: 20.5 KiB | |
return span.start_child(**kwargs) | |
#3: sentry_sdk/scope.py:446: 17.8 KiB | |
self._breadcrumbs = deque() # type: Deque[Breadcrumb] | |
#4: sentry_sdk/integrations/django/middleware.py:89: 17.6 KiB | |
description = "{}.{}".format(description, function_basename) | |
#5: sentry_sdk/integrations/django/middleware.py:126: 17.0 KiB | |
class SentryWrappingMiddleware( | |
#6: sentry_sdk/utils.py:1256: 16.2 KiB | |
func_qualname = func.__module__ + "." + func_qualname | |
#7: sentry_sdk/integrations/django/asgi.py:110: 16.0 KiB | |
class SentryASGIMixin: | |
#8: sentry_sdk/tracing.py:134: 12.5 KiB | |
self.span_id = span_id or uuid.uuid4().hex[16:] | |
#9: sentry_sdk/tracing.py:143: 12.1 KiB | |
self._data = {} # type: Dict[str, Any] | |
#10: sentry_sdk/tracing.py:142: 12.1 KiB | |
self._tags = {} # type: Dict[str, str] | |
#11: sentry_sdk/integrations/django/views.py:84: 10.2 KiB | |
return callback(request, *args, **kwargs) | |
#12: sentry_sdk/utils.py:451: 9.4 KiB | |
if frame.f_locals[flag_name]: | |
#13: sentry_sdk/scope.py:648: 9.0 KiB | |
rv = object.__new__(self.__class__) # type: Scope | |
#14: sentry_sdk/tracing.py:439: 7.6 KiB | |
self.timestamp = self.start_timestamp + timedelta( | |
#15: sentry_sdk/tracing.py:145: 7.5 KiB | |
self.start_timestamp = start_timestamp or datetime.utcnow() | |
#16: sentry_sdk/_werkzeug.py:63: 6.8 KiB | |
yield key[5:].replace("_", "-").title(), value | |
#17: sentry_sdk/integrations/django/signals_handlers.py:66: 6.6 KiB | |
return receiver(*args, **kwargs) | |
#18: sentry_sdk/utils.py:87: 6.6 KiB | |
return json.dumps(data, allow_nan=False, separators=(",", ":")).encode("utf-8") | |
#19: sentry_sdk/integrations/_wsgi_common.py:166: 6.4 KiB | |
return { | |
#20: sentry_sdk/utils.py:1534: 6.0 KiB | |
return time.perf_counter_ns() | |
#21: sentry_sdk/hub.py:247: 5.9 KiB | |
self._stack = [(client, scope)] | |
#22: sentry_sdk/integrations/wsgi.py:256: 5.8 KiB | |
def event_processor(event, hint): | |
#23: sentry_sdk/integrations/wsgi.py:92: 5.6 KiB | |
_make_wsgi_event_processor( | |
#24: sentry_sdk/integrations/threading.py:64: 5.1 KiB | |
def run(*a, **kw): | |
#25: sentry_sdk/hub.py:523: 5.1 KiB | |
profile = Profile(transaction, hub=self) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment