Class: Karafka::Instrumentation::Vendors::Datadog::MetricsListener::RdKafkaMetric

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#key_locationObject

Returns the value of attribute key_location

Returns:

  • (Object)

    the current value of key_location



20
21
22
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 20

def key_location
  @key_location
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



20
21
22
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 20

def name
  @name
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



20
21
22
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 20

def scope
  @scope
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



20
21
22
# File 'lib/karafka/instrumentation/vendors/datadog/metrics_listener.rb', line 20

def type
  @type
end