class ScoutApm::Tasks::Support

Public Class Methods

new() click to toggle source
# File lib/scout_apm/tasks/support.rb, line 9
def initialize
  @doctor = ScoutApm::Tasks::Doctor.new
end
run!() click to toggle source
# File lib/scout_apm/tasks/support.rb, line 4
def self.run!
  puts "Support Task"
  new.run!
end

Public Instance Methods

run!() click to toggle source
# File lib/scout_apm/tasks/support.rb, line 13
def run!
  instruments = @doctor.installed_instruments
  config = @doctor.configuration_settings
  collect_logs

  post_data
end