DataSamplingConfig class
Configuration options for sampling elements.
Constructors
-
DataSamplingConfig({Input<
List< ? behaviors})DataSamplingConfigBehaviorsItem> > -
Creates a new DataSamplingConfig.
behaviorsList of given sampling behaviors to enable. For example, specifying behaviors =ALWAYS_ONsamples in-flight elements but does not sample exceptions. Can be used to specify multiple behaviors like, behaviors =ALWAYS_ON, EXCEPTIONSfor specifying periodic sampling and exception sampling. If DISABLED is in the list, then sampling will be disabled and ignore the other given behaviors. Ordering does not matter.const -
DataSamplingConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
behaviors
→ Input<
List< ?DataSamplingConfigBehaviorsItem> > -
List of given sampling behaviors to enable. For example, specifying behaviors =
ALWAYS_ONsamples in-flight elements but does not sample exceptions. Can be used to specify multiple behaviors like, behaviors =ALWAYS_ON, EXCEPTIONSfor specifying periodic sampling and exception sampling. If DISABLED is in the list, then sampling will be disabled and ignore the other given behaviors. Ordering does not matter.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited