Package org.nuxeo.runtime.metrics
Class MetricsConfigurationDescriptor.FilterDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.metrics.MetricsConfigurationDescriptor.FilterDescriptor
-
- All Implemented Interfaces:
io.dropwizard.metrics5.MetricFilter
,Descriptor
- Enclosing class:
- MetricsConfigurationDescriptor
public static class MetricsConfigurationDescriptor.FilterDescriptor extends Object implements Descriptor, io.dropwizard.metrics5.MetricFilter
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
allowedPrefix
protected static String
DEFAULT_ID
protected List<String>
deniedExpansions
protected List<String>
deniedPrefix
protected String
name
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description FilterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllowedPrefix()
Set<io.dropwizard.metrics5.MetricAttribute>
getDeniedExpansions()
List<String>
getDeniedPrefix()
String
getId()
The descriptor id, descriptors with same id are merged.boolean
matches(io.dropwizard.metrics5.MetricName name, io.dropwizard.metrics5.Metric metric)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
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 interfaceDescriptor
-
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 interfaceio.dropwizard.metrics5.MetricFilter
-
-