Sha256: c83de81162d0e194f0b49681c431df8cd01896fb7dbbd4ed5214a875ea92dc5a
Contents?: true
Size: 363 Bytes
Versions: 33
Compression:
Stored size: 363 Bytes
Contents
# encoding: utf-8 module OneApm module Agent class Restart def initialize(events) events.subscribe(:agent_restart, &method(:restart)) end def restart OneApm::Manager.logger.info "Restarting Agent..." OneApm::Manager.restart OneApm::Manager.logger.info "Restarted Agent done." end end end end
Version data entries
33 entries across 33 versions & 1 rubygems