Using SL Multiprofiler with DataDog on IIS (Windows)

This page will help you configure Sealights Multiprofiler Solution on IIS with a DataDog profiler.

Prerequisites

Install the Datadog Tracer for DotNet into a different folder than C:\Program Files\, for example, “C:\DataDog-Tracer”.

Open your Windows System Properties dialog, and in the Environment Variables section, remove the following ones if they have been set:

COR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
COR_PROFILER_PATH_64=C:\path\to\Datadog.Trace.ClrProfiler.Native.dll
COR_PROFILER_PATH_32=C:\path\to\Datadog.Trace.ClrProfiler.Native.dll
CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
CORECLR_PROFILER_PATH_64=C:\path\to\Datadog.Trace.ClrProfiler.Native.dll
CORECLR_PROFILER_PATH_32=C:\path\to\Datadog.Trace.ClrProfiler.Native.dll

Install the Sealights .Net Agent, for example, in C:\Sealights\dotnet-agent\ directory and place there your agent token as a sltoken.txt file (Optional).

Setup

  1. Set the environment variables for the IIS Services (WAS and W3SVC) to specify the parameters needed by the Sealights and DataDog agents.

In the given sample configuration example below:

  • Change the “SL_” settings depending on your Sealights configuration use case

  • The Datadog Tracer is installed in the folder “C:\DataDog-Tracer” instead of “C:\Program Files” (as explained in the prerequisites)

If you're configuring the CD Agent, you'll need to add the following variables

  1. Open the registry keys and update both: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC by adding a new Multi-String value called Environment with the values defined above as their data

  2. Completely stop and start IIS by running the following commands as an administrator:

Last updated

Was this helpful?