Enable Instrumentation for WCF Data Services

This page describes how to configure the .NET Machine agent to enable instrumentation for Windows Communication Foundation (WCF) Data Services including WCF RIA Services for Microsoft LightSwitch.

  1. Open the config.xml Administer the .NET Agent.
  2. Copy the code block below to a child element of the Machine Agent element. SeeFor example:The configuration syntax is enabled="true" .NET Agent Configuration Properties.
    <instrumentation>
    <instrumentor name="WCFDSEntryInstrumentor" enabled="true" />
    </instrumentation>
    <?xml version="1.0" encoding="utf-8"?>
    <appdynamics-agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    ...
    <machine-agent>
    <!--Enable instrumentation for WCF Data Services correlation-->
    <instrumentation>
    <instrumentor name="WCFDSEntryInstrumentor" enabled="true" />
    </instrumentation>
    </machine-agent>
    ...
    </appdynamics-agent>
  3. Save the config.xml
  4. Restart the AppDyanmics.Agent.Coordinator
  5. Restart instrumented applications for your changes to take effect.