public JerseyClientTraceFilter(final ClientTracer clientTracer, final Optional<String> serviceName, final Optional<SpanNameFilter> spanNameFilter) {
Validate.notNull(clientTracer);
Validate.notNull(serviceName);
Validate.notNull(spanNameFilter);
clientRequestInterceptor = new ClientRequestInterceptor(clientTracer, spanNameFilter);
clientResponseInterceptor = new ClientResponseInterceptor(clientTracer);
this.serviceName = serviceName;
}