Message from discussion
Using NewRelic with Play!
Received: by 10.224.195.130 with SMTP id ec2mr4636361qab.29.1311699745582;
Tue, 26 Jul 2011 10:02:25 -0700 (PDT)
X-BeenThere: play-framework@googlegroups.com
Received: by 10.224.174.3 with SMTP id r3ls1279647qaz.1.gmail; Tue, 26 Jul
2011 10:02:22 -0700 (PDT)
Received: by 10.224.174.13 with SMTP id r13mr4607243qaz.17.1311699742554;
Tue, 26 Jul 2011 10:02:22 -0700 (PDT)
Received: by 10.224.176.139 with SMTP id be11msqab;
Tue, 26 Jul 2011 09:41:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.192.132 with SMTP id dq4mr678038qab.20.1311698500556; Tue,
26 Jul 2011 09:41:40 -0700 (PDT)
Received: by hd10g2000vbb.googlegroups.com with HTTP; Tue, 26 Jul 2011
09:41:40 -0700 (PDT)
Date: Tue, 26 Jul 2011 09:41:40 -0700 (PDT)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30,gzip(gfe)
Message-ID: <fecc9444-5ea9-4162-b5de-5bc07e7b76a0@hd10g2000vbb.googlegroups.com>
Subject: Using NewRelic with Play!
From: Ryan Neufeld <r...@gushhq.com>
To: play-framework <play-framework@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
I'm attempting to set up NewRelic monitoring for production usage and
I'm having trouble getting the newrelic.jar agent to report any
transactions to the service.
Basic rundown:
* Drop into a Play! project (with play-scala module, in our case)
* Add the necessary newrelic/newrelic.jar and newrelic/newrelic.yml to
the project - enabling monitoring for development, keys, etc.
* $ play run -javaagent:./newrelic/newrelic.jar
The application loads and runs correctly. Inspecting newrelic/logs/
newrelic_agent.log shows activity, and my NewRelic page shows my
application as a host. I submit some requests to the page and wait the
requisite couple minutes. The agent logs show activity and messages
like: "Jul 26, 2011 11:40:07 AM NewRelic FINE: Reported 30
timeslices", however NewRelic doesn't show any transactions in their
UI.
Has anyone successfully used NewRelic as a standalone agent in Play!