0 AI Agent.xml (2.x)
Trask Stalnaker редактировал(а) эту страницу 2021-01-20 11:07:50 -08:00

Application Insights SDK Agent Configuration

A work in-progress...

Configuration file with defaults

<ApplicationInsightsAgent>
  <!--
  <AgentLogger />
  -->
  
  <!-- To exclude certain classes from instrumentation, list them here.
  <ExcludedPrefixes>
    <Prefix enabled="true|false">skip/instrumentation/for/these/package/prefixes</Prefix>
  </ExcludedPrefixes>
  -->
  
  <!-- 
  <SelfMode enabled="true|false" sdkPath="path/to/applicationinsights-core.jar" />
  -->
  
  <Instrumentation>
    <BuiltIn enabled="false"> <!-- if it's missing, default is false; if enabled=true, the defaults of child elements apply -->
      <Jedis enabled="true" thresholdInMS="10000" />
      <HTTP enabled="true" W3C="false" enableW3CBackCompat="true" />
      <JDBC enabled="true" />
      <MaxStatementQueryLimitInMS>10000</MaxStatementQueryLimitInMS>
      <!-- TBD: find result of setSimpleBuiltInClasses -->
    </BuiltIn>

    <!-- TBD -->

  </Instrumentation>

</ApplicationInsightsAgent>