File tree Expand file tree Collapse file tree 2 files changed +27
-18
lines changed
docs/reference/edot-collector/config
internal/pkg/otel/samples/linux Expand file tree Collapse file tree 2 files changed +27
-18
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,17 @@ connectors:
3131
3232processors :
3333 tail_sampling :
34- decision_wait : 5s
35- num_traces : 50000
34+ decision_wait : 10s
35+ num_traces : 100
3636 expected_new_traces_per_sec : 10
3737 policies :
38- - name : sample_10_percent
39- type : probabilistic
40- probabilistic :
41- sampling_percentage : 10
38+ [
39+ {
40+ name : latency-5000ms-10000ms,
41+ type : latency,
42+ latency : {threshold_ms: 5000, upper_threshold_ms: 10000}
43+ }
44+ ]
4245service :
4346 pipelines :
4447 traces/1-process-elastic :
@@ -73,14 +76,17 @@ connectors:
7376
7477processors:
7578 tail_sampling:
76- decision_wait: 5s
77- num_traces: 50000
79+ decision_wait: 10s
80+ num_traces: 100
7881 expected_new_traces_per_sec: 10
7982 policies:
80- - name: sample_10_percent
81- type: probabilistic
82- probabilistic:
83- sampling_percentage: 10
83+ [
84+ {
85+ name: latency-5000ms-10000ms,
86+ type: latency,
87+ latency: {threshold_ms: 5000, upper_threshold_ms: 10000}
88+ }
89+ ]
8490service:
8591 pipelines:
8692 traces/1-process-elastic:
Original file line number Diff line number Diff line change @@ -21,14 +21,17 @@ processors:
2121 timeout : 1s
2222 elastictrace : {} # Elastic Trace Processor
2323 tail_sampling :
24- decision_wait : 5s
25- num_traces : 50000
24+ decision_wait : 10s
25+ num_traces : 100
2626 expected_new_traces_per_sec : 10
2727 policies :
28- - name : sample_10_percent
29- type : probabilistic
30- probabilistic :
31- sampling_percentage : 10
28+ [
29+ {
30+ name : latency-5000ms-10000ms,
31+ type : latency,
32+ latency : {threshold_ms: 5000, upper_threshold_ms: 10000}
33+ }
34+ ]
3235
3336exporters :
3437 debug : {}
You can’t perform that action at this time.
0 commit comments