PDFs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update Transaction Detection Rule with new sample output. DOCS-1528

...

No Format
curl --user user1@customer1:secret http://demo.appdynamics.com/controller/transactiondetection/38/auto/servlet
 
<auto-discovery-config controller-version="004-002004-000-000">
    <auto<rule-discovery>list>
        <name>SERVLET</name>
 <rule agent-type="APPLICATION_SERVER" enabled="true"
      <properties>uri-length;first-n-segments;segment-length;2;</properties>      priority="0" rule-description="Java Auto Discovery Rule"
            rule-name="Java Auto Discovery Rule"
            rule-type="TX_MATCH_RULE" version="1">
            <tx-match-rule>{"type":"AUTOMATIC_DISCOVERY","txautodiscoveryrule":{"autodiscoveryconfigs":[{"txentrypointtype":"SERVLET","monitoringenabled":true,"discoveryenabled":true,"namingschemetype":"URI","httpautodiscovery":{"usefulluri":false,"parturisegments":{"type":"FIRST","numsegments":2,"selectedsegments":[]},"namingconfiguration":{},"namevaluepairs":[]}}]},"agenttype":"APPLICATION_SERVER"}</tx-match-rule>
        <discovery-resolution>URI</discovery-resolution></rule>
    </rule-list>
    <scope-rule-mapping-list>
   <transaction-detection-enabled>true</transaction-detection-enabled>
        <enabled>true</enabled>     <scope-rule-mapping scope-name="Default Scope">
            <rule rule-description="Java Auto Discovery Rule" rule-name="Java Auto Discovery Rule"/>
        </scope-rule-mapping>
    </auto-discovery>scope-rule-mapping-list>
</auto-discovery-config>

Import Transaction Detection Rule for an Entry Point Type 

...