File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,24 +20,20 @@ spec:
2020 http:
2121 endpoint: 0.0.0.0:4318
2222
23- processors:
23+ processors:
24+ # Sample 100% of traces with ERROR-ing spans (omit traces with all OK spans)
25+ # and traces which have a duration longer than 500ms
2426 tail_sampling:
2527 decision_wait: 10s # time to wait before making a sampling decision is made
2628 num_traces: 100 # number of traces to be kept in memory
2729 expected_new_traces_per_sec: 10 # expected rate of new traces per second
2830 policies:
29- [
30- {
31- name: keep-errors,
32- type: status_code,
33- status_code: {status_codes: [ERROR]}
34- },
35- {
36- name: keep-slow-traces,
37- type: latency,
38- latency: {threshold_ms: 500}
39- }
40- ]
31+ - name: keep-errors
32+ type: status_code
33+ status_code: {status_codes: [ERROR, UNSET]}
34+ - name: keep-slow-traces
35+ type: latency
36+ latency: {threshold_ms: 500}
4137
4238 exporters:
4339 otlp/traces:
You can’t perform that action at this time.
0 commit comments