# The number of sampled traces per 3 seconds
# 每3秒采样的轨迹数量, [500~1500]
# Negative or zero means off, by default
# 默认情况下,负数或零表示关闭
agent.sample_n_per_3_secs=${SW_AGENT_SAMPLE:-1}
# The max number of TraceSegmentRef in a single span to keep memory cost estimatable.
# 单个span中保持可估算内存开销的最大TraceSegmentRef数量
agent.trace_segment_ref_limit_per_span=${SW_TRACE_SEGMENT_LIMIT:500}
# The max amount of spans in a single segment.
# 单个segment中的最大span数量
# Through this config item, SkyWalking keep your application memory cost estimated.
#通过这个配置项,skywalk可以估算应用程序的内存开销。
agent.span_limit_per_segment=${SW_AGENT_SPAN_LIMIT:300}
skywalking-agent.config
于 2023-07-21 12:04:17 首次发布