We have a couple of upload controls on our webforms application. Those pages show a long response time. These pages have other functonality as well so we dont want to ignore the whole page in new relic which is discused in this thread NewRelic - How to Ignore part of a web application
Is there a way to ignore metrics in a part of a page through the new relic api?
You can use IgnoreTransaction for a specific method. The method, however, is non-discriminatory. There is no way to tell it "only ignore the transaction for specific pages". However, there's no reason you cannot call the method using an if
statement, and then specify the individual pages within that if
statement so they are ignored. The pages in question would have to be isolated in your code, but that shouldn't be too difficult. I hope this helps!