Sample class
A Sample represents a sampled value of a metric.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labelNames
→ List<
String> -
The unmodifiable list of label names corresponding to the labelValues.
Label values and name with the same index belong to each other.
final
-
labelValues
→ List<
String> -
The unmodifiable list of label values corresponding to the labelNames.
Label values and name with the same index belong to each other.
final
- name → String
-
The name of the metric.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int?
-
The timestamp of the moment the sample was taken.
final
- value → double
-
The sampled value of the metric.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited