Class: Appsignal::Demo Private
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Demo is a way to send demonstration / test samples for a exception and a performance issue.
Defined Under Namespace
Classes: TestError
Class Method Summary collapse
-
.transmit ⇒ Boolean
private
Starts AppSignal and transmits the demonstration samples to AppSignal using the loaded configuration.
Class Method Details
.transmit ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Starts AppSignal and transmits the demonstration samples to AppSignal using the loaded configuration.
25 26 27 28 29 30 31 32 |
# File 'lib/appsignal/demo.rb', line 25 def transmit Appsignal.start return false unless Appsignal.active? create_example_error_request create_example_performance_request true end |