@Singleton @Requires(beans=BraveTracerConfiguration.HttpClientSenderConfiguration.class) public class ZipkinServiceInstanceList extends java.lang.Object implements ServiceInstanceList
ServiceInstanceList
for Zipkin.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_ID |
Constructor and Description |
---|
ZipkinServiceInstanceList(BraveTracerConfiguration.HttpClientSenderConfiguration configuration)
Create a
ServiceInstanceList for Zipkin with existing configuration. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID() |
java.util.List<ServiceInstance> |
getInstances()
Returns the current list of services.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextPath
public static final java.lang.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 java.lang.String getID()
getID
in interface ServiceInstanceList
public java.util.List<ServiceInstance> getInstances()
ServiceInstanceList
getInstances
in interface ServiceInstanceList