2. Configure the meter config file, It already has the [spring sleuth meter config](../../../../oap-server/server-bootstrap/src/main/resources/meter-analyzer-config/spring-sleuth.yaml).
2. Configure the meter config file, It already has the [spring sleuth meter config](../../../../oap-server/server-bootstrap/src/main/resources/meter-analyzer-config/spring-sleuth.yaml).
If you also has some customized meter at the agent side, please read [meter document](backend-meter.md#meters-configure) to configure meter.
If you also has some customized meter at the agent side, please read [meter document](backend-meter.md#meters-configure) to configure meter.
3. Enable Spring sleuth config in the `applicaiton.yml`.
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.
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.
meterAnalyzerActiveFiles:${SW_METER_ANALYZER_ACTIVE_FILES:spring-sleuth}# Which files could be meter analyzed, files split by ","
meterAnalyzerActiveFiles:${SW_METER_ANALYZER_ACTIVE_FILES:}# Which files could be meter analyzed, files split by ","