public class DiscoveryClientHostLocator extends Object implements HostLocator
HostLocator that tries to find local service information from a
DiscoveryClient.
You can override the value of service id by ZipkinProperties#setName(String)| Constructor and Description |
|---|
DiscoveryClientHostLocator(org.springframework.cloud.client.discovery.DiscoveryClient client)
Deprecated.
|
DiscoveryClientHostLocator(org.springframework.cloud.client.discovery.DiscoveryClient client,
ZipkinProperties zipkinProperties) |
@Deprecated public DiscoveryClientHostLocator(org.springframework.cloud.client.discovery.DiscoveryClient client)
public DiscoveryClientHostLocator(org.springframework.cloud.client.discovery.DiscoveryClient client,
ZipkinProperties zipkinProperties)
public Host locate(Span span)
locate in interface HostLocatorCopyright © 2017 Pivotal Software, Inc.. All rights reserved.