Linux boca.hozzt.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
: 159.253.39.62 | : 3.136.20.100
Cant Read [ /etc/named.conf ]
7.4.33
renovkoron
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
cloudlinux /
venv /
lib /
python3.11 /
site-packages /
sentry_sdk /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
crons
[ DIR ]
drwxr-xr-x
integrations
[ DIR ]
drwxr-xr-x
__init__.py
1.03
KB
-rw-r--r--
_compat.py
2.73
KB
-rw-r--r--
_functools.py
4.84
KB
-rw-r--r--
_lru_cache.py
5.26
KB
-rw-r--r--
_queue.py
11
KB
-rw-r--r--
_types.py
2.19
KB
-rw-r--r--
_werkzeug.py
3.7
KB
-rw-r--r--
api.py
6.05
KB
-rw-r--r--
attachments.py
1.77
KB
-rw-r--r--
client.py
22.35
KB
-rw-r--r--
consts.py
8.49
KB
-rw-r--r--
debug.py
1.11
KB
-rw-r--r--
envelope.py
9.37
KB
-rw-r--r--
hub.py
26.42
KB
-rw-r--r--
monitor.py
2.97
KB
-rw-r--r--
profiler.py
33.18
KB
-rw-r--r--
py.typed
0
B
-rw-r--r--
scope.py
24.26
KB
-rw-r--r--
scrubber.py
3.8
KB
-rw-r--r--
serializer.py
12.97
KB
-rw-r--r--
session.py
5.43
KB
-rw-r--r--
sessions.py
5.76
KB
-rw-r--r--
tracing.py
29.04
KB
-rw-r--r--
tracing_utils.py
12
KB
-rw-r--r--
tracing_utils_py2.py
1.21
KB
-rw-r--r--
tracing_utils_py3.py
2.1
KB
-rw-r--r--
transport.py
18.13
KB
-rw-r--r--
utils.py
45.58
KB
-rw-r--r--
worker.py
4.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tracing_utils_py3.py
import inspect from functools import wraps import sentry_sdk from sentry_sdk import get_current_span from sentry_sdk._types import TYPE_CHECKING from sentry_sdk.consts import OP from sentry_sdk.utils import logger, qualname_from_function if TYPE_CHECKING: from typing import Any def start_child_span_decorator(func): # type: (Any) -> Any """ Decorator to add child spans for functions. This is the Python 3 compatible version of the decorator. For Python 2 there is duplicated code here: ``sentry_sdk.tracing_utils_python2.start_child_span_decorator()``. See also ``sentry_sdk.tracing.trace()``. """ # Asynchronous case if inspect.iscoroutinefunction(func): @wraps(func) async def func_with_tracing(*args, **kwargs): # type: (*Any, **Any) -> Any span = get_current_span(sentry_sdk.Hub.current) if span is None: logger.warning( "Can not create a child span for %s. " "Please start a Sentry transaction before calling this function.", qualname_from_function(func), ) return await func(*args, **kwargs) with span.start_child( op=OP.FUNCTION, description=qualname_from_function(func), ): return await func(*args, **kwargs) # Synchronous case else: @wraps(func) def func_with_tracing(*args, **kwargs): # type: (*Any, **Any) -> Any span = get_current_span(sentry_sdk.Hub.current) if span is None: logger.warning( "Can not create a child span for %s. " "Please start a Sentry transaction before calling this function.", qualname_from_function(func), ) return func(*args, **kwargs) with span.start_child( op=OP.FUNCTION, description=qualname_from_function(func), ): return func(*args, **kwargs) return func_with_tracing
Close