class ScoutApm::FrameworkIntegrations::Ruby

Public Instance Methods

application_name() click to toggle source

TODO: Fetch the name (Somehow?)

# File lib/scout_apm/framework_integrations/ruby.rb, line 21
def application_name
  "Ruby"
end
database_engine() click to toggle source

TODO: Figure out how to accomodate odd environments

# File lib/scout_apm/framework_integrations/ruby.rb, line 30
def database_engine
  :mysql
end
env() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 25
def env
  ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development'
end
human_name() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 8
def human_name
  "Ruby"
end
name() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 4
def name
  :ruby
end
present?() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 16
def present?
  true
end
raw_database_adapter() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 34
def raw_database_adapter
  :mysql
end
version() click to toggle source
# File lib/scout_apm/framework_integrations/ruby.rb, line 12
def version
  "Unknown"
end