Class: ScoutApm::PlatformIntegrations::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/platform_integrations/server.rb

Instance Method Summary collapse

Instance Method Details

#hostnameObject



19
20
21
# File 'lib/scout_apm/platform_integrations/server.rb', line 19

def hostname
  Socket.gethostname
end

#log_to_stdout?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/scout_apm/platform_integrations/server.rb', line 15

def log_to_stdout?
  false
end

#nameObject



11
12
13
# File 'lib/scout_apm/platform_integrations/server.rb', line 11

def name
  "Server"
end

#present?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/scout_apm/platform_integrations/server.rb', line 7

def present?
  true
end