Skip to content

Commit

Permalink
Made nice changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Feb 7, 2023
1 parent c03dd67 commit b0dbdab
Showing 1 changed file with 67 additions and 11 deletions.
78 changes: 67 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,73 @@

### Various fixes & improvements

- ref(profiling): Do not send single sample profiles (#1879) by @Zylphrex
- tests(profiling): Add additional test coverage for profiler (#1877) by @Zylphrex
- fix(profiling): Always use builtin time.sleep (#1869) by @Zylphrex
- Fix check for Starlette in FastAPI integration (#1868) by @antonpirker
- tests: Add py3.11 to test-common (#1871) by @Zylphrex
- Do not overwrite default for username with email address in FlaskIntegration (#1873) by @homeworkprod
- feat(profiling): Enable profiling on all transactions (#1797) by @Zylphrex
- Add Huey Integration (#1555) by @Zhenay
- ref(profiling): Remove use of threading.Event (#1864) by @Zylphrex
- Don't log whole event in before_send / event_processor drops (#1863) by @sl0thentr0py
- fix(profiling): Defaul in_app decision to None (#1855) by @Zylphrex
- New: Add [Huey](https://huey.readthedocs.io/en/latest/) Integration (#1555) by @Zhenay

This integration will create performance spans when Huey tasks will be enqueued and when they will be executed.

Usage:

Task definition in `demo.py`:

```python
import time

from huey import SqliteHuey, crontab

import sentry_sdk
from sentry_sdk.integrations.huey import HueyIntegration

sentry_sdk.init(
dsn="...",
integrations=[
HueyIntegration(),
],
traces_sample_rate=1.0,
)

huey = SqliteHuey(filename='/tmp/demo.db')

@huey.task()
def add_numbers(a, b):
return a + b
```

Running the tasks in `run.py`:

```python
from demo import add_numbers, flaky_task, nightly_backup

import sentry_sdk
from sentry_sdk.integrations.huey import HueyIntegration
from sentry_sdk.tracing import TRANSACTION_SOURCE_COMPONENT, Transaction


def main():
sentry_sdk.init(
dsn="...",
integrations=[
HueyIntegration(),
],
traces_sample_rate=1.0,
)

with sentry_sdk.start_transaction(name="testing_huey_tasks", source=TRANSACTION_SOURCE_COMPONENT):
r = add_numbers(1, 2)

if __name__ == "__main__":
main()
```

- Profiling: Do not send single sample profiles (#1879) by @Zylphrex
- Profiling: Add additional test coverage for profiler (#1877) by @Zylphrex
- Profiling: Always use builtin time.sleep (#1869) by @Zylphrex
- Profiling: Defaul in_app decision to None (#1855) by @Zylphrex
- Profiling: Remove use of threading.Event (#1864) by @Zylphrex
- Profiling: Enable profiling on all transactions (#1797) by @Zylphrex
- FastAPI: Fix check for Starlette in FastAPI integration (#1868) by @antonpirker
- Flask: Do not overwrite default for username with email address in FlaskIntegration (#1873) by @homeworkprod
- Tests: Add py3.11 to test-common (#1871) by @Zylphrex
- Fix: Don't log whole event in before_send / event_processor drops (#1863) by @sl0thentr0py

## 1.14.0

Expand Down

0 comments on commit b0dbdab

Please sign in to comment.