Class ZipkinServiceInstanceList

java.lang.Object
io.micronaut.tracing.zipkin.http.client.ZipkinServiceInstanceList
All Implemented Interfaces:
io.micronaut.discovery.ServiceInstanceList

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

  • Constructor Details

    • ZipkinServiceInstanceList

      public ZipkinServiceInstanceList(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 Details

    • getID

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

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