Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed problem where developer mode doesn't show transaction traces

  • Loading branch information...
commit 4da01023cb825e19dd9b84b1bdc096ffc84c989b 1 parent dea1fba
@JimGochee JimGochee authored
Showing with 15 additions and 13 deletions.
  1. +13 −13 lib/newrelic/agent/agent.rb
  2. +2 −0  version.txt
View
26 lib/newrelic/agent/agent.rb
@@ -103,20 +103,18 @@ def start(config)
@remote_host = config.fetch('host', 'collector.newrelic.com')
@remote_port = config.fetch('port', default_port)
- if config['enabled'] || config['developer']
- if config['enabled']
- # make sure the license key exists and is likely to be really a license key
- # by checking it's string length (license keys are 40 character strings.)
- unless @license_key && @license_key.length == 40
- log! "No license key found. Please insert your license key into agent/newrelic.yml"
- return
- end
+ if config['enabled']
+ # make sure the license key exists and is likely to be really a license key
+ # by checking it's string length (license keys are 40 character strings.)
+ unless @license_key && @license_key.length == 40
+ log! "No license key found. Please insert your license key into agent/newrelic.yml"
+ return
+ end
- load_samplers
-
- @worker_thread = Thread.new do
- run_worker_loop
- end
+ load_samplers
+
+ @worker_thread = Thread.new do
+ run_worker_loop
end
# When the VM shuts down, attempt to send a message to the server that
@@ -125,6 +123,8 @@ def start(config)
@worker_thread.terminate if @worker_thread
graceful_disconnect
end
+ elsif config['developer']
+ instrument_rails
end
end
View
2  version.txt
@@ -1,3 +1,5 @@
+2008-06-24 version 2.2.4
+ * fix for developer mode where no transaction traces were showing up (bug introduced in 2.2.3)
2008-06-20 version 2.2.3
* fix for issue when mongrel limit enforcement caused overhead in isolated situations
2008-06-13 version 2.2.2

0 comments on commit 4da0102

Please sign in to comment.
Something went wrong with that request. Please try again.