lib/ting_yun/frameworks/rails.rb in tingyun_rpm-1.6.1 vs lib/ting_yun/frameworks/rails.rb in tingyun_rpm-3.2.0
- old
+ new
@@ -40,12 +40,12 @@
# is not enabled, it will load a limited amount of instrumentation.
TingYun::Support::LibraryDetection.detect!
end
end
- if !Agent.config[:'nbs.agent_enabled']
+ if !Agent.config[:'agent_enabled']
# Might not be running if it does not think mongrel, thin, passenger, etc
- # is running, if it thinks it's a rake task, or if the nbs.agent_enabled is false.
+ # is running, if it thinks it's a rake task, or if the agent_enabled is false.
::TingYun::Agent.logger.info("TingYun Agent is unable to run.")
else
install_browser_monitoring(rails_config)
end
rescue => e
\ No newline at end of file