Class: Temporalio::Runtime::MetricBuffer::Metric
- Inherits:
-
Object
- Object
- Temporalio::Runtime::MetricBuffer::Metric
- Defined in:
- 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 class Metric # rubocop:disable Lint/EmptyClass # DEV NOTE: This class is instantiated inside Rust, be careful changing it. end |
#kind ⇒ :counter, ...
Returns Kind of the metric.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 class Metric # rubocop:disable Lint/EmptyClass # DEV NOTE: This class is instantiated inside Rust, be careful changing it. end |
#name ⇒ String
Returns Name of the metric.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 class Metric # rubocop:disable Lint/EmptyClass # DEV NOTE: This class is instantiated inside Rust, be careful changing it. end |
#unit ⇒ String?
Returns Unit of the metric if any.
53 54 55 |
# File 'lib/temporalio/runtime/metric_buffer.rb', line 53 class Metric # rubocop:disable Lint/EmptyClass # DEV NOTE: This class is instantiated inside Rust, be careful changing it. end |