New Relic with Grails by default will trace most web transactions through the controller but will not trace down into services. While most true work of a request belongs in services or libraries the default tracing leaves something to be desired.
This is easily fixed by adding New Relic annotations to services and libraries.
At this point your code is ready to give more detailed transactions, but the agent on the server must also be configured to accept custom tracing. The config option for this is not available from the web so you must update the
newrelic.yml file. Set
Now you will get any custom tracing added to your application as well as custom tracing from libraries.