Class ZipkinServiceInstanceList

  • All Implemented Interfaces:
    io.micronaut.discovery.ServiceInstanceList

    @Singleton
    @Requires(beans=HttpClientSenderConfiguration.class)
    public class ZipkinServiceInstanceList
    extends java.lang.Object
    implements io.micronaut.discovery.ServiceInstanceList
    A ServiceInstanceList for Zipkin.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SERVICE_ID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getID()  
      java.util.List<io.micronaut.discovery.ServiceInstance> getInstances()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micronaut.discovery.ServiceInstanceList

        getContextPath
    • Constructor Detail

      • ZipkinServiceInstanceList

        public ZipkinServiceInstanceList​(BraveTracerConfiguration.HttpClientSenderConfiguration configuration)
        Create a ServiceInstanceList for Zipkin with existing configuration.
        Parameters:
        configuration - used to configure HTTP trace sending under the tracing.zipkin.http namespace.
    • Method Detail

      • getID

        public java.lang.String getID()
        Specified by:
        getID in interface io.micronaut.discovery.ServiceInstanceList
      • getInstances

        public java.util.List<io.micronaut.discovery.ServiceInstance> getInstances()
        Specified by:
        getInstances in interface io.micronaut.discovery.ServiceInstanceList