Class DynatraceConfigurationBuilder


  • public class DynatraceConfigurationBuilder
    extends ConfigurationBuilder
    This class properly generates and initialize the agent Configuration for Dynatrace SaaS/Managed usage

    Example:
     new DynatraceConfigurationBuilder("myApplicationUUID", "https://example.bf.dynatrace.com/mbeacon")
         .withHybridMonitoring(true)
         .withMonitoredDomains("https://www.foo.com", "https://www.bla.com")
         .buildConfiguration();
     
    • Constructor Detail

      • DynatraceConfigurationBuilder

        public DynatraceConfigurationBuilder​(String applicationId,
                                             String beaconUrl)
        Creates a new ConfigurationBuilder by passing the mandatory Dynatrace configuration parameters. The parameter values can be found in your application configuration webUI page.
        Parameters:
        applicationId - the application id
        beaconUrl - the beacon url as provided by the wizard