SamplingSchema class

Specifies a set of SamplingConfigurations for a set of Measure types.

Constructors

SamplingSchema()

Properties

configurations Map<String, SamplingConfiguration>
A set of default SamplingConfigurations 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 in schema is already in this schema, its value is overwritten.
getConfigurations({required List<String> types}) List<SamplingConfiguration>
Returns a list of copies of SamplingConfigurations from this schema for a list of types.
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