Interface InvalidMetricHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

  • Field Details

  • Method Details

    • suppressException

      boolean suppressException(String metricName, Exception exc)
      Parameters:
      metricName - the name of the metric that was collected.
      exc - The exception that was thrown when producing the metric snapshot.
      Returns:
      true if the exception should be suppressed.