You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design-docs/python-centralized-sampling.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,19 +47,19 @@ The OpenTelemetry Specification contains a [Sampler interface](https://github.co
47
47
The code snippet below demonstrates how a customer would configure their tracer provider to use the proposed remote sampler. Assume that the new sampler has been named `RemoteSampler`
# created spans will now be sampled by the new RemoteSampler
80
+
with trace.get_tracer(__name__).start_as_current_span("Test Span"):
81
81
print("Testing Remote Sampler!")
82
82
```
83
83
@@ -93,7 +93,7 @@ The [X-Ray API docs](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-s
93
93
**Reservoir*: A fixed number of matching requests to instrument per second before applying the fixed rate. (For example, the reservoir in the second sampling rule in this example indicates that 2 requests will be instrumented before applying the fixed rate of 0.1%).
94
94
**Borrowed from reservoir*: the number of requests sampled by borrowing from the reservoir.
0 commit comments