Collector class abstract

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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