Creates a MetricFilter from a regular Scala function that accepts a name and a metric and
returns a boolean: (String, Metric) => Boolean
.
Creates a MetricFilter from a regular Scala function that accepts a name and a metric and
returns a boolean: (String, Metric) => Boolean
.
the function to convert
a MetricFilter
Creates a MetricSupplier from a regular Scala function that returns a Metric: () => Metric
.
Creates a MetricSupplier from a regular Scala function that returns a Metric: () => Metric
.
the metric type
the function to convert
a MetricSupplier
Implicit conversions of Scala functions to Metric interfaces.
NOTE: no longer needed in Scala 2.12 and later.