beforeMetricCallback property

BeforeMetricCallback? beforeMetricCallback
getter/setter pair

This function is called right before a metric is about to be emitted. Can return true to emit the metric, or false to drop it.

Implementation

BeforeMetricCallback? beforeMetricCallback;