<< PREVIOUS

 

 

NEW RELIC CONFIGURATION


 

New Relic is an application performance monitoring tool that captures the performance metrics of applications.

 

CONFIGURATION ON .NET/.NET CORE APPLICATION

 

Follow the below steps: 

  1. Install VSP Probe 

  2. Install New Relic Agent by following the below article:

    https://docs.newrelic.com/docs/agents/net-agent/configuration/net-agent-configuration/

  3. After installation, remove the below system-level environmental variable CORECLR_PROFILER. This environmental variable is configured by New Relic Installer

     

    NOTE:

    Make a note of the deleted system-level environmental variable and its value. If VSP is un-installed, this variable needs to be added again for New Relic to function as expected

     

    image9

  4. Remove the below system-level environmental variables using the Registry Editor. Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > WAS > Environment. These environmental variables are configured by New Relic Installer

     

    NOTE:

    Make a note of the deleted system-level environmental variables and their values. If VSP is un-installed, these variables need to be added again for New Relic to function as expected

     

    COR_ENABLE_PROFILING=1
    COR_PROFILER={71DA0A04-7777-4EC6-9643-7D28B46A8A41}
    CORECLR_ENABLE_PROFILING=1
    CORECLR_PROFILER={36032161-FFC0-4B61-B559-F6C5D41BAE5A}
    CORECLR_NEWRELIC_HOME=C:\ProgramData\New Relic\.NET Agent\
    NEWRELIC_INSTALL_PATH=C:\Program Files\New Relic\.NET Agent\

     

    image7

  5. Add the below values as System Environment variables in the Registry Editor. Navigate to  HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > WAS > Environment

     
     

    VSP_AdditionalProfiler_CLSID={71DA0A04-7777-4EC6-9643-7D28B46A8A41}

    VSP_AdditionalProfilerCore_CLSID={36032161-FFC0-4B61-B559-F6C5D41BAE5A}

    CORECLR_NEWRELIC_HOME=C:\ProgramData\New Relic\.NET Agent\

    NEWRELIC_INSTALL_PATH=C:\Program Files\New Relic\.NET Agent\

    VSP_AdditionalProfilerCore_x64_Path=C:\Program Files\New Relic\.NET Agent\netframework\NewRelic.Profiler.dll

    VSP_AdditionalProfilerCore_x86_Path=C:\Program Files\New Relic\.NET Agent\netframework\NewRelic.Profiler.dll

    VSP_AdditionalProfiler_Path=C:\Program Files\New Relic\.NET Agent\netframework\NewRelic.Profiler.dll

     

    image7

  6. Restart IIS server 

 

<< PREVIOUS