MetricsFilter class

Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator).

Constructors

MetricsFilter(MetricsAndOperator? and, String? prefix, Tag? tag)
MetricsFilter.fromXml(XmlElement? xml)

Properties

and MetricsAndOperator?
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
prefix String?
The prefix used when evaluating a metrics filter.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag Tag?
The tag used when evaluating a metrics filter.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml() → XmlNode

Operators

operator ==(Object other) bool
The equality operator.
inherited