Search in sources :

Example 1 with HttpSampler

use of brave.http.HttpSampler in project spring-cloud-sleuth by spring-cloud.

the class CompositeHttpSampler method combineUserProvidedSamplerWithSkipPatternSampler.

private HttpSampler combineUserProvidedSamplerWithSkipPatternSampler(SkipPatternProvider provider) {
    HttpSampler serverSampler = this.serverSampler;
    SleuthHttpSampler skipPatternSampler = new SleuthHttpSampler(provider);
    if (serverSampler == null) {
        return skipPatternSampler;
    }
    return new CompositeHttpSampler(skipPatternSampler, serverSampler);
}
Also used : HttpSampler(brave.http.HttpSampler)

Aggregations

HttpSampler (brave.http.HttpSampler)1