com.appdynamics.eumagent.runtime
Class AgentConfiguration

java.lang.Object
  extended by com.appdynamics.eumagent.runtime.AgentConfiguration

public class AgentConfiguration
extends java.lang.Object

The configuration of the AppDynamics SDK

Most users can set up their configuration like this:

 Instrumentation.start(AgentConfiguration.builder()
      .withAppKey("ABC-DEF-GHI")
      .withContext(getApplicationContext())
      .build());
 }
   
Replace "ABC-DEF-GHI" with your actual application key.

For more specialized use cases, like using an on-premise collector, use the other, more advanced options supported by this class.


Nested Class Summary
static class AgentConfiguration.Builder
          A class for setting up instances of AgentConfiguration.
 
Method Summary
static AgentConfiguration.Builder builder()
          Generates a builder for configuring the SDK.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

builder

public static AgentConfiguration.Builder builder()
Generates a builder for configuring the SDK.