class ScoutApm::PlatformIntegrations::CloudFoundry
Public Instance Methods
Source
# File lib/scout_apm/platform_integrations/cloud_foundry.rb, line 18 def hostname Socket.gethostname end
TODO: Is there a better way to get a hostname from Cloud Foundry?
Source
# File lib/scout_apm/platform_integrations/cloud_foundry.rb, line 13 def log_to_stdout? true end
TODO: Which is easier for users by defualt? STDOUT or our log/scout_apm.log file?
Source
# File lib/scout_apm/platform_integrations/cloud_foundry.rb, line 8 def name "Cloud Foundry" end
Source
# File lib/scout_apm/platform_integrations/cloud_foundry.rb, line 4 def present? !! ENV['VCAP_APPLICATION'] end