Class: ScoutApm::PlatformIntegrations::Heroku
- Inherits:
-
Object
- Object
- ScoutApm::PlatformIntegrations::Heroku
- Defined in:
- lib/scout_apm/platform_integrations/heroku.rb
Instance Method Summary collapse
Instance Method Details
#hostname ⇒ Object
16 17 18 |
# File 'lib/scout_apm/platform_integrations/heroku.rb', line 16 def hostname ENV['DYNO'] end |
#log_to_stdout? ⇒ Boolean
12 13 14 |
# File 'lib/scout_apm/platform_integrations/heroku.rb', line 12 def log_to_stdout? true end |
#name ⇒ Object
8 9 10 |
# File 'lib/scout_apm/platform_integrations/heroku.rb', line 8 def name "Heroku" end |
#present? ⇒ Boolean
4 5 6 |
# File 'lib/scout_apm/platform_integrations/heroku.rb', line 4 def present? !! ENV['DYNO'] end |