Class LoggerDrivenMetricFilter

java.lang.Object
org.opensaml.core.metrics.LoggerDrivenMetricFilter
All Implemented Interfaces:
com.codahale.metrics.MetricFilter

public class LoggerDrivenMetricFilter extends Object implements com.codahale.metrics.MetricFilter
MetricFilter that evaluates a metric by prefixing the name and then evaluating whether the corresponding logging category is enabled at a level corresponding to a map value or at INFO level.
Since:
3.3.0
  • Field Details

  • Constructor Details

  • Method Details

    • matches

      public boolean matches(String name, com.codahale.metrics.Metric metric)
      Specified by:
      matches in interface com.codahale.metrics.MetricFilter