Skip to content

Commit 866d36d

Browse files
authored
feat(backpressure): Clarify languages in perf overhead and add ruby option (#9458)
1 parent 2f51304 commit 866d36d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/platforms/ruby/common/configuration/options.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@ You can gain more control on tracing event (transaction)'s sampling decision by
247247

248248
<PlatformContent includePath="performance/traces-sampler-as-sampler" />
249249

250+
`enable_backpressure_handling`
251+
252+
A boolean that controls whether a new monitor thread will be spawned to perform health checks on the SDK. If the system is unhealthy, the SDK will keep halving the `traces_sample_rate` set by you in 10 second intervals until recovery. This downsampling helps ensure that the system stays stable and reduces SDK overhead under high load.
253+
254+
This option is disabled by default.
255+
250256
## Transport Options
251257

252258
`transport_class`

docs/product/performance/performance-overhead.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,15 @@ Each SDK has limits on the data structures used to record all the above data. If
3131

3232
### Backpressure Management
3333

34-
The Python SDK, starting with version `1.30.0`, manages backpressure internally by reducing the dynamic sampling rate when the system is in an unhealthy state. This ensures better system stability and lower SDK overhead under heavy load. We will gradually roll this out to other backend languages in the future.
34+
Some of our backend SDKs manage backpressure internally by reducing the dynamic sampling rate when the system is in an unhealthy state. This ensures better system stability and lower SDK overhead under heavy load.
35+
36+
The latest versions of the following SDKs support backpressure management:
37+
38+
- Python
39+
- Ruby
40+
- Java
41+
42+
We will gradually roll this feature out to other backend languages in the future.
3543

3644
### Hosting Environment
3745

0 commit comments

Comments
 (0)