Class: DatadogAPIClient::V1::MetricMetadata

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/metric_metadata.rb

Overview

Object with all metric related metadata.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 45

def additional_properties
  @additional_properties
end

#descriptionObject

Metric description.



25
26
27
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 25

def description
  @description
end

#integrationObject

Name of the integration that sent the metric if applicable.



28
29
30
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 28

def integration
  @integration
end

#per_unitObject

Per unit of the metric such as ‘second` in `bytes per second`.



31
32
33
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 31

def per_unit
  @per_unit
end

#short_nameObject

A more human-readable and abbreviated version of the metric name.



34
35
36
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 34

def short_name
  @short_name
end

#statsd_intervalObject

StatsD flush interval of the metric in seconds if applicable.



37
38
39
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 37

def statsd_interval
  @statsd_interval
end

#typeObject

Metric type such as ‘gauge` or `rate`.



40
41
42
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 40

def type
  @type
end

#unitObject

Primary unit of the metric such as ‘byte` or `operation`.



43
44
45
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 43

def unit
  @unit
end