We have started using New Relic to track/handle a number of the services we have deployed using Lagom. App is all written in Scala. Lagom, under the covers, is written on top of Play and Akka. The issue that we are having is that what reports to New Relic is simply “/akkaHandler” which is not super useful. We would like to be able to track the actual endpoints that the akkaHandler is processing - for example the specific URI for login : “/v1/customer/login”. The docs for the scala instrumentation are pretty limited:
Before we go through the effort of adding
NewRelic.setTransactionName(null, "/myTransaction"); to each of the few hundred endpoints we have I wanted to check and see if this is the best/only way to go about this. Has anyone dealt with this before?