Metric class
A message representing the actual monitoring data, values for each key bucket over time, of a metric.
Constructors
-
Metric({String? aggregation, LocalizedString? category, DerivedMetric? derived, LocalizedString? displayLabel, bool? hasNonzeroData, double? hotValue, Map<
String, IndexedHotKey> ? indexedHotKeys, Map<String, IndexedKeyRangeInfos> ? indexedKeyRangeInfos, LocalizedString? info, MetricMatrix? matrix, LocalizedString? unit, bool? visible}) - Metric.fromJson(Map json_)
Properties
- aggregation ↔ String?
-
The aggregation function used to aggregate each key bucket
Possible string values are:
getter/setter pair
- category ↔ LocalizedString?
-
The category of the metric, e.g. "Activity", "Alerts", "Reads", etc.
getter/setter pair
- derived ↔ DerivedMetric?
-
The references to numerator and denominator metrics for a derived metric.
getter/setter pair
- displayLabel ↔ LocalizedString?
-
The displayed label of the metric.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNonzeroData ↔ bool?
-
Whether the metric has any non-zero data.
getter/setter pair
- hotValue ↔ double?
-
The value that is considered hot for the metric.
getter/setter pair
-
indexedHotKeys
↔ Map<
String, IndexedHotKey> ? -
The (sparse) mapping from time index to an IndexedHotKey message,
representing those time intervals for which there are hot keys.
getter/setter pair
-
indexedKeyRangeInfos
↔ Map<
String, IndexedKeyRangeInfos> ? -
The (sparse) mapping from time interval index to an IndexedKeyRangeInfos
message, representing those time intervals for which there are
informational messages concerning key ranges.
getter/setter pair
- info ↔ LocalizedString?
-
Information about the metric.
getter/setter pair
- matrix ↔ MetricMatrix?
-
The data for the metric as a matrix.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit ↔ LocalizedString?
-
The unit of the metric.
getter/setter pair
- visible ↔ bool?
-
Whether the metric is visible to the end user.
getter/setter pair
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