Class: Temporalio::Runtime::MetricBuffer::Metric
- Inherits:
-
Data
- Object
- Data
- Temporalio::Runtime::MetricBuffer::Metric
- Defined in:
- lib/temporalio/runtime/metric_buffer.rb,
lib/temporalio/runtime/metric_buffer.rb
Overview
Metric definition present on an update.
Instance Attribute Summary collapse
-
#description ⇒ String?
Description of the metric if any.
-
#kind ⇒ :counter, ...
Kind of the metric.
-
#name ⇒ String
Name of the metric.
-
#unit ⇒ String?
Unit of the metric if any.
Instance Attribute Details
#description ⇒ String?
Returns Description of the metric if any.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 def description @description end |
#kind ⇒ :counter, ...
Returns Kind of the metric.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 def kind @kind end |
#name ⇒ String
Returns Name of the metric.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 def name @name end |
#unit ⇒ String?
Returns Unit of the metric if any.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 def unit @unit end |