Class MetricsConfigurationDescriptor.FilterDescriptor

    • Constructor Detail

      • FilterDescriptor

        public FilterDescriptor()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • getAllowedPrefix

        public List<String> getAllowedPrefix()
      • getDeniedPrefix

        public List<String> getDeniedPrefix()
      • getDeniedExpansions

        public Set<io.dropwizard.metrics5.MetricAttribute> getDeniedExpansions()
      • matches

        public boolean matches​(io.dropwizard.metrics5.MetricName name,
                               io.dropwizard.metrics5.Metric metric)
        Specified by:
        matches in interface io.dropwizard.metrics5.MetricFilter