Interface ReporterFilter<T>


  • public interface ReporterFilter<T>
    A filter for metrics, spans, or events.
    • Field Detail

      • NO_OP_FILTER

        static final ReporterFilter<?> NO_OP_FILTER
        Filter that accepts every reported.
    • Method Detail

      • filter

        boolean filter​(T reported,
                       String name,
                       String logicalScope)
        Filters a given reported.
        Parameters:
        reported - the reported to filter
        name - the name of the reported
        logicalScope - the logical scope of the reported
        Returns:
        true, if the reported matches, false otherwise