Interface InfoObserverConfig

All Superinterfaces:
ObserverConfigBase, Prototype.Api, Prototype.Factory<InfoObserver>
All Known Implementing Classes:
InfoObserverConfig.BuilderBase.InfoObserverConfigImpl

public interface InfoObserverConfig extends Prototype.Api, ObserverConfigBase
Info Observer configuration.
See Also:
  • Method Details

    • builder

      static InfoObserverConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static InfoObserverConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static InfoObserverConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • endpoint

      String endpoint()
    • name

      String name()
    • values

      Map<String,String> values()
      Values to be exposed using this observability endpoint.
      Returns:
      value map
    • enabled

      boolean enabled()
      Whether this observer is enabled.
      Returns:
      false to disable observer