Skip to content

Commit

Permalink
feat(sentry-sdk): Enable HTTP2 transport
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK committed Oct 17, 2024
1 parent c122518 commit 0150c00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sentry/utils/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ def _get_sdk_options() -> tuple[SdkConfig, Dsns]:
sdk_options["release"] = (
f"backend@{sdk_options['release']}" if "release" in sdk_options else None
)
sdk_options.setdefault("_experiments", {}).update(
transport_http2=True,
)

# Modify SENTRY_SDK_CONFIG in your deployment scripts to specify your desired DSN
dsns = Dsns(
Expand Down

0 comments on commit 0150c00

Please sign in to comment.