diff --git a/.buildinfo b/.buildinfo index 68f889fc7d..a644e75fc6 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 59bcb521f2bfcf231bbd71b348f90fe5 +config: aeba9ada7d5e873395fb7b97237b6e3e tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.doctrees/api.doctree b/.doctrees/api.doctree index 6a283f4d5f..c9556babe2 100644 Binary files a/.doctrees/api.doctree and b/.doctrees/api.doctree differ diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 2562401b88..ac5e457bd9 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/_modules/index.html b/_modules/index.html index fe9f546079..527471ca58 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -4,7 +4,7 @@ - Overview: module code — sentry-python 1.25.1 documentation + Overview: module code — sentry-python 1.26.0 documentation diff --git a/_modules/sentry_sdk/api.html b/_modules/sentry_sdk/api.html index 6479f73da5..a92122f38c 100644 --- a/_modules/sentry_sdk/api.html +++ b/_modules/sentry_sdk/api.html @@ -4,7 +4,7 @@ - sentry_sdk.api — sentry-python 1.25.1 documentation + sentry_sdk.api — sentry-python 1.26.0 documentation @@ -31,11 +31,14 @@

Source code for sentry_sdk.api

 import inspect
 
+from sentry_sdk._types import TYPE_CHECKING
 from sentry_sdk.hub import Hub
 from sentry_sdk.scope import Scope
-
-from sentry_sdk._types import TYPE_CHECKING
-from sentry_sdk.tracing import NoOpSpan
+from sentry_sdk.tracing import NoOpSpan, Transaction
+from sentry_sdk.tracing_utils import (
+    has_tracing_enabled,
+    normalize_incoming_data,
+)
 
 if TYPE_CHECKING:
     from typing import Any
@@ -55,7 +58,7 @@ 

Source code for sentry_sdk.api

         ExcInfo,
         MeasurementUnit,
     )
-    from sentry_sdk.tracing import Span, Transaction
+    from sentry_sdk.tracing import Span
 
     T = TypeVar("T")
     F = TypeVar("F", bound=Callable[..., Any])
@@ -85,6 +88,9 @@ 

Source code for sentry_sdk.api

     "set_level",
     "set_measurement",
     "get_current_span",
+    "get_traceparent",
+    "get_baggage",
+    "continue_trace",
 ]
 
 
@@ -272,6 +278,57 @@ 

Source code for sentry_sdk.api

 
     current_span = hub.scope.span
     return current_span
+ + +
[docs]def get_traceparent(): + # type: () -> Optional[str] + """ + Returns the traceparent either from the active span or from the scope. + """ + hub = Hub.current + if hub.client is not None: + if has_tracing_enabled(hub.client.options) and hub.scope.span is not None: + return hub.scope.span.to_traceparent() + + return hub.scope.get_traceparent()
+ + +
[docs]def get_baggage(): + # type: () -> Optional[str] + """ + Returns Baggage either from the active span or from the scope. + """ + hub = Hub.current + if ( + hub.client is not None + and has_tracing_enabled(hub.client.options) + and hub.scope.span is not None + ): + baggage = hub.scope.span.to_baggage() + else: + baggage = hub.scope.get_baggage() + + if baggage is not None: + return baggage.serialize() + + return None
+ + +
[docs]def continue_trace(environ_or_headers, op=None, name=None, source=None): + # type: (Dict[str, Any], Optional[str], Optional[str], Optional[str]) -> Transaction + """ + Sets the propagation context from environment or headers and returns a transaction. + """ + with Hub.current.configure_scope() as scope: + scope.generate_propagation_context(environ_or_headers) + + transaction = Transaction.continue_from_headers( + normalize_incoming_data(environ_or_headers), + op=op, + name=name, + source=source, + ) + return transaction
diff --git a/_modules/sentry_sdk/client.html b/_modules/sentry_sdk/client.html index dcb05dc185..49b33d0117 100644 --- a/_modules/sentry_sdk/client.html +++ b/_modules/sentry_sdk/client.html @@ -4,7 +4,7 @@ - sentry_sdk.client — sentry-python 1.25.1 documentation + sentry_sdk.client — sentry-python 1.26.0 documentation @@ -293,7 +293,7 @@

Source code for sentry_sdk.client

 
         if scope is not None:
             is_transaction = event.get("type") == "transaction"
-            event_ = scope.apply_to_event(event, hint)
+            event_ = scope.apply_to_event(event, hint, self.options)
 
             # one of the event/error processors returned None
             if event_ is None:
@@ -538,11 +538,8 @@ 

Source code for sentry_sdk.client

         is_checkin = event_opt.get("type") == "check_in"
         attachments = hint.get("attachments")
 
-        dynamic_sampling_context = (
-            event_opt.get("contexts", {})
-            .get("trace", {})
-            .pop("dynamic_sampling_context", {})
-        )
+        trace_context = event_opt.get("contexts", {}).get("trace") or {}
+        dynamic_sampling_context = trace_context.pop("dynamic_sampling_context", {})
 
         # If tracing is enabled all events should go to /envelope endpoint.
         # If no tracing is enabled only transactions, events with attachments, and checkins should go to the /envelope endpoint.
diff --git a/_modules/sentry_sdk/hub.html b/_modules/sentry_sdk/hub.html
index ee7fcfe9c2..ee42b20d86 100644
--- a/_modules/sentry_sdk/hub.html
+++ b/_modules/sentry_sdk/hub.html
@@ -4,7 +4,7 @@
   
     
     
-    sentry_sdk.hub — sentry-python 1.25.1 documentation
+    sentry_sdk.hub — sentry-python 1.26.0 documentation
     
     
     
@@ -42,6 +42,7 @@ 

Source code for sentry_sdk.hub

 from sentry_sdk.profiler import Profile
 from sentry_sdk.tracing import NoOpSpan, Span, Transaction
 from sentry_sdk.session import Session
+from sentry_sdk.tracing_utils import has_tracing_enabled
 from sentry_sdk.utils import (
     exc_info_from_error,
     event_from_exception,
@@ -353,14 +354,8 @@ 

Source code for sentry_sdk.hub

         top = self._stack[-1]
         self._stack[-1] = (new, top[1])
-
[docs] def capture_event( - self, - event, # type: Event - hint=None, # type: Optional[Hint] - scope=None, # type: Optional[Any] - **scope_args # type: Any - ): - # type: (...) -> Optional[str] +
[docs] def capture_event(self, event, hint=None, scope=None, **scope_args): + # type: (Event, Optional[Hint], Optional[Scope], Any) -> Optional[str] """Captures an event. Alias of :py:meth:`sentry_sdk.Client.capture_event`.""" client, top_scope = self._stack[-1] scope = _update_scope(top_scope, scope, scope_args) @@ -372,14 +367,8 @@

Source code for sentry_sdk.hub

             return rv
         return None
-
[docs] def capture_message( - self, - message, # type: str - level=None, # type: Optional[str] - scope=None, # type: Optional[Any] - **scope_args # type: Any - ): - # type: (...) -> Optional[str] +
[docs] def capture_message(self, message, level=None, scope=None, **scope_args): + # type: (str, Optional[str], Optional[Scope], Any) -> Optional[str] """Captures a message. The message is just a string. If no level is provided the default level is `info`. @@ -393,13 +382,8 @@

Source code for sentry_sdk.hub

             {"message": message, "level": level}, scope=scope, **scope_args
         )
-
[docs] def capture_exception( - self, - error=None, # type: Optional[Union[BaseException, ExcInfo]] - scope=None, # type: Optional[Any] - **scope_args # type: Any - ): - # type: (...) -> Optional[str] +
[docs] def capture_exception(self, error=None, scope=None, **scope_args): + # type: (Optional[Union[BaseException, ExcInfo]], Optional[Scope], Any) -> Optional[str] """Captures an exception. :param error: An exception to catch. If `None`, `sys.exc_info()` will be used. @@ -434,13 +418,8 @@

Source code for sentry_sdk.hub

         """
         logger.error("Internal error in sentry_sdk", exc_info=exc_info)
 
-
[docs] def add_breadcrumb( - self, - crumb=None, # type: Optional[Breadcrumb] - hint=None, # type: Optional[BreadcrumbHint] - **kwargs # type: Any - ): - # type: (...) -> None +
[docs] def add_breadcrumb(self, crumb=None, hint=None, **kwargs): + # type: (Optional[Breadcrumb], Optional[BreadcrumbHint], Any) -> None """ Adds a breadcrumb. @@ -480,13 +459,8 @@

Source code for sentry_sdk.hub

         while len(scope._breadcrumbs) > max_breadcrumbs:
             scope._breadcrumbs.popleft()
-
[docs] def start_span( - self, - span=None, # type: Optional[Span] - instrumenter=INSTRUMENTER.SENTRY, # type: str - **kwargs # type: Any - ): - # type: (...) -> Span +
[docs] def start_span(self, span=None, instrumenter=INSTRUMENTER.SENTRY, **kwargs): + # type: (Optional[Span], str, Any) -> Span """ Create and start timing a new span whose parent is the currently active span or transaction, if any. The return value is a span instance, @@ -531,12 +505,9 @@

Source code for sentry_sdk.hub

         return Span(**kwargs)
[docs] def start_transaction( - self, - transaction=None, # type: Optional[Transaction] - instrumenter=INSTRUMENTER.SENTRY, # type: str - **kwargs # type: Any + self, transaction=None, instrumenter=INSTRUMENTER.SENTRY, **kwargs ): - # type: (...) -> Union[Transaction, NoOpSpan] + # type: (Optional[Transaction], str, Any) -> Union[Transaction, NoOpSpan] """ Start and return a transaction. @@ -608,7 +579,9 @@

Source code for sentry_sdk.hub

         pass
 
 
[docs] def push_scope( # noqa - self, callback=None # type: Optional[Callable[[Scope], None]] + self, + callback=None, # type: Optional[Callable[[Scope], None]] + continue_trace=True, # type: bool ): # type: (...) -> Optional[ContextManager[Scope]] """ @@ -626,7 +599,13 @@

Source code for sentry_sdk.hub

             return None
 
         client, scope = self._stack[-1]
-        new_layer = (client, copy.copy(scope))
+
+        new_scope = copy.copy(scope)
+
+        if continue_trace:
+            new_scope.generate_propagation_context()
+
+        new_layer = (client, new_scope)
         self._stack.append(new_layer)
 
         return _ScopeManager(self)
@@ -657,7 +636,9 @@

Source code for sentry_sdk.hub

         pass
 
 
[docs] def configure_scope( # noqa - self, callback=None # type: Optional[Callable[[Scope], None]] + self, + callback=None, # type: Optional[Callable[[Scope], None]] + continue_trace=True, # type: bool ): # type: (...) -> Optional[ContextManager[Scope]] @@ -670,6 +651,10 @@

Source code for sentry_sdk.hub

         """
 
         client, scope = self._stack[-1]
+
+        if continue_trace:
+            scope.generate_propagation_context()
+
         if callback is not None:
             if client is not None:
                 callback(scope)
@@ -752,18 +737,19 @@ 

Source code for sentry_sdk.hub

         from the span representing the request, if available, or the current
         span on the scope if not.
         """
-        span = span or self.scope.span
-        if not span:
-            return
-
         client = self._stack[-1][0]
-
         propagate_traces = client and client.options["propagate_traces"]
         if not propagate_traces:
             return
 
-        for header in span.iter_headers():
-            yield header
+ span = span or self.scope.span + + if client and has_tracing_enabled(client.options) and span is not None: + for header in span.iter_headers(): + yield header + else: + for header in self.scope.iter_headers(): + yield header
[docs] def trace_propagation_meta(self, span=None): # type: (Optional[Span]) -> str diff --git a/_modules/sentry_sdk/integrations/logging.html b/_modules/sentry_sdk/integrations/logging.html index 451ca606c6..8ce295e3b6 100644 --- a/_modules/sentry_sdk/integrations/logging.html +++ b/_modules/sentry_sdk/integrations/logging.html @@ -4,7 +4,7 @@ - sentry_sdk.integrations.logging — sentry-python 1.25.1 documentation + sentry_sdk.integrations.logging — sentry-python 1.26.0 documentation diff --git a/_modules/sentry_sdk/scope.html b/_modules/sentry_sdk/scope.html index ad93b3f68e..3f59f226d2 100644 --- a/_modules/sentry_sdk/scope.html +++ b/_modules/sentry_sdk/scope.html @@ -4,7 +4,7 @@ - sentry_sdk.scope — sentry-python 1.25.1 documentation + sentry_sdk.scope — sentry-python 1.26.0 documentation @@ -32,20 +32,37 @@

Source code for sentry_sdk.scope

 from copy import copy
 from collections import deque
 from itertools import chain
+import os
+import uuid
 
+from sentry_sdk.attachments import Attachment
 from sentry_sdk._functools import wraps
+from sentry_sdk.tracing_utils import (
+    Baggage,
+    extract_sentrytrace_data,
+    has_tracing_enabled,
+    normalize_incoming_data,
+)
+from sentry_sdk.tracing import (
+    BAGGAGE_HEADER_NAME,
+    SENTRY_TRACE_HEADER_NAME,
+    Transaction,
+)
 from sentry_sdk._types import TYPE_CHECKING
 from sentry_sdk.utils import logger, capture_internal_exceptions
-from sentry_sdk.tracing import Transaction
-from sentry_sdk.attachments import Attachment
+
+from sentry_sdk.consts import FALSE_VALUES
+
 
 if TYPE_CHECKING:
     from typing import Any
     from typing import Dict
+    from typing import Iterator
     from typing import Optional
     from typing import Deque
     from typing import List
     from typing import Callable
+    from typing import Tuple
     from typing import TypeVar
 
     from sentry_sdk._types import (
@@ -127,6 +144,7 @@ 

Source code for sentry_sdk.scope

         "_attachments",
         "_force_auto_session_tracking",
         "_profile",
+        "_propagation_context",
     )
 
     def __init__(self):
@@ -135,8 +153,175 @@ 

Source code for sentry_sdk.scope

         self._error_processors = []  # type: List[ErrorProcessor]
 
         self._name = None  # type: Optional[str]
+        self._propagation_context = None  # type: Optional[Dict[str, Any]]
+
         self.clear()
 
+        incoming_trace_information = self._load_trace_data_from_env()
+        self.generate_propagation_context(incoming_data=incoming_trace_information)
+
+    def _load_trace_data_from_env(self):
+        # type: () -> Optional[Dict[str, str]]
+        """
+        Load Sentry trace id and baggage from environment variables.
+        Can be disabled by setting SENTRY_USE_ENVIRONMENT to "false".
+        """
+        incoming_trace_information = None
+
+        sentry_use_environment = (
+            os.environ.get("SENTRY_USE_ENVIRONMENT") or ""
+        ).lower()
+        use_environment = sentry_use_environment not in FALSE_VALUES
+        if use_environment:
+            incoming_trace_information = {}
+
+            if os.environ.get("SENTRY_TRACE"):
+                incoming_trace_information[SENTRY_TRACE_HEADER_NAME] = (
+                    os.environ.get("SENTRY_TRACE") or ""
+                )
+
+            if os.environ.get("SENTRY_BAGGAGE"):
+                incoming_trace_information[BAGGAGE_HEADER_NAME] = (
+                    os.environ.get("SENTRY_BAGGAGE") or ""
+                )
+
+        return incoming_trace_information or None
+
+    def _extract_propagation_context(self, data):
+        # type: (Dict[str, Any]) -> Optional[Dict[str, Any]]
+        context = {}  # type: Dict[str, Any]
+        normalized_data = normalize_incoming_data(data)
+
+        baggage_header = normalized_data.get(BAGGAGE_HEADER_NAME)
+        if baggage_header:
+            context["dynamic_sampling_context"] = Baggage.from_incoming_header(
+                baggage_header
+            ).dynamic_sampling_context()
+
+        sentry_trace_header = normalized_data.get(SENTRY_TRACE_HEADER_NAME)
+        if sentry_trace_header:
+            sentrytrace_data = extract_sentrytrace_data(sentry_trace_header)
+            if sentrytrace_data is not None:
+                context.update(sentrytrace_data)
+
+        only_baggage_no_sentry_trace = (
+            "dynamic_sampling_context" in context and "trace_id" not in context
+        )
+        if only_baggage_no_sentry_trace:
+            context.update(self._create_new_propagation_context())
+
+        if context:
+            if not context.get("span_id"):
+                context["span_id"] = uuid.uuid4().hex[16:]
+
+            return context
+
+        return None
+
+    def _create_new_propagation_context(self):
+        # type: () -> Dict[str, Any]
+        return {
+            "trace_id": uuid.uuid4().hex,
+            "span_id": uuid.uuid4().hex[16:],
+            "parent_span_id": None,
+            "dynamic_sampling_context": None,
+        }
+
+
[docs] def generate_propagation_context(self, incoming_data=None): + # type: (Optional[Dict[str, str]]) -> None + """ + Populates `_propagation_context`. Either from `incoming_data` or with a new propagation context. + """ + if incoming_data: + context = self._extract_propagation_context(incoming_data) + + if context is not None: + self._propagation_context = context + logger.debug( + "[Tracing] Extracted propagation context from incoming data: %s", + self._propagation_context, + ) + + if self._propagation_context is None: + self._propagation_context = self._create_new_propagation_context() + logger.debug( + "[Tracing] Create new propagation context: %s", + self._propagation_context, + )
+ +
[docs] def get_dynamic_sampling_context(self): + # type: () -> Optional[Dict[str, str]] + """ + Returns the Dynamic Sampling Context from the Propagation Context. + If not existing, creates a new one. + """ + if self._propagation_context is None: + return None + + baggage = self.get_baggage() + if baggage is not None: + self._propagation_context[ + "dynamic_sampling_context" + ] = baggage.dynamic_sampling_context() + + return self._propagation_context["dynamic_sampling_context"]
+ +
[docs] def get_traceparent(self): + # type: () -> Optional[str] + """ + Returns the Sentry "sentry-trace" header (aka the traceparent) from the Propagation Context. + """ + if self._propagation_context is None: + return None + + traceparent = "%s-%s" % ( + self._propagation_context["trace_id"], + self._propagation_context["span_id"], + ) + return traceparent
+ + def get_baggage(self): + # type: () -> Optional[Baggage] + if self._propagation_context is None: + return None + + if self._propagation_context.get("dynamic_sampling_context") is None: + return Baggage.from_options(self) + + return None + +
[docs] def get_trace_context(self): + # type: () -> Any + """ + Returns the Sentry "trace" context from the Propagation Context. + """ + if self._propagation_context is None: + return None + + trace_context = { + "trace_id": self._propagation_context["trace_id"], + "span_id": self._propagation_context["span_id"], + "parent_span_id": self._propagation_context["parent_span_id"], + "dynamic_sampling_context": self.get_dynamic_sampling_context(), + } # type: Dict[str, Any] + + return trace_context
+ +
[docs] def iter_headers(self): + # type: () -> Iterator[Tuple[str, str]] + """ + Creates a generator which returns the `sentry-trace` and `baggage` headers from the Propagation Context. + """ + if self._propagation_context is not None: + traceparent = self.get_traceparent() + if traceparent is not None: + yield SENTRY_TRACE_HEADER_NAME, traceparent + + dsc = self.get_dynamic_sampling_context() + if dsc is not None: + baggage = Baggage(dsc).serialize() + yield BAGGAGE_HEADER_NAME, baggage
+
[docs] def clear(self): # type: () -> None """Clears the entire scope.""" @@ -158,7 +343,9 @@

Source code for sentry_sdk.scope

         self._session = None  # type: Optional[Session]
         self._force_auto_session_tracking = None  # type: Optional[bool]
 
-        self._profile = None  # type: Optional[Profile]
+ self._profile = None # type: Optional[Profile] + + self._propagation_context = None
@_attr_setter def level(self, value): @@ -397,6 +584,7 @@

Source code for sentry_sdk.scope

         self,
         event,  # type: Event
         hint,  # type: Hint
+        options=None,  # type: Optional[Dict[str, Any]]
     ):
         # type: (...) -> Optional[Event]
         """Applies the information contained on the scope to the given event."""
@@ -446,10 +634,13 @@ 

Source code for sentry_sdk.scope

         if self._contexts:
             event.setdefault("contexts", {}).update(self._contexts)
 
-        if self._span is not None:
-            contexts = event.setdefault("contexts", {})
-            if not contexts.get("trace"):
+        contexts = event.setdefault("contexts", {})
+
+        if has_tracing_enabled(options):
+            if self._span is not None:
                 contexts["trace"] = self._span.get_trace_context()
+        else:
+            contexts["trace"] = self.get_trace_context()
 
         exc_info = hint.get("exc_info")
         if exc_info is not None:
@@ -495,6 +686,8 @@ 

Source code for sentry_sdk.scope

             self._attachments.extend(scope._attachments)
         if scope._profile:
             self._profile = scope._profile
+        if scope._propagation_context:
+            self._propagation_context = scope._propagation_context
 
     def update_from_kwargs(
         self,
@@ -537,6 +730,7 @@ 

Source code for sentry_sdk.scope

         rv._breadcrumbs = copy(self._breadcrumbs)
         rv._event_processors = list(self._event_processors)
         rv._error_processors = list(self._error_processors)
+        rv._propagation_context = self._propagation_context
 
         rv._should_capture = self._should_capture
         rv._span = self._span
diff --git a/_modules/sentry_sdk/transport.html b/_modules/sentry_sdk/transport.html
index 32f16143ce..68c6dbae8f 100644
--- a/_modules/sentry_sdk/transport.html
+++ b/_modules/sentry_sdk/transport.html
@@ -4,7 +4,7 @@
   
     
     
-    sentry_sdk.transport — sentry-python 1.25.1 documentation
+    sentry_sdk.transport — sentry-python 1.26.0 documentation
     
     
     
@@ -472,7 +472,24 @@ 

Source code for sentry_sdk.transport

             if proxy_headers:
                 opts["proxy_headers"] = proxy_headers
 
-            return urllib3.ProxyManager(proxy, **opts)
+            if proxy.startswith("socks"):
+                use_socks_proxy = True
+                try:
+                    # Check if PySocks depencency is available
+                    from urllib3.contrib.socks import SOCKSProxyManager
+                except ImportError:
+                    use_socks_proxy = False
+                    logger.warning(
+                        "You have configured a SOCKS proxy (%s) but support for SOCKS proxies is not installed. Disabling proxy support. Please add `PySocks` (or `urllib3` with the `[socks]` extra) to your dependencies.",
+                        proxy,
+                    )
+
+                if use_socks_proxy:
+                    return SOCKSProxyManager(proxy, **opts)
+                else:
+                    return urllib3.PoolManager(**opts)
+            else:
+                return urllib3.ProxyManager(proxy, **opts)
         else:
             return urllib3.PoolManager(**opts)
 
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index f34fa311f5..24249b2879 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,6 +1,6 @@
 var DOCUMENTATION_OPTIONS = {
     URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
-    VERSION: '1.25.1',
+    VERSION: '1.26.0',
     LANGUAGE: 'en',
     COLLAPSE_INDEX: false,
     BUILDER: 'html',
diff --git a/api.html b/api.html
index 79781c81aa..18eac0db8b 100644
--- a/api.html
+++ b/api.html
@@ -5,7 +5,7 @@
     
     
 
-    Main API — sentry-python 1.25.1 documentation
+    Main API — sentry-python 1.26.0 documentation
     
     
     
@@ -247,7 +247,7 @@ 

Main API
-configure_scope(callback=None)[source]
+configure_scope(callback=None, continue_trace=True)[source]

Reconfigures the scope.

Parameters:
@@ -337,7 +337,7 @@

Main API
-push_scope(callback=None)[source]
+push_scope(callback=None, continue_trace=True)[source]

Pushes a new layer on the scope stack.

Parameters:
@@ -514,7 +514,7 @@

Main API
-apply_to_event(event, hint)[source]
+apply_to_event(event, hint, options=None)[source]

Applies the information contained on the scope to the given event.

Return type:
@@ -551,6 +551,62 @@

Main API +
+generate_propagation_context(incoming_data=None)[source]
+

Populates _propagation_context. Either from incoming_data or with a new propagation context.

+
+
Return type:
+

None

+
+
+

+ +
+
+get_dynamic_sampling_context()[source]
+

Returns the Dynamic Sampling Context from the Propagation Context. +If not existing, creates a new one.

+
+
Return type:
+

Optional[Dict[str, str]]

+
+
+
+ +
+
+get_trace_context()[source]
+

Returns the Sentry “trace” context from the Propagation Context.

+
+
Return type:
+

Any

+
+
+
+ +
+
+get_traceparent()[source]
+

Returns the Sentry “sentry-trace” header (aka the traceparent) from the Propagation Context.

+
+
Return type:
+

Optional[str]

+
+
+
+ +
+
+iter_headers()[source]
+

Creates a generator which returns the sentry-trace and baggage headers from the Propagation Context.

+
+
Return type:
+

Iterator[Tuple[str, str]]

+
+
+
+
property level
@@ -827,6 +883,17 @@

Main API +
+sentry_sdk.continue_trace(environ_or_headers, op=None, name=None, source=None)[source]
+

Sets the propagation context from environment or headers and returns a transaction.

+
+
Return type:
+

Transaction

+
+
+

+
sentry_sdk.flush(timeout=None, callback=None)[source]
@@ -839,6 +906,17 @@

Main API +
+sentry_sdk.get_baggage()[source]
+

Returns Baggage either from the active span or from the scope.

+
+
Return type:
+

Optional[str]

+
+
+

+
sentry_sdk.get_current_span(hub=None)[source]
@@ -850,6 +928,17 @@

Main API +
+sentry_sdk.get_traceparent()[source]
+

Returns the traceparent either from the active span or from the scope.

+
+
Return type:
+

Optional[str]

+
+
+

+
sentry_sdk.last_event_id()[source]
@@ -1055,6 +1144,11 @@

Navigation

  • Scope.clear()
  • Scope.clear_breadcrumbs()
  • Scope.fingerprint
  • +
  • Scope.generate_propagation_context()
  • +
  • Scope.get_dynamic_sampling_context()
  • +
  • Scope.get_trace_context()
  • +
  • Scope.get_traceparent()
  • +
  • Scope.iter_headers()
  • Scope.level
  • Scope.remove_context()
  • Scope.remove_extra()
  • @@ -1083,8 +1177,11 @@

    Navigation

  • capture_exception()
  • capture_message()
  • configure_scope()
  • +
  • continue_trace()
  • flush()
  • +
  • get_baggage()
  • get_current_span()
  • +
  • get_traceparent()
  • last_event_id()
  • push_scope()
  • set_context()
  • diff --git a/genindex.html b/genindex.html index 8b48339c65..6ebdd14c27 100644 --- a/genindex.html +++ b/genindex.html @@ -4,7 +4,7 @@ - Index — sentry-python 1.25.1 documentation + Index — sentry-python 1.26.0 documentation @@ -136,6 +136,8 @@

    C

  • (sentry_sdk.Hub method)
  • +
  • continue_trace() (in module sentry_sdk) +
  • @@ -182,12 +184,26 @@

    F

    G

    @@ -210,6 +226,8 @@

    I

    diff --git a/index.html b/index.html index 8d0649581b..a24b86048e 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - sentry-python - Sentry SDK for Python — sentry-python 1.25.1 documentation + sentry-python - Sentry SDK for Python — sentry-python 1.26.0 documentation @@ -85,6 +85,11 @@

    sentry-python - Sentry SDK for PythonScope.clear()
  • Scope.clear_breadcrumbs()
  • Scope.fingerprint
  • +
  • Scope.generate_propagation_context()
  • +
  • Scope.get_dynamic_sampling_context()
  • +
  • Scope.get_trace_context()
  • +
  • Scope.get_traceparent()
  • +
  • Scope.iter_headers()
  • Scope.level
  • Scope.remove_context()
  • Scope.remove_extra()
  • @@ -113,8 +118,11 @@

    sentry-python - Sentry SDK for Pythoncapture_exception()
  • capture_message()
  • configure_scope()
  • +
  • continue_trace()
  • flush()
  • +
  • get_baggage()
  • get_current_span()
  • +
  • get_traceparent()
  • last_event_id()
  • push_scope()
  • set_context()
  • diff --git a/integrations.html b/integrations.html index 956b5ff3ac..0dc5c5e123 100644 --- a/integrations.html +++ b/integrations.html @@ -5,7 +5,7 @@ - Integrations — sentry-python 1.25.1 documentation + Integrations — sentry-python 1.26.0 documentation diff --git a/objects.inv b/objects.inv index 5677aa340b..daa15949c1 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/py-modindex.html b/py-modindex.html index a2be3b3dd7..9a8e162442 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -4,7 +4,7 @@ - Python Module Index — sentry-python 1.25.1 documentation + Python Module Index — sentry-python 1.26.0 documentation diff --git a/search.html b/search.html index da909a56fc..c5a3ebc7df 100644 --- a/search.html +++ b/search.html @@ -4,7 +4,7 @@ - Search — sentry-python 1.25.1 documentation + Search — sentry-python 1.26.0 documentation diff --git a/searchindex.js b/searchindex.js index c55945f148..91320bb702 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["api", "index", "integrations"], "filenames": ["api.rst", "index.rst", "integrations.rst"], "titles": ["Main API", "sentry-python - Sentry SDK for Python", "Integrations"], "terms": {"class": [0, 2], "sentry_sdk": [0, 2], "client": [0, 1], "dsn": [0, 1], "none": [0, 2], "max_breadcrumb": 0, "100": 0, "releas": 0, "environ": 0, "server_nam": 0, "shutdown_timeout": 0, "2": 0, "integr": [0, 1], "in_app_includ": 0, "in_app_exclud": 0, "default_integr": 0, "true": 0, "dist": 0, "transport": [0, 1], "transport_queue_s": 0, "sample_r": 0, "1": 0, "0": [0, 2], "send_default_pii": 0, "fals": 0, "http_proxi": 0, "https_proxi": 0, "ignore_error": 0, "request_bodi": 0, "medium": 0, "before_send": 0, "before_breadcrumb": 0, "debug": 0, "attach_stacktrac": 0, "ca_cert": 0, "propagate_trac": 0, "traces_sample_r": 0, "traces_sampl": 0, "profiles_sample_r": 0, "profiles_sampl": 0, "profiler_mod": 0, "auto_enabling_integr": 0, "auto_session_track": 0, "send_client_report": 0, "_experi": 0, "proxy_head": 0, "instrument": 0, "sentri": [0, 2], "before_send_transact": 0, "project_root": 0, "enable_trac": 0, "include_local_vari": 0, "include_source_context": 0, "trace_propagation_target": 0, "functions_to_trac": 0, "event_scrubb": 0, "sourc": [0, 2], "capture_ev": [0, 1], "event": [0, 2], "hint": 0, "scope": [0, 1], "captur": 0, "an": 0, "paramet": [0, 2], "dict": 0, "str": [0, 2], "ani": 0, "A": [0, 2], "readi": 0, "made": 0, "can": 0, "directli": 0, "sent": 0, "option": 0, "contain": 0, "metadata": 0, "about": 0, "read": 0, "from": 0, "origin": 0, "except": 0, "object": 0, "http": 0, "request": 0, "return": [0, 2], "type": [0, 2], "id": 0, "mai": 0, "i": [0, 1, 2], "set": 0, "sdk": 0, "decid": 0, "discard": 0, "other": [0, 1, 2], "reason": 0, "In": 0, "situat": 0, "init": 0, "help": 0, "close": [0, 1], "timeout": 0, "callback": 0, "shut": 0, "down": 0, "argument": 0, "have": [0, 2], "same": [0, 2], "semant": 0, "flush": [0, 1], "properti": 0, "configur": 0, "string": [0, 2], "wait": 0, "current": 0, "float": 0, "most": 0, "second": 0, "If": 0, "provid": 0, "valu": 0, "us": [0, 2], "callabl": 0, "int": 0, "invok": 0, "number": 0, "pend": 0, "httptransport": [0, 1], "The": [0, 2], "default": [0, 2], "capture_envelop": [0, 1], "envelop": 0, "send": 0, "ar": 0, "data": 0, "format": 0, "hold": 0, "submit": 0, "we": 0, "transact": [0, 1], "session": 0, "regular": 0, "error": 0, "should": 0, "go": 0, "through": 0, "backward": 0, "compat": 0, "thi": [0, 1, 2], "get": 0, "dictionari": 0, "when": 0, "out": 0, "kill": [0, 1], "forcefulli": 0, "record_lost_ev": [0, 1], "data_categori": 0, "item": 0, "increment": 0, "counter": 0, "loss": 0, "categori": 0, "hub": [0, 1], "client_or_hub": 0, "wrap": 0, "concurr": 0, "manag": 0, "each": [0, 2], "thread": 0, "ha": 0, "its": 0, "own": 0, "might": 0, "transfer": 0, "flow": 0, "execut": 0, "context": 0, "var": 0, "avail": 0, "statement": 0, "": [0, 1], "temporarili": 0, "activ": 0, "add_breadcrumb": [0, 1], "crumb": 0, "kwarg": 0, "add": 0, "breadcrumb": [0, 2], "v7": 0, "v8": 0, "protocol": 0, "expect": 0, "custom": 0, "emit": [0, 2], "bind_client": [0, 1], "new": 0, "bind": 0, "scope_arg": 0, "alia": 0, "capture_except": [0, 1], "union": 0, "baseexcept": 0, "tupl": 0, "tracebacktyp": 0, "catch": 0, "sy": 0, "exc_info": 0, "event_id": 0, "see": 0, "capture_messag": [0, 1], "messag": 0, "level": [0, 1, 2], "just": 0, "info": 0, "configure_scop": [0, 1], "reconfigur": 0, "call": [0, 2], "contextmanag": 0, "end_sess": [0, 1], "end": 0, "one": 0, "get_integr": [0, 1], "name_or_class": 0, "name": [0, 2], "bound": 0, "doe": 0, "guarante": 0, "attach": 0, "iter_trace_propagation_head": [0, 1], "span": [0, 1], "header": 0, "which": [0, 2], "allow": 0, "propag": 0, "trace": 0, "taken": 0, "repres": 0, "gener": 0, "last_event_id": [0, 1], "last": 0, "pop_scope_unsaf": [0, 1], "pop": 0, "layer": 0, "stack": 0, "try": 0, "push_scop": [0, 1], "instead": 0, "push": 0, "method": 0, "again": 0, "resume_auto_session_track": [0, 1], "resum": 0, "automat": 0, "track": 0, "disabl": [0, 2], "earlier": 0, "requir": 0, "enabl": [0, 2], "run": [0, 1], "altern": 0, "typevar": 0, "t": 0, "start_sess": [0, 1], "session_mod": 0, "applic": 0, "start": 0, "start_span": [0, 1], "creat": 0, "time": 0, "whose": 0, "parent": 0, "instanc": 0, "typic": 0, "stop": 0, "block": 0, "onli": 0, "appropri": 0, "exampl": 0, "everi": 0, "incom": 0, "start_transact": [0, 1], "alreadi": 0, "progress": 0, "exist": 0, "given": 0, "otherwis": 0, "entri": 0, "point": 0, "manual": 0, "tree": 0, "structur": 0, "built": 0, "ad": 0, "child": 0, "To": 0, "within": 0, "respect": 0, "start_child": 0, "must": 0, "finish": 0, "befor": 0, "unfinish": 0, "all": 0, "noopspan": 0, "stop_auto_session_track": [0, 1], "trace_propagation_meta": [0, 1], "meta": 0, "tag": 0, "inject": 0, "html": 0, "templat": 0, "extra": 0, "inform": 0, "belong": 0, "add_attach": [0, 1], "byte": 0, "filenam": 0, "path": 0, "content_typ": 0, "add_to_transact": 0, "futur": 0, "add_error_processor": [0, 1], "func": 0, "cl": 0, "regist": 0, "local": 0, "processor": 0, "work": 0, "similar": 0, "tripl": 0, "process": 0, "add_event_processor": [0, 1], "function": 0, "behav": 0, "like": 0, "apply_to_ev": [0, 1], "appli": 0, "clear": [0, 1], "entir": 0, "clear_breadcrumb": [0, 1], "buffer": 0, "fingerprint": [0, 1], "overrid": 0, "deprec": 0, "favor": 0, "set_level": [0, 1], "remove_context": [0, 1], "kei": 0, "remov": 0, "remove_extra": [0, 1], "specif": [0, 2], "remove_tag": [0, 1], "set_context": [0, 1], "certain": 0, "set_extra": [0, 1], "set_tag": [0, 1], "set_transaction_nam": [0, 1], "set_us": [0, 1], "user": [0, 1, 2], "root": 0, "baseclass": 0, "get_current_span": [0, 1], "api": 1, "document": 1, "For": 1, "full": 1, "resourc": 1, "visit": 1, "github": 1, "repositori": 1, "main": 1, "log": 1, "ignore_logg": [1, 2], "eventhandl": [1, 2], "breadcrumbhandl": [1, 2], "record": 2, "both": 2, "logger": 2, "among": 2, "mani": 2, "our": 2, "prevent": 2, "action": 2, "being": 2, "expos": 2, "wai": 2, "quiet": 2, "spammi": 2, "ignor": 2, "you": 2, "would": 2, "pass": 2, "getlogg": 2, "handler": 2, "note": 2, "do": 2}, "objects": {"": [[0, 0, 0, "-", "sentry_sdk"]], "sentry_sdk": [[0, 1, 1, "", "Client"], [0, 1, 1, "", "HttpTransport"], [0, 1, 1, "", "Hub"], [0, 1, 1, "", "Scope"], [0, 1, 1, "", "Transport"], [0, 4, 1, "", "add_breadcrumb"], [0, 4, 1, "", "capture_event"], [0, 4, 1, "", "capture_exception"], [0, 4, 1, "", "capture_message"], [0, 4, 1, "", "configure_scope"], [0, 4, 1, "", "flush"], [0, 4, 1, "", "get_current_span"], [0, 4, 1, "", "last_event_id"], [0, 4, 1, "", "push_scope"], [0, 4, 1, "", "set_context"], [0, 4, 1, "", "set_extra"], [0, 4, 1, "", "set_level"], [0, 4, 1, "", "set_tag"], [0, 4, 1, "", "set_user"], [0, 4, 1, "", "start_span"], [0, 4, 1, "", "start_transaction"]], "sentry_sdk.Client": [[0, 2, 1, "", "capture_event"], [0, 2, 1, "", "close"], [0, 3, 1, "", "dsn"], [0, 2, 1, "", "flush"]], "sentry_sdk.HttpTransport": [[0, 2, 1, "", "capture_envelope"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "kill"], [0, 2, 1, "", "record_lost_event"]], "sentry_sdk.Hub": [[0, 2, 1, "", "add_breadcrumb"], [0, 2, 1, "", "bind_client"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "capture_exception"], [0, 2, 1, "", "capture_message"], [0, 3, 1, "", "client"], [0, 2, 1, "", "configure_scope"], [0, 2, 1, "", "end_session"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "get_integration"], [0, 2, 1, "", "iter_trace_propagation_headers"], [0, 2, 1, "", "last_event_id"], [0, 2, 1, "", "pop_scope_unsafe"], [0, 2, 1, "", "push_scope"], [0, 2, 1, "", "resume_auto_session_tracking"], [0, 2, 1, "", "run"], [0, 3, 1, "", "scope"], [0, 2, 1, "", "start_session"], [0, 2, 1, "", "start_span"], [0, 2, 1, "", "start_transaction"], [0, 2, 1, "", "stop_auto_session_tracking"], [0, 2, 1, "", "trace_propagation_meta"]], "sentry_sdk.Scope": [[0, 2, 1, "", "add_attachment"], [0, 2, 1, "", "add_error_processor"], [0, 2, 1, "", "add_event_processor"], [0, 2, 1, "", "apply_to_event"], [0, 2, 1, "", "clear"], [0, 2, 1, "", "clear_breadcrumbs"], [0, 3, 1, "", "fingerprint"], [0, 3, 1, "", "level"], [0, 2, 1, "", "remove_context"], [0, 2, 1, "", "remove_extra"], [0, 2, 1, "", "remove_tag"], [0, 2, 1, "", "set_context"], [0, 2, 1, "", "set_extra"], [0, 2, 1, "", "set_level"], [0, 2, 1, "", "set_tag"], [0, 2, 1, "", "set_transaction_name"], [0, 2, 1, "", "set_user"], [0, 3, 1, "", "span"], [0, 3, 1, "", "transaction"], [0, 3, 1, "", "user"]], "sentry_sdk.Transport": [[0, 2, 1, "", "capture_envelope"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "kill"], [0, 2, 1, "", "record_lost_event"]], "sentry_sdk.integrations": [[2, 0, 0, "-", "logging"]], "sentry_sdk.integrations.logging": [[2, 1, 1, "", "BreadcrumbHandler"], [2, 1, 1, "", "EventHandler"], [2, 4, 1, "", "ignore_logger"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "function", "Python function"]}, "titleterms": {"main": 0, "api": 0, "sentri": 1, "python": 1, "sdk": 1, "integr": 2, "log": 2}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 57}, "alltitles": {"Main API": [[0, "main-api"]], "sentry-python - Sentry SDK for Python": [[1, "sentry-python-sentry-sdk-for-python"]], "Integrations": [[2, "integrations"]], "Logging": [[2, "module-sentry_sdk.integrations.logging"]]}, "indexentries": {"client (class in sentry_sdk)": [[0, "sentry_sdk.Client"]], "httptransport (class in sentry_sdk)": [[0, "sentry_sdk.HttpTransport"]], "hub (class in sentry_sdk)": [[0, "sentry_sdk.Hub"]], "scope (class in sentry_sdk)": [[0, "sentry_sdk.Scope"]], "transport (class in sentry_sdk)": [[0, "sentry_sdk.Transport"]], "add_attachment() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_attachment"]], "add_breadcrumb() (in module sentry_sdk)": [[0, "sentry_sdk.add_breadcrumb"]], "add_breadcrumb() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.add_breadcrumb"]], "add_error_processor() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_error_processor"]], "add_event_processor() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_event_processor"]], "apply_to_event() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.apply_to_event"]], "bind_client() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.bind_client"]], "capture_envelope() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.capture_envelope"]], "capture_envelope() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.capture_envelope"]], "capture_event() (in module sentry_sdk)": [[0, "sentry_sdk.capture_event"]], "capture_event() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.capture_event"]], "capture_event() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.capture_event"]], "capture_event() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_event"]], "capture_event() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.capture_event"]], "capture_exception() (in module sentry_sdk)": [[0, "sentry_sdk.capture_exception"]], "capture_exception() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_exception"]], "capture_message() (in module sentry_sdk)": [[0, "sentry_sdk.capture_message"]], "capture_message() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_message"]], "clear() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.clear"]], "clear_breadcrumbs() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.clear_breadcrumbs"]], "client (sentry_sdk.hub property)": [[0, "sentry_sdk.Hub.client"]], "close() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.close"]], "configure_scope() (in module sentry_sdk)": [[0, "sentry_sdk.configure_scope"]], "configure_scope() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.configure_scope"]], "dsn (sentry_sdk.client property)": [[0, "sentry_sdk.Client.dsn"]], "end_session() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.end_session"]], "fingerprint (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.fingerprint"]], "flush() (in module sentry_sdk)": [[0, "sentry_sdk.flush"]], "flush() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.flush"]], "flush() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.flush"]], "flush() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.flush"]], "flush() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.flush"]], "get_current_span() (in module sentry_sdk)": [[0, "sentry_sdk.get_current_span"]], "get_integration() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.get_integration"]], "iter_trace_propagation_headers() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.iter_trace_propagation_headers"]], "kill() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.kill"]], "kill() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.kill"]], "last_event_id() (in module sentry_sdk)": [[0, "sentry_sdk.last_event_id"]], "last_event_id() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.last_event_id"]], "level (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.level"]], "module": [[0, "module-sentry_sdk"], [2, "module-sentry_sdk.integrations.logging"]], "pop_scope_unsafe() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.pop_scope_unsafe"]], "push_scope() (in module sentry_sdk)": [[0, "sentry_sdk.push_scope"]], "push_scope() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.push_scope"]], "record_lost_event() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.record_lost_event"]], "record_lost_event() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.record_lost_event"]], "remove_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_context"]], "remove_extra() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_extra"]], "remove_tag() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_tag"]], "resume_auto_session_tracking() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.resume_auto_session_tracking"]], "run() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.run"]], "scope (sentry_sdk.hub property)": [[0, "sentry_sdk.Hub.scope"]], "sentry_sdk": [[0, "module-sentry_sdk"]], "set_context() (in module sentry_sdk)": [[0, "sentry_sdk.set_context"]], "set_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_context"]], "set_extra() (in module sentry_sdk)": [[0, "sentry_sdk.set_extra"]], "set_extra() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_extra"]], "set_level() (in module sentry_sdk)": [[0, "sentry_sdk.set_level"]], "set_level() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_level"]], "set_tag() (in module sentry_sdk)": [[0, "sentry_sdk.set_tag"]], "set_tag() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_tag"]], "set_transaction_name() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_transaction_name"]], "set_user() (in module sentry_sdk)": [[0, "sentry_sdk.set_user"]], "set_user() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_user"]], "span (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.span"]], "start_session() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_session"]], "start_span() (in module sentry_sdk)": [[0, "sentry_sdk.start_span"]], "start_span() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_span"]], "start_transaction() (in module sentry_sdk)": [[0, "sentry_sdk.start_transaction"]], "start_transaction() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_transaction"]], "stop_auto_session_tracking() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.stop_auto_session_tracking"]], "trace_propagation_meta() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.trace_propagation_meta"]], "transaction (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.transaction"]], "user (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.user"]], "breadcrumbhandler (class in sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.BreadcrumbHandler"]], "eventhandler (class in sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.EventHandler"]], "ignore_logger() (in module sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.ignore_logger"]], "sentry_sdk.integrations.logging": [[2, "module-sentry_sdk.integrations.logging"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["api", "index", "integrations"], "filenames": ["api.rst", "index.rst", "integrations.rst"], "titles": ["Main API", "sentry-python - Sentry SDK for Python", "Integrations"], "terms": {"class": [0, 2], "sentry_sdk": [0, 2], "client": [0, 1], "dsn": [0, 1], "none": [0, 2], "max_breadcrumb": 0, "100": 0, "releas": 0, "environ": 0, "server_nam": 0, "shutdown_timeout": 0, "2": 0, "integr": [0, 1], "in_app_includ": 0, "in_app_exclud": 0, "default_integr": 0, "true": 0, "dist": 0, "transport": [0, 1], "transport_queue_s": 0, "sample_r": 0, "1": 0, "0": [0, 2], "send_default_pii": 0, "fals": 0, "http_proxi": 0, "https_proxi": 0, "ignore_error": 0, "request_bodi": 0, "medium": 0, "before_send": 0, "before_breadcrumb": 0, "debug": 0, "attach_stacktrac": 0, "ca_cert": 0, "propagate_trac": 0, "traces_sample_r": 0, "traces_sampl": 0, "profiles_sample_r": 0, "profiles_sampl": 0, "profiler_mod": 0, "auto_enabling_integr": 0, "auto_session_track": 0, "send_client_report": 0, "_experi": 0, "proxy_head": 0, "instrument": 0, "sentri": [0, 2], "before_send_transact": 0, "project_root": 0, "enable_trac": 0, "include_local_vari": 0, "include_source_context": 0, "trace_propagation_target": 0, "functions_to_trac": 0, "event_scrubb": 0, "sourc": [0, 2], "capture_ev": [0, 1], "event": [0, 2], "hint": 0, "scope": [0, 1], "captur": 0, "an": 0, "paramet": [0, 2], "dict": 0, "str": [0, 2], "ani": 0, "A": [0, 2], "readi": 0, "made": 0, "can": 0, "directli": 0, "sent": 0, "option": 0, "contain": 0, "metadata": 0, "about": 0, "read": 0, "from": 0, "origin": 0, "except": 0, "object": 0, "http": 0, "request": 0, "return": [0, 2], "type": [0, 2], "id": 0, "mai": 0, "i": [0, 1, 2], "set": 0, "sdk": 0, "decid": 0, "discard": 0, "other": [0, 1, 2], "reason": 0, "In": 0, "situat": 0, "init": 0, "help": 0, "close": [0, 1], "timeout": 0, "callback": 0, "shut": 0, "down": 0, "argument": 0, "have": [0, 2], "same": [0, 2], "semant": 0, "flush": [0, 1], "properti": 0, "configur": 0, "string": [0, 2], "wait": 0, "current": 0, "float": 0, "most": 0, "second": 0, "If": 0, "provid": 0, "valu": 0, "us": [0, 2], "callabl": 0, "int": 0, "invok": 0, "number": 0, "pend": 0, "httptransport": [0, 1], "The": [0, 2], "default": [0, 2], "capture_envelop": [0, 1], "envelop": 0, "send": 0, "ar": 0, "data": 0, "format": 0, "hold": 0, "submit": 0, "we": 0, "transact": [0, 1], "session": 0, "regular": 0, "error": 0, "should": 0, "go": 0, "through": 0, "backward": 0, "compat": 0, "thi": [0, 1, 2], "get": 0, "dictionari": 0, "when": 0, "out": 0, "kill": [0, 1], "forcefulli": 0, "record_lost_ev": [0, 1], "data_categori": 0, "item": 0, "increment": 0, "counter": 0, "loss": 0, "categori": 0, "hub": [0, 1], "client_or_hub": 0, "wrap": 0, "concurr": 0, "manag": 0, "each": [0, 2], "thread": 0, "ha": 0, "its": 0, "own": 0, "might": 0, "transfer": 0, "flow": 0, "execut": 0, "context": 0, "var": 0, "avail": 0, "statement": 0, "": [0, 1], "temporarili": 0, "activ": 0, "add_breadcrumb": [0, 1], "crumb": 0, "kwarg": 0, "add": 0, "breadcrumb": [0, 2], "v7": 0, "v8": 0, "protocol": 0, "expect": 0, "custom": 0, "emit": [0, 2], "bind_client": [0, 1], "new": 0, "bind": 0, "scope_arg": 0, "alia": 0, "capture_except": [0, 1], "union": 0, "baseexcept": 0, "tupl": 0, "tracebacktyp": 0, "catch": 0, "sy": 0, "exc_info": 0, "event_id": 0, "see": 0, "capture_messag": [0, 1], "messag": 0, "level": [0, 1, 2], "just": 0, "info": 0, "configure_scop": [0, 1], "continue_trac": [0, 1], "reconfigur": 0, "call": [0, 2], "contextmanag": 0, "end_sess": [0, 1], "end": 0, "one": 0, "get_integr": [0, 1], "name_or_class": 0, "name": [0, 2], "bound": 0, "doe": 0, "guarante": 0, "attach": 0, "iter_trace_propagation_head": [0, 1], "span": [0, 1], "header": 0, "which": [0, 2], "allow": 0, "propag": 0, "trace": 0, "taken": 0, "repres": 0, "gener": 0, "last_event_id": [0, 1], "last": 0, "pop_scope_unsaf": [0, 1], "pop": 0, "layer": 0, "stack": 0, "try": 0, "push_scop": [0, 1], "instead": 0, "push": 0, "method": 0, "again": 0, "resume_auto_session_track": [0, 1], "resum": 0, "automat": 0, "track": 0, "disabl": [0, 2], "earlier": 0, "requir": 0, "enabl": [0, 2], "run": [0, 1], "altern": 0, "typevar": 0, "t": 0, "start_sess": [0, 1], "session_mod": 0, "applic": 0, "start": 0, "start_span": [0, 1], "creat": 0, "time": 0, "whose": 0, "parent": 0, "instanc": 0, "typic": 0, "stop": 0, "block": 0, "onli": 0, "appropri": 0, "exampl": 0, "everi": 0, "incom": 0, "start_transact": [0, 1], "alreadi": 0, "progress": 0, "exist": 0, "given": 0, "otherwis": 0, "entri": 0, "point": 0, "manual": 0, "tree": 0, "structur": 0, "built": 0, "ad": 0, "child": 0, "To": 0, "within": 0, "respect": 0, "start_child": 0, "must": 0, "finish": 0, "befor": 0, "unfinish": 0, "all": 0, "noopspan": 0, "stop_auto_session_track": [0, 1], "trace_propagation_meta": [0, 1], "meta": 0, "tag": 0, "inject": 0, "html": 0, "templat": 0, "extra": 0, "inform": 0, "belong": 0, "add_attach": [0, 1], "byte": 0, "filenam": 0, "path": 0, "content_typ": 0, "add_to_transact": 0, "futur": 0, "add_error_processor": [0, 1], "func": 0, "cl": 0, "regist": 0, "local": 0, "processor": 0, "work": 0, "similar": 0, "tripl": 0, "process": 0, "add_event_processor": [0, 1], "function": 0, "behav": 0, "like": 0, "apply_to_ev": [0, 1], "appli": 0, "clear": [0, 1], "entir": 0, "clear_breadcrumb": [0, 1], "buffer": 0, "fingerprint": [0, 1], "overrid": 0, "generate_propagation_context": [0, 1], "incoming_data": 0, "popul": 0, "_propagation_context": 0, "either": 0, "get_dynamic_sampling_context": [0, 1], "dynam": 0, "sampl": 0, "get_trace_context": [0, 1], "get_tracepar": [0, 1], "aka": 0, "tracepar": 0, "iter_head": [0, 1], "baggag": 0, "iter": 0, "deprec": 0, "favor": 0, "set_level": [0, 1], "remove_context": [0, 1], "kei": 0, "remov": 0, "remove_extra": [0, 1], "specif": [0, 2], "remove_tag": [0, 1], "set_context": [0, 1], "certain": 0, "set_extra": [0, 1], "set_tag": [0, 1], "set_transaction_nam": [0, 1], "set_us": [0, 1], "user": [0, 1, 2], "root": 0, "baseclass": 0, "environ_or_head": 0, "op": 0, "get_baggag": [0, 1], "get_current_span": [0, 1], "api": 1, "document": 1, "For": 1, "full": 1, "resourc": 1, "visit": 1, "github": 1, "repositori": 1, "main": 1, "log": 1, "ignore_logg": [1, 2], "eventhandl": [1, 2], "breadcrumbhandl": [1, 2], "record": 2, "both": 2, "logger": 2, "among": 2, "mani": 2, "our": 2, "prevent": 2, "action": 2, "being": 2, "expos": 2, "wai": 2, "quiet": 2, "spammi": 2, "ignor": 2, "you": 2, "would": 2, "pass": 2, "getlogg": 2, "handler": 2, "note": 2, "do": 2}, "objects": {"": [[0, 0, 0, "-", "sentry_sdk"]], "sentry_sdk": [[0, 1, 1, "", "Client"], [0, 1, 1, "", "HttpTransport"], [0, 1, 1, "", "Hub"], [0, 1, 1, "", "Scope"], [0, 1, 1, "", "Transport"], [0, 4, 1, "", "add_breadcrumb"], [0, 4, 1, "", "capture_event"], [0, 4, 1, "", "capture_exception"], [0, 4, 1, "", "capture_message"], [0, 4, 1, "", "configure_scope"], [0, 4, 1, "", "continue_trace"], [0, 4, 1, "", "flush"], [0, 4, 1, "", "get_baggage"], [0, 4, 1, "", "get_current_span"], [0, 4, 1, "", "get_traceparent"], [0, 4, 1, "", "last_event_id"], [0, 4, 1, "", "push_scope"], [0, 4, 1, "", "set_context"], [0, 4, 1, "", "set_extra"], [0, 4, 1, "", "set_level"], [0, 4, 1, "", "set_tag"], [0, 4, 1, "", "set_user"], [0, 4, 1, "", "start_span"], [0, 4, 1, "", "start_transaction"]], "sentry_sdk.Client": [[0, 2, 1, "", "capture_event"], [0, 2, 1, "", "close"], [0, 3, 1, "", "dsn"], [0, 2, 1, "", "flush"]], "sentry_sdk.HttpTransport": [[0, 2, 1, "", "capture_envelope"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "kill"], [0, 2, 1, "", "record_lost_event"]], "sentry_sdk.Hub": [[0, 2, 1, "", "add_breadcrumb"], [0, 2, 1, "", "bind_client"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "capture_exception"], [0, 2, 1, "", "capture_message"], [0, 3, 1, "", "client"], [0, 2, 1, "", "configure_scope"], [0, 2, 1, "", "end_session"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "get_integration"], [0, 2, 1, "", "iter_trace_propagation_headers"], [0, 2, 1, "", "last_event_id"], [0, 2, 1, "", "pop_scope_unsafe"], [0, 2, 1, "", "push_scope"], [0, 2, 1, "", "resume_auto_session_tracking"], [0, 2, 1, "", "run"], [0, 3, 1, "", "scope"], [0, 2, 1, "", "start_session"], [0, 2, 1, "", "start_span"], [0, 2, 1, "", "start_transaction"], [0, 2, 1, "", "stop_auto_session_tracking"], [0, 2, 1, "", "trace_propagation_meta"]], "sentry_sdk.Scope": [[0, 2, 1, "", "add_attachment"], [0, 2, 1, "", "add_error_processor"], [0, 2, 1, "", "add_event_processor"], [0, 2, 1, "", "apply_to_event"], [0, 2, 1, "", "clear"], [0, 2, 1, "", "clear_breadcrumbs"], [0, 3, 1, "", "fingerprint"], [0, 2, 1, "", "generate_propagation_context"], [0, 2, 1, "", "get_dynamic_sampling_context"], [0, 2, 1, "", "get_trace_context"], [0, 2, 1, "", "get_traceparent"], [0, 2, 1, "", "iter_headers"], [0, 3, 1, "", "level"], [0, 2, 1, "", "remove_context"], [0, 2, 1, "", "remove_extra"], [0, 2, 1, "", "remove_tag"], [0, 2, 1, "", "set_context"], [0, 2, 1, "", "set_extra"], [0, 2, 1, "", "set_level"], [0, 2, 1, "", "set_tag"], [0, 2, 1, "", "set_transaction_name"], [0, 2, 1, "", "set_user"], [0, 3, 1, "", "span"], [0, 3, 1, "", "transaction"], [0, 3, 1, "", "user"]], "sentry_sdk.Transport": [[0, 2, 1, "", "capture_envelope"], [0, 2, 1, "", "capture_event"], [0, 2, 1, "", "flush"], [0, 2, 1, "", "kill"], [0, 2, 1, "", "record_lost_event"]], "sentry_sdk.integrations": [[2, 0, 0, "-", "logging"]], "sentry_sdk.integrations.logging": [[2, 1, 1, "", "BreadcrumbHandler"], [2, 1, 1, "", "EventHandler"], [2, 4, 1, "", "ignore_logger"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "function", "Python function"]}, "titleterms": {"main": 0, "api": 0, "sentri": 1, "python": 1, "sdk": 1, "integr": 2, "log": 2}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 57}, "alltitles": {"Main API": [[0, "main-api"]], "sentry-python - Sentry SDK for Python": [[1, "sentry-python-sentry-sdk-for-python"]], "Integrations": [[2, "integrations"]], "Logging": [[2, "module-sentry_sdk.integrations.logging"]]}, "indexentries": {"client (class in sentry_sdk)": [[0, "sentry_sdk.Client"]], "httptransport (class in sentry_sdk)": [[0, "sentry_sdk.HttpTransport"]], "hub (class in sentry_sdk)": [[0, "sentry_sdk.Hub"]], "scope (class in sentry_sdk)": [[0, "sentry_sdk.Scope"]], "transport (class in sentry_sdk)": [[0, "sentry_sdk.Transport"]], "add_attachment() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_attachment"]], "add_breadcrumb() (in module sentry_sdk)": [[0, "sentry_sdk.add_breadcrumb"]], "add_breadcrumb() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.add_breadcrumb"]], "add_error_processor() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_error_processor"]], "add_event_processor() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.add_event_processor"]], "apply_to_event() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.apply_to_event"]], "bind_client() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.bind_client"]], "capture_envelope() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.capture_envelope"]], "capture_envelope() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.capture_envelope"]], "capture_event() (in module sentry_sdk)": [[0, "sentry_sdk.capture_event"]], "capture_event() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.capture_event"]], "capture_event() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.capture_event"]], "capture_event() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_event"]], "capture_event() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.capture_event"]], "capture_exception() (in module sentry_sdk)": [[0, "sentry_sdk.capture_exception"]], "capture_exception() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_exception"]], "capture_message() (in module sentry_sdk)": [[0, "sentry_sdk.capture_message"]], "capture_message() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.capture_message"]], "clear() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.clear"]], "clear_breadcrumbs() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.clear_breadcrumbs"]], "client (sentry_sdk.hub property)": [[0, "sentry_sdk.Hub.client"]], "close() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.close"]], "configure_scope() (in module sentry_sdk)": [[0, "sentry_sdk.configure_scope"]], "configure_scope() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.configure_scope"]], "continue_trace() (in module sentry_sdk)": [[0, "sentry_sdk.continue_trace"]], "dsn (sentry_sdk.client property)": [[0, "sentry_sdk.Client.dsn"]], "end_session() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.end_session"]], "fingerprint (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.fingerprint"]], "flush() (in module sentry_sdk)": [[0, "sentry_sdk.flush"]], "flush() (sentry_sdk.client method)": [[0, "sentry_sdk.Client.flush"]], "flush() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.flush"]], "flush() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.flush"]], "flush() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.flush"]], "generate_propagation_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.generate_propagation_context"]], "get_baggage() (in module sentry_sdk)": [[0, "sentry_sdk.get_baggage"]], "get_current_span() (in module sentry_sdk)": [[0, "sentry_sdk.get_current_span"]], "get_dynamic_sampling_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.get_dynamic_sampling_context"]], "get_integration() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.get_integration"]], "get_trace_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.get_trace_context"]], "get_traceparent() (in module sentry_sdk)": [[0, "sentry_sdk.get_traceparent"]], "get_traceparent() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.get_traceparent"]], "iter_headers() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.iter_headers"]], "iter_trace_propagation_headers() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.iter_trace_propagation_headers"]], "kill() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.kill"]], "kill() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.kill"]], "last_event_id() (in module sentry_sdk)": [[0, "sentry_sdk.last_event_id"]], "last_event_id() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.last_event_id"]], "level (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.level"]], "module": [[0, "module-sentry_sdk"], [2, "module-sentry_sdk.integrations.logging"]], "pop_scope_unsafe() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.pop_scope_unsafe"]], "push_scope() (in module sentry_sdk)": [[0, "sentry_sdk.push_scope"]], "push_scope() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.push_scope"]], "record_lost_event() (sentry_sdk.httptransport method)": [[0, "sentry_sdk.HttpTransport.record_lost_event"]], "record_lost_event() (sentry_sdk.transport method)": [[0, "sentry_sdk.Transport.record_lost_event"]], "remove_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_context"]], "remove_extra() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_extra"]], "remove_tag() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.remove_tag"]], "resume_auto_session_tracking() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.resume_auto_session_tracking"]], "run() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.run"]], "scope (sentry_sdk.hub property)": [[0, "sentry_sdk.Hub.scope"]], "sentry_sdk": [[0, "module-sentry_sdk"]], "set_context() (in module sentry_sdk)": [[0, "sentry_sdk.set_context"]], "set_context() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_context"]], "set_extra() (in module sentry_sdk)": [[0, "sentry_sdk.set_extra"]], "set_extra() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_extra"]], "set_level() (in module sentry_sdk)": [[0, "sentry_sdk.set_level"]], "set_level() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_level"]], "set_tag() (in module sentry_sdk)": [[0, "sentry_sdk.set_tag"]], "set_tag() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_tag"]], "set_transaction_name() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_transaction_name"]], "set_user() (in module sentry_sdk)": [[0, "sentry_sdk.set_user"]], "set_user() (sentry_sdk.scope method)": [[0, "sentry_sdk.Scope.set_user"]], "span (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.span"]], "start_session() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_session"]], "start_span() (in module sentry_sdk)": [[0, "sentry_sdk.start_span"]], "start_span() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_span"]], "start_transaction() (in module sentry_sdk)": [[0, "sentry_sdk.start_transaction"]], "start_transaction() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.start_transaction"]], "stop_auto_session_tracking() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.stop_auto_session_tracking"]], "trace_propagation_meta() (sentry_sdk.hub method)": [[0, "sentry_sdk.Hub.trace_propagation_meta"]], "transaction (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.transaction"]], "user (sentry_sdk.scope property)": [[0, "sentry_sdk.Scope.user"]], "breadcrumbhandler (class in sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.BreadcrumbHandler"]], "eventhandler (class in sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.EventHandler"]], "ignore_logger() (in module sentry_sdk.integrations.logging)": [[2, "sentry_sdk.integrations.logging.ignore_logger"]], "sentry_sdk.integrations.logging": [[2, "module-sentry_sdk.integrations.logging"]]}}) \ No newline at end of file