MetricReader class abstract
MetricReader is responsible for collecting metrics from a MeterProvider and passing them to a MetricExporter.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- meterProvider → MeterProvider?
-
Get the MeterProvider this reader is associated with.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collect(
) → Future< MetricData> - Collect metrics from the MeterProvider.
-
forceFlush(
) → Future< bool> - Force flush metrics through the associated exporter.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerMeterProvider(
MeterProvider provider) → void - Register a MeterProvider with this reader.
-
shutdown(
) → Future< bool> - Shutdown the metric reader.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited