Collector class Null safety

A Collector is registered at a CollectorRegistry and scraped for metrics. A Collector can be registered at multiple CollectorRegistrys.

Implementers

Constructors

Collector()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

collect() Future<Iterable<MetricFamilySamples>>
collect all metrics and samples that are part of this Collector.
collectNames() Iterable<String>
Collect all metric names, including child metrics.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited