public interface ZipkinRestTemplateCustomizer
RestTemplate
used to report spans to Zipkin.
For example, they can add an additional header needed by their environment.
Implementors must gzip according to ZipkinProperties.Compression
,
for example by using the DefaultZipkinRestTemplateCustomizer
.
Modifier and Type | Method and Description |
---|---|
void |
customize(org.springframework.web.client.RestTemplate restTemplate) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.