Class: OpenTelemetry::SDK::Metrics::State::MetricData Private
- Inherits:
-
Struct
- Object
- Struct
- OpenTelemetry::SDK::Metrics::State::MetricData
- Defined in:
- lib/opentelemetry/sdk/metrics/state/metric_data.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
MetricData is a Struct containing MetricStream data for export.
Instance Attribute Summary collapse
-
#aggregation_temporality ⇒ Object
Returns the value of attribute aggregation_temporality.
-
#data_points ⇒ Object
Returns the value of attribute data_points.
-
#description ⇒ Object
Returns the value of attribute description.
-
#instrument_kind ⇒ Object
Returns the value of attribute instrument_kind.
-
#instrumentation_scope ⇒ Object
Returns the value of attribute instrumentation_scope.
-
#name ⇒ Object
Returns the value of attribute name.
-
#resource ⇒ Object
Returns the value of attribute resource.
-
#start_time_unix_nano ⇒ Object
Returns the value of attribute start_time_unix_nano.
-
#time_unix_nano ⇒ Object
Returns the value of attribute time_unix_nano.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Attribute Details
#aggregation_temporality ⇒ Object
Returns the value of attribute aggregation_temporality
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def aggregation_temporality @aggregation_temporality end |
#data_points ⇒ Object
Returns the value of attribute data_points
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def data_points @data_points end |
#description ⇒ Object
Returns the value of attribute description
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def description @description end |
#instrument_kind ⇒ Object
Returns the value of attribute instrument_kind
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def instrument_kind @instrument_kind end |
#instrumentation_scope ⇒ Object
Returns the value of attribute instrumentation_scope
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def instrumentation_scope @instrumentation_scope end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def name @name end |
#resource ⇒ Object
Returns the value of attribute resource
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def resource @resource end |
#start_time_unix_nano ⇒ Object
Returns the value of attribute start_time_unix_nano
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def start_time_unix_nano @start_time_unix_nano end |
#time_unix_nano ⇒ Object
Returns the value of attribute time_unix_nano
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def time_unix_nano @time_unix_nano end |
#unit ⇒ Object
Returns the value of attribute unit
12 13 14 |
# File 'lib/opentelemetry/sdk/metrics/state/metric_data.rb', line 12 def unit @unit end |