Skip to content

Instantly share code, notes, and snippets.

@jhjwind
Created April 26, 2013 19:57
Show Gist options
  • Save jhjwind/5470042 to your computer and use it in GitHub Desktop.
Save jhjwind/5470042 to your computer and use it in GitHub Desktop.
bg
2013-04-26T19:55:16.878249+00:00 app[web.9]: Started GET "/members" for 108.162.219.131 at 2013-04-26 19:55:16 +0000
2013-04-26T19:55:16.878645+00:00 app[web.9]: ** [NewRelic][04/26/13 19:55:16 +0000 fcde660b-20f6-4b45-80a6-610ebe1c5a1e (157)] ERROR : Error getting query plan:
2013-04-26T19:55:16.878645+00:00 app[web.9]: ActiveRecord::StatementInvalid: PG::Error: ERROR: there is no parameter $1
2013-04-26T19:55:16.878645+00:00 app[web.9]: LINE 1: ...ECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1
2013-04-26T19:55:16.878645+00:00 app[web.9]: ^
2013-04-26T19:55:16.878645+00:00 app[web.9]: : EXPLAIN SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1
2013-04-26T19:55:16.878645+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `exec'
2013-04-26T19:55:16.878645+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `block in execute'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/instrumentation/active_record.rb:17:in `log_with_newrelic_instrumentation'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:649:in `execute'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/database.rb:75:in `block in explain_statement'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/database.rb:112:in `handle_exception_in_explain'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/database.rb:71:in `explain_statement'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/database.rb:65:in `explain_sql'
2013-04-26T19:55:16.879008+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/sql_sampler.rb:175:in `explain'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/sql_sampler.rb:214:in `prepare_to_send'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/sql_sampler.rb:123:in `block in harvest'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/sql_sampler.rb:123:in `each'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/sql_sampler.rb:123:in `harvest'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:931:in `harvest_and_send_slowest_sql'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:1035:in `block in transmit_data'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/new_relic_service.rb:132:in `call'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/new_relic_service.rb:132:in `session'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:1032:in `transmit_data'
2013-04-26T19:55:16.879363+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:526:in `block in create_and_run_worker_loop'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/worker_loop.rb:70:in `call'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/worker_loop.rb:70:in `block in run_task'
2013-04-26T19:55:16.879723+00:00 app[web.9]: <internal:prelude>:10:in `synchronize'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/worker_loop.rb:69:in `run_task'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/worker_loop.rb:40:in `run'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:525:in `create_and_run_worker_loop'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:598:in `block (2 levels) in deferred_work!'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent.rb:303:in `disable_all_tracing'
2013-04-26T19:55:16.879723+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:590:in `block in deferred_work!'
2013-04-26T19:55:16.880118+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:568:in `catch_errors'
2013-04-26T19:55:16.880118+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:589:in `deferred_work!'
2013-04-26T19:55:16.880118+00:00 app[web.9]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.7.59/lib/new_relic/agent/agent.rb:616:in `block in start_worker_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment