Profiler Chaining

Hdiv makes use of CLR Profiling. Only one profiler can be attached, so a Profiler Chaining feature is provided to allow more than one profiler at the same time and support most APM tools.

Profiler Chaining Configuration

Important

Main configured profiler must be Hdiv Agent

Environment variables to use in Profiler Chaining Configurations:

Full Framework

Name Value
HDIV_AGENT_COR_PROFILER_CHAINED [FFW Chained Profiler Clsid]
HDIV_AGENT_COR_PROFILER_CHAINED_PATH_64 [FFW Chained Profiler 64Bits file path]
HDIV_AGENT_COR_PROFILER_CHAINED_PATH_32 [FFW Chained Profiler 32Bits file path]

.Net Core

Name Value
HDIV_AGENT_CORECLR_PROFILER_CHAINED [Core Chained Profiler Clsid]
HDIV_AGENT_CORECLR_PROFILER_CHAINED_PATH_64 [Core Chained Profiler 64Bits file path]
HDIV_AGENT_CORECLR_PROFILER_CHAINED_PATH_32 [Core Chained Profiler 32Bits file path]

Disable Chaining

To disable chaining just undefine these variables or set this property in env.properties

hdiv.net.ast.profiler.chaining.disabled=true
or set this environment variable

Name Value
HDIV_NET_AST_PROFILER_CHAINING_DISABLED true