MetricStructuredName class

Identifies a metric, by describing the source which generated the metric.

Constructors

MetricStructuredName({Map<String, String>? context, String? name, String? origin})
MetricStructuredName.fromJson(Map json_)

Properties

context Map<String, String>?
Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Worker-defined metric name.
getter/setter pair
origin String?
Origin (namespace) of metric name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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