Module: EurekaBot::Instrumentation

Extended by:
ActiveSupport::Concern
Included in:
Controller, Job, Resolver, Sender
Defined in:
lib/eureka_bot/instrumentation.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.prefixObject



8
9
10
# File 'lib/eureka_bot/instrumentation.rb', line 8

def self.prefix
  'eureka-bot'
end

Instance Method Details

#instrument(name, level: Logger::DEBUG, **payload, &block) ⇒ Object



4
5
6
# File 'lib/eureka_bot/instrumentation.rb', line 4

def instrument(name, level: Logger::DEBUG, **payload, &block)
  self.class.instrument(name, level: level, **payload, &block)
end