Class TracingObserveProvider

java.lang.Object
io.helidon.webserver.observe.tracing.TracingObserveProvider
All Implemented Interfaces:
ConfiguredProvider<Observer>, ObserveProvider

@Deprecated public class TracingObserveProvider extends Object implements ObserveProvider
Deprecated.
this type is only to be used from ServiceLoader
ServiceLoader provider implementation for tracing observe provider.
  • Constructor Details

    • TracingObserveProvider

      @Deprecated public TracingObserveProvider()
      Deprecated.
      this constructor must be public for ServiceLoader
      Default constructor required by ServiceLoader. Do not use.
  • Method Details

    • configKey

      public String configKey()
      Deprecated.
      Description copied from interface: ObserveProvider
      Configuration key of this provider. The following keys must be honored by Observe support:
      • enabled - enable/disable the service
      • endpoint - endpoint, if starts with / then absolute, otherwise relative to observe endpoint
      • cors - CORS setup for this endpoint
      Specified by:
      configKey in interface ConfiguredProvider<Observer>
      Specified by:
      configKey in interface ObserveProvider
      Returns:
      configuration key of this provider (such as health)
    • create

      public Observer create(Config config, String name)
      Deprecated.
      Description copied from interface: ObserveProvider
      Create a new observer from the provided configuration.
      Specified by:
      create in interface ConfiguredProvider<Observer>
      Specified by:
      create in interface ObserveProvider
      Parameters:
      config - configuration of this provider
      name - name of the instance
      Returns:
      a new observer to be registered with routing