Class: Karafka::Instrumentation::Vendors::Datadog::MetricsListener::RdKafkaMetric
- Inherits:
-
Struct
- Object
- Struct
- Karafka::Instrumentation::Vendors::Datadog::MetricsListener::RdKafkaMetric
- Defined in:
- lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb
Overview
Value object for storing a single rdkafka metric publishing details
Instance Attribute Summary collapse
-
#key_location ⇒ Object
Returns the value of attribute key_location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#key_location ⇒ Object
Returns the value of attribute key_location
21 22 23 |
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 21 def key_location @key_location end |
#name ⇒ Object
Returns the value of attribute name
21 22 23 |
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 21 def name @name end |
#scope ⇒ Object
Returns the value of attribute scope
21 22 23 |
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 21 def scope @scope end |
#type ⇒ Object
Returns the value of attribute type
21 22 23 |
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 21 def type @type end |