MetricData class final

Represents metric data.

Constructors

MetricData({required String name, required InstrumentKind kind, required String? description, required String? unit, required Resource resource, required InstrumentationScope instrumentationScope, required List<MetricPoint> points, AggregationTemporality? temporality, bool? isMonotonic})
Creates a instance.

Properties

description → String?
The description.
final
hashCode → int
The hash code for this object.
no setterinherited
instrumentationScope → InstrumentationScope
The instrumentation scope.
final
isMonotonic → bool?
The is monotonic.
final
kind → InstrumentKind
The kind.
final
name → String
The name.
final
points → List<MetricPoint>
The points.
final
resource → Resource
The resource.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
temporality → AggregationTemporality?
The temporality.
final
unit → String?
The unit.
final

Methods

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