Module: WaterDrop::Instrumentation::Listener

Defined in:
lib/water_drop/instrumentation/listener.rb

Overview

Note:

It is a module as we can use it then as a part of the Karafka framework listener as well as we can use it standalone

Default listener that hooks up to our instrumentation and uses its events for logging It can be removed/replaced or anything without any harm to the Waterdrop flow

Constant Summary collapse

USED_LOG_LEVELS =

Log levels that we use in this particular listener

%i[
  info
  error
].freeze