-
Notifications
You must be signed in to change notification settings - Fork 3
采样Sampling介绍
laziobird edited this page Feb 24, 2022
·
4 revisions
services:
telemetry:
logs:
level:"debug"
只上报异常链路采样Demo:http://106.14.209.9:8080/error 错误URL示例
processors:
batch:
tail_sampling:
##decision_wait: 10s
##num_traces: 100
##expected_new_traces_per_sec: 100
policies:
[
{
name: test-policy-5,
type: status_code,
status_code: {status_codes: [ERROR]}
}
]
service:
extensions: [pprof,health_check]
pipelines:
traces:
receivers: [otlp]
processors: [tail_sampling]
exporters: [jaeger]
如果有什么疑问和建议,欢迎提交issues,我会第一时间回复