HistogramStorageBase<T extends num> class
abstract
Storage for histogram metrics that have numeric input but HistogramValue output.
- Inheritance
-
- Object
- MetricStorage
- HistogramStorageBase
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
-
collectPoints(
) → List< MetricPoint< HistogramValue> > - Collects the current set of metric points containing HistogramValue objects.
-
getValue(
[Attributes? attributes]) → HistogramValue - Gets the current histogram value for the given attributes. If no attributes are provided, returns a combined HistogramValue across all attribute sets.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
record(
T value, [Attributes? attributes, Context? context, DateTime? timestamp]) → void - Records a measurement with the given attributes and context.
-
reset(
) → void -
Resets the storage (for delta temporality).
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited