MetricsClient class
Constructors
- MetricsClient(Engine engine)
-
const
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
-
json(
{Map< String, String> ? globalLabels}) → Future<Map< String, dynamic> > - Returns all metrics gathered up to this point in json format.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prometheus(
{Map< String, String> ? globalLabels}) → Future<String> - Returns all metrics gathered up to this point in prometheus format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited