Skip to content

Commit ed4a62c

Browse files
Merge branch 'master' into szokeasaurusrex/fork-flaky-continuous-profiler-test
2 parents 8b76b93 + d34c99a commit ed4a62c

File tree

5 files changed

+167
-94
lines changed

5 files changed

+167
-94
lines changed

requirements-testing.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ pysocks
1313
socksio
1414
httpcore[http2]
1515
setuptools
16+
Brotli

sentry_sdk/consts.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ class EndpointType(Enum):
1818
ENVELOPE = "envelope"
1919

2020

21+
class CompressionAlgo(Enum):
22+
GZIP = "gzip"
23+
BROTLI = "br"
24+
25+
2126
if TYPE_CHECKING:
2227
import sentry_sdk
2328

@@ -59,6 +64,8 @@ class EndpointType(Enum):
5964
"continuous_profiling_mode": Optional[ContinuousProfilerMode],
6065
"otel_powered_performance": Optional[bool],
6166
"transport_zlib_compression_level": Optional[int],
67+
"transport_compression_level": Optional[int],
68+
"transport_compression_algo": Optional[CompressionAlgo],
6269
"transport_num_pools": Optional[int],
6370
"transport_http2": Optional[bool],
6471
"enable_metrics": Optional[bool],

0 commit comments

Comments
 (0)