@Singleton @Requires(beans=BraveTracerConfiguration.HttpClientSenderConfiguration.class) public class ZipkinServiceInstanceList extends Object implements ServiceInstanceList
ServiceInstanceList
for Zipkin.Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_ID |
Constructor and Description |
---|
ZipkinServiceInstanceList(BraveTracerConfiguration.HttpClientSenderConfiguration configuration)
Create a
ServiceInstanceList for Zipkin with existing configuration. |
Modifier and Type | Method and Description |
---|---|
String |
getID() |
List<ServiceInstance> |
getInstances()
Returns the current list of services.
|
public static final String SERVICE_ID
public ZipkinServiceInstanceList(BraveTracerConfiguration.HttpClientSenderConfiguration configuration)
ServiceInstanceList
for Zipkin with existing configuration.configuration
- Used to configure HTTP trace sending under the tracing.zipkin.http
namespace.public String getID()
getID
in interface ServiceInstanceList
public List<ServiceInstance> getInstances()
ServiceInstanceList
getInstances
in interface ServiceInstanceList