title: Using New Relic with Sitecore
body: <p>I am testing New Relic with Sitecore CMS.  All of the New Relic web transactions are being sent to the items layout file, so I am unable to drill into item level details in New Relic.</p>
  
  <p>I am trying to use the New Relic API to call <code>SetTransactionName</code> and set it to the items URL, but I can't seem to make it work.  I have created an <code>httprequestbegin</code> pipeline processor, and I have put it right at the end, right after:</p>
  
  <pre><code>&lt;processor type="Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel"/&gt;
  </code></pre>
  
  <p>I have the New Relic API assembly installed, and is also in my bin folder.  Here is the line of code that I am trying to run.</p>
  
  <pre><code>NewRelic.Api.Agent.NewRelic.SetTransactionName("Custom", Sitecore.Context.RawUrl);
  </code></pre>
  
  <p>Any ideas what I am possibly doing wrong?  All web transactions still show up as the items layout file.</p>