sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

The official Python SDK for Sentry.io

Results 566 sentry-python issues
Sort by recently updated
recently updated
newest added

### Problem Statement The `sentry_sdk.trace` decorator takes no arguments (besides the function being decorated). This means that the user cannot specify custom arguments to the `start_span` that the `trace` decorator...

enhancement

The [`TRANSACTION_SOURCE_*` constants defined in `tracing.py`](https://github.com/getsentry/sentry-python/blob/c8e917205d77e143c68c0cda4df877167d402830/sentry_sdk/tracing.py#L40) would likely make more sense to be defined as enums. We can then redefine the functions that accept as an argument a transaction source...

Enhancement
Good first issue
Hacktoberfest 🎃
Component: SDK Core
Triaged

Close #2372 I've looked at code and decided to add the same wrapper to `send_task` as for `apply_async` because there is almost no difference besides `args` variable. And inside test...

Integration: Celery

Sentry Issue: [SENTRY-143A](https://sentry.sentry.io/issues/4344001645/?referrer=github_integration) ``` AttributeError: 'PromiseProxy' object has no attribute '__thing' File "celery/local.py", line 317, in _get_current_object return object.__getattribute__(self, '__thing') AttributeError: _Proxy__local (8 additional frame(s) were not displayed) ... File...

Type: Bug
Integration: Celery

### Problem Statement Sentry's built-in profiling is reasonably low-overhead, but it takes a snapshot of the app's stack every ~10ms. This can miss quite a lot of events. Before Python...

enhancement
Feature: Profiling

Opened this PR since I realized that this work was out of scope for #2656. See https://github.com/getsentry/sentry-python/pull/2656#discussion_r1459046434 for context.

### Version 1.39.2 ### Steps to Reproduce Run the common test suite in CI. Chances are the cloud_resource_context test_setup_once test will report a failure. ### Expected Result The test is...

Type: Bug
Component: Tests
Component: CI

### Problem Statement We may want to look at migration or tests performances, like requests, manages commands may be profiled and error tracked ### Solution Brainstorm Allow to Override relevant...

Enhancement
Integration: Django

### Problem Statement I have an asynchronous Python app which continual polls various rest api's with httpx Something like ``` try: async with httpx.AsyncClient() as client: result = await client.post(url)...

Enhancement
Triaged

### Problem Statement It would be nice to have spans for when python modules are loaded dynamically. This could be instrumented: https://docs.python.org/3/library/importlib.html#importlib.import_module (This would also be useful in Django apps...

enhancement
triaged