Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How to monitor only ONE web site on IIS


#1

I installed New Relic and do iisreset.
By default it monitors all the web sites on IIS.
I want to track only one of them.
How do I do? I couldn’t find any page to configure this in my dashboard.
Helps appreciated, thanks.


#2

Hey lsldat,

Thanks for writing in!

During the installation of New Relic there is an option to instrument all applications. You’ll have to uninstall and reinstall the agent without instrumenting all applications.

Please review our documentation here: http://docs.newrelic.com/docs/dotnet/new-relic-net-installation

And here: http://docs.newrelic.com/docs/dotnet/dotnet-agent-configuration

I’ll check back to see where you’re at!


#3

Hey @isidat,

Wanted to get back to you with some more relevant information with instrumenting a single application. Be sure to specify the app pool that you’d like New Relic to monitor by altering your newrelic.config file with the following:

<applicationPools>
  <defaultBehavior instrument="false"/>
  <applicationPool name="Foo" instrument="true"/>
</applicationPools> 

If you have more than one application in that app pool, you’ll need to exclude New Relic from any other applications’ web.config with the following:

<appSettings>
<add key="NewRelic.AgentEnabled" value="false" />
</appSettings>

This should hopefully cover it!


#4

Great answer, thanks netheroth!


#7

You helped me so much. Thank you