Sha256: fe9c3e3347cffc098bb09520f7765bbc34ed38855b1643d2289213063dc51cd5
Contents?: true
Size: 704 Bytes
Versions: 11
Compression:
Stored size: 704 Bytes
Contents
require "appsignal/demo" module Appsignal class CLI class Demo class << self def run(options = {}) ENV["APPSIGNAL_APP_ENV"] = options[:environment] if options[:environment] puts "Sending demonstration sample data..." if Appsignal::Demo.transmit puts "Demonstration sample data sent!" puts "It may take about a minute for the data to appear on AppSignal.com/accounts" else puts "Error: Unable to start the AppSignal agent and send data to AppSignal.com" puts "Please use `appsignal diagnose` to debug your configuration." exit 1 end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems