Class RegexFilter

    • Constructor Detail

      • RegexFilter

        public RegexFilter()
    • Method Detail

      • prepare

        public void prepare​(Map<String,​Object> config)
        Description copied from interface: StormMetricsFilter
        Called after the filter is instantiated.
        Specified by:
        prepare in interface StormMetricsFilter
        Parameters:
        config - A map of the properties from the 'filter' section of the reporter configuration.
      • matches

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