Skip to content

Commit ac5e046

Browse files
Anusha NarapureddyAnusha Narapureddy
authored andcommitted
sampling rough draft
1 parent f08fddb commit ac5e046

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

05-sampling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ https://opentelemetry.io/docs/languages/sdk-configuration/general/#otel_traces_s
6565
Tail sampling is where the decision to sample a trace takes place by considering all or most of the spans within the trace. Tail Sampling gives you the option to sample your traces based on specific criteria derived from different parts of a trace, which isn’t an option with Head Sampling.
6666

6767
```yaml
68-
# Samples spans with status codes ERROR (OK spans dropped) and
69-
# traces which have a duration longer than 500ms.
68+
# Sample 100% of traces with ERROR-ing spans (omit traces with all OK spans)
69+
# and traces which have a duration longer than 500ms
7070
processors:
7171
tail_sampling:
7272
decision_wait: 10s # time to wait before making a sampling decision is made

0 commit comments

Comments
 (0)