ExemplarReservoir class abstract
An ExemplarReservoir receives measurements from instruments and samples them to provide Exemplars.
Note for future extension (Issues #151, #153): The reservoir choice should be user-configurable via a View. Currently, storage constructors hardcode the reservoir types. Once View parameters are fully wired up, this should be driven by the resolved View.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collectAndReset(
Attributes pointAttributes) → List< Exemplar> - Returns the currently sampled exemplars and clears the reservoir.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offerMeasurement(
num value, Attributes attributes, Context context, DateTime timestamp, [int? bucketIndex]) → void - Offers a measurement to the reservoir.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited