lib/appsignal.rb in appsignal-1.2.0.alpha.3 vs lib/appsignal.rb in appsignal-1.2.0.alpha.4
- old
+ new
@@ -83,9 +83,13 @@
logger.debug('Forked process, resubscribing and restarting extension')
Appsignal::Extension.start
@subscriber.resubscribe
end
+ def get_server_state(key)
+ Appsignal::Extension::get_server_state(key)
+ end
+
# Wrap a transaction with appsignal monitoring.
def monitor_transaction(name, env={})
unless active?
return yield
end