Class: DatadogAPIClient::V1::MetricMetadata
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MetricMetadata
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/metric_metadata.rb
Overview
Object with all metric related metadata.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
Metric description.
-
#integration ⇒ Object
Name of the integration that sent the metric if applicable.
-
#per_unit ⇒ Object
Per unit of the metric such as ‘second` in `bytes per second`.
-
#short_name ⇒ Object
A more human-readable and abbreviated version of the metric name.
-
#statsd_interval ⇒ Object
StatsD flush interval of the metric in seconds if applicable.
-
#type ⇒ Object
Metric type such as ‘gauge` or `rate`.
-
#unit ⇒ Object
Primary unit of the metric such as ‘byte` or `operation`.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#description ⇒ Object
Metric description.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/metric_metadata.rb', line 25 def description @description end |
#integration ⇒ Object
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_unit ⇒ Object
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_name ⇒ Object
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_interval ⇒ Object
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 |
#type ⇒ Object
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 |
#unit ⇒ Object
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 |