Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Mar 13, 2024
1 parent 8f9d49e commit d27c5cd
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,35 @@

### Various fixes & improvements

- build(deps): bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 (#2797) by @dependabot
- ref: Event Type (#2753) by @szokeasaurusrex
- Discard open spans after 10 minutes (#2801) by @antonpirker
- Add a method for normalizing data passed to set_data (#2800) by @colin-sentry
- OpenAI integration (#2791) by @colin-sentry
- Propagate sentry-trace and baggage to huey tasks (#2792) by @cnschn
- ref: Improve scrub_dict typing (#2768) by @szokeasaurusrex
- **New integration:** [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/) (#2791) by @colin-sentry

We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK.

Useage:

This integrations is auto-enabling, so if you have the `openai` package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client.

```python
from openai import OpenAI

import sentry_sdk

sentry_sdk.init(
dsn="___PUBLIC_DSN___",
enable_tracing=True,
traces_sample_rate=1.0,
)

client = OpenAI()
```

For more information, see the documentation for [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/).

- Discard open OpenTelemetry spans after 10 minutes (#2801) by @antonpirker
- Propagate sentry-trace and baggage headers to Huey tasks (#2792) by @cnschn
- Added Event type (#2753) by @szokeasaurusrex
- Improve scrub_dict typing (#2768) by @szokeasaurusrex
- Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 (#2797) by @dependabot

## 1.41.0

Expand Down

0 comments on commit d27c5cd

Please sign in to comment.