Class AutoHttpMetricsConfig.BuilderBase.AutoHttpMetricsConfigImpl

java.lang.Object
io.helidon.webserver.observe.metrics.AutoHttpMetricsConfig.BuilderBase.AutoHttpMetricsConfigImpl
All Implemented Interfaces:
Prototype.Api, AutoHttpMetricsConfig
Enclosing class:
AutoHttpMetricsConfig.BuilderBase<BUILDER extends AutoHttpMetricsConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends AutoHttpMetricsConfig>

protected static class AutoHttpMetricsConfig.BuilderBase.AutoHttpMetricsConfigImpl extends Object implements AutoHttpMetricsConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • AutoHttpMetricsConfigImpl

      protected AutoHttpMetricsConfigImpl(AutoHttpMetricsConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • enabled

      public boolean enabled()
      Description copied from interface: AutoHttpMetricsConfig
      Whether automatic metrics collection as a whole is enabled.
      Specified by:
      enabled in interface AutoHttpMetricsConfig
      Returns:
      automatic metrics collection enabled
    • sockets

      public Set<String> sockets()
      Description copied from interface: AutoHttpMetricsConfig
      Socket names for sockets to be instrumented with automatic metrics. Defaults to all sockets.
      Specified by:
      sockets in interface AutoHttpMetricsConfig
      Returns:
      socket names
    • paths

      Description copied from interface: AutoHttpMetricsConfig
      Automatic metrics collection settings. Default excludes built-in Helidon paths (e.g., metrics, health). A request's path and HTTP method are checked against each entry under paths in order.
      • If a request matches no entry, then the request is measured.
      • If a request matches multiple entries, then the first match wins.
      Specified by:
      paths in interface AutoHttpMetricsConfig
      Returns:
      automatic metrics collection settings
    • optIn

      public List<String> optIn()
      Description copied from interface: AutoHttpMetricsConfig
      Elective attribute for which to opt in. Each string in the list is of the form meter-name:attribute-name where meter-name is the name of the meter and attribute-name is the name of an attribute (tag) which is optional on that meter.
      Specified by:
      optIn in interface AutoHttpMetricsConfig
      Returns:
      opt-in attributes to be provided
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object