Class: Karafka::Instrumentation::Vendors::Appsignal::MetricsListener::RdKafkaMetric

Inherits:
Struct
  • Object
show all
Defined in:
lib/karafka/instrumentation/vendors/appsignal/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



15
16
17
# File 'lib/karafka/instrumentation/vendors/appsignal/metrics_listener.rb', line 15

def key_location
  @key_location
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/karafka/instrumentation/vendors/appsignal/metrics_listener.rb', line 15

def name
  @name
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



15
16
17
# File 'lib/karafka/instrumentation/vendors/appsignal/metrics_listener.rb', line 15

def scope
  @scope
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



15
16
17
# File 'lib/karafka/instrumentation/vendors/appsignal/metrics_listener.rb', line 15

def type
  @type
end