SamplingSchema class
Specifies a set of SamplingConfiguration
s for a set of Measure
types.
Constructors
Properties
-
configurations
→ Map<
String, SamplingConfiguration> -
A set of default
SamplingConfiguration
s for the measure types for this sampling schema.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ List<
String> -
The list of measure types supported by this sampling schema.
no setter
Methods
-
addConfiguration(
String type, SamplingConfiguration configuration) → void - Add a sampling configuration to this schema.
-
addSamplingSchema(
SamplingSchema schema) → void -
Adds all sampling configurations from another
schema
to this schema. If a configuration inschema
is already in this schema, its value is overwritten. -
getConfigurations(
{required List< String> types}) → List<SamplingConfiguration> -
Returns a list of copies of
SamplingConfiguration
s from this schema for a list oftypes
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeConfiguration(
String type) → void - Remove a sampling configuration from this schema.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited