MetricDescriptor class
Defines a metric type and its schema.
Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
Constructors
- 
          MetricDescriptor({String? description, String? displayName, List<LabelDescriptor> ? labels, String? launchStage, MetricDescriptorMetadata? metadata, String? metricKind, List<String> ? monitoredResourceTypes, String? name, String? type, String? unit, String? valueType})
- MetricDescriptor.fromJson(Map json_)
Properties
- description ↔ String?
- 
  A detailed description of the metric, which can be used in documentation.
  getter/setter pair
- displayName ↔ String?
- 
  A concise name for the metric, which can be displayed in user interfaces.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  labels
  ↔ List<LabelDescriptor> ?
- 
  The set of labels that can be used to describe a specific instance of this
metric type.
  getter/setter pair
- launchStage ↔ String?
- 
  The launch stage of the metric definition.
  getter/setter pair
- metadata ↔ MetricDescriptorMetadata?
- 
  Metadata which can be used to guide usage of the metric.
  getter/setter pair
- metricKind ↔ String?
- 
  Whether the metric records instantaneous values, changes to a value, etc.
  getter/setter pair
- 
  monitoredResourceTypes
  ↔ List<String> ?
- 
  Read-only.
  getter/setter pair
- name ↔ String?
- 
  The resource name of the metric descriptor.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- type ↔ String?
- 
  The metric type, including its DNS name prefix.
  getter/setter pair
- unit ↔ String?
- 
  The units in which the metric value is reported.
  getter/setter pair
- valueType ↔ String?
- 
  Whether the measurement is an integer, a floating-point number, etc.
  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