Sha256: 2ffb618c244dbdd412431b3396fdce784154de9e29e00d766c3db0eadd530fcf
Contents?: true
Size: 677 Bytes
Versions: 17
Compression:
Stored size: 677 Bytes
Contents
# encoding: utf-8 # This class serves as the base for objects wanting to monitor and respond to # incoming web requests. Examples include cross application tracing and # synthetics. # # Subclasses are expected to define on_finished_configuring(events) which will # be called when the agent is fully configured. That method is expected to # subscribe to the necessary request events, such as before_call and after_call # for the monitor to do its work. module TingYun module Agent class InboundRequestMonitor def initialize(events) events.subscribe(:finished_configuring) do on_finished_configuring(events) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems