xinminlabs / newrelic-rake

NewRelic instrument for rake task
MIT License
29 stars 11 forks source link

Not seeing rake transactions in New Relic #12

Closed Sovietaced closed 10 years ago

Sovietaced commented 10 years ago

Not sure if the directions aren't idiot proof enough but I have the gem running production but I don't see any transactions listed for my rake tasks. To make sure the agent and the gem were running I included the following within my rake tasks.

require 'newrelic-rake' NewRelic::Agent.manual_start

Running rails 4.0.2

Sovietaced commented 10 years ago

If it helps at all, when I include what i posted above exceptions are recorded in New Relic errors. If I do not include the two lines exceptions are not reported. So including the two lines helps but still does not trace transactions.

flyerhzm commented 10 years ago

@Sovietaced did you see Installing Rake instrumentation in your newrelic log?

flyerhzm commented 10 years ago

@Sovietaced I have verifid newrelic-rake 1.4.1 with newrelic_rpm 3.7.2.192 on production, it works perfect, I didn't add any specific code