Class ObserveFeature

java.lang.Object
io.helidon.nima.observe.ObserveFeature
All Implemented Interfaces:
Weighted, HttpFeature, ServerLifecycle, Comparable<Weighted>, Supplier<HttpFeature>

public class ObserveFeature extends Object implements HttpFeature, Weighted
Support for all observe providers that are available (or configured).
  • Method Details

    • builder

      public static ObserveFeature.Builder builder()
      A new builder to customize observe support.
      Returns:
      a new builder
    • create

      public static ObserveFeature create(ObserveProvider... providers)
      Create a new support with default configuration and an explicit list of providers. This will not use providers discovered by ServiceLoader.
      Parameters:
      providers - providers to use
      Returns:
      a new observe support
    • create

      public static ObserveFeature create()
      Create a new support with default configuration and a list of providers discovered by ServiceLoader.
      Returns:
      a new observe support
    • create

      public static ObserveFeature create(Config config)
      Create a new support with custom configuration.
      Parameters:
      config - configuration to read observe config from
      Returns:
      a new observe support
    • setup

      public void setup(HttpRouting.Builder routing)
      Description copied from interface: HttpFeature
      Method to set up a feature.
      Specified by:
      setup in interface HttpFeature
      Parameters:
      routing - routing builder