Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the following example, all DLLs with the prefix “Pet” are instrumented and tracked, regardless of their path. Likewise, for the classes with the prefix “Pet”, all methods are instrumented and tracked.

<?xml version="1.0" encoding="utf-8"?>
<instrumentation-config>
     <instances>
          <instance name="AspNetIIS5">
               <dlls>
                    <dll name="Pet*" />
               </dlls>
               <instrument>
                    <classes>
                         <class>
                              <name>Pet*</name>
                              <called-method>
                                   <methods>
                                        <method>
                                             <name>*</name>
                                        </method>
                                   </methods>
                              </called-method>
                         </class>
                    </classes>
               </instrument>
          </instance>
     </instances>
</instrumentation-config>

About the instrumentation.xml file tags

...