@@ -14,7 +14,7 @@ In **agent-analyzer** module, you will find `sampleRate` setting.
agent-analyzer:
default:
...
sampleRate:${SW_TRACE_SAMPLE_RATE:1000}# The sample rate precision is 1/10000. 10000 means 100% sample in default.
sampleRate:${SW_TRACE_SAMPLE_RATE:10000}# The sample rate precision is 1/10000. 10000 means 100% sample in default.
forceSampleErrorSegment:${SW_FORCE_SAMPLE_ERROR_SEGMENT:true}# When sampling mechanism activated, this config would make the error status segment sampled, ignoring the sampling rate.
slowTraceSegmentThreshold:${SW_SLOW_TRACE_SEGMENT_THRESHOLD:-1}# Setting this threshold about the latency would make the slow trace segments sampled if they cost more time, even the sampling mechanism activated. The default value is `-1`, which means would not sample slow traces. Unit, millisecond.