I am testing a new relic with Sitecore CMS. All New Relic web transactions are sent to the element layout file, so I cannot expand the part details in New Relic.
I am trying to use the new Relic API to call SetTransactionName and set it to the URL of the elements, but I cannot get it to work. I created the httprequestbegin pipeline processor, and I put it right at the end, right after:
<processor type="Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel"/>
I have the New Relic API assembly installed, as well as in the bin folder. Here is a line of code I'm trying to run.
NewRelic.Api.Agent.NewRelic.SetTransactionName("Custom", Sitecore.Context.RawUrl);
Any ideas what I might be doing wrong? All web transactions are still displayed as the item layout file.
source share