StartOptions

API Documentation:StartOptions

DSL object for configuring the auto start injection feature.

You can either connect the agent to a Dynatrace cluster or to an AppMon environment.

Dynatrace example:

dynatrace {
    configurations {
        sampleConfig {
            autoStart {
                applicationId '<YourApplicationID>'
                beaconUrl '<ProvidedBeaconURL>'
            }
        }
   }
}

AppMon example:

dynatrace {
    configurations {
        sampleConfig {
            autoStart {
                applicationId 'MyExampleAppID'
                agentPath 'https://dev.example.com:443'
            }
        }
   }
}

Properties

PropertyDescription
agentPath

Specifies the agentPath value from your AppMon web server agent

applicationId

Specifies the application id value from your Dynatrace mobile application configuration page

beaconUrl

Specifies the beaconUrl value from your Dynatrace mobile application configuration page

enabled

Specifies if the auto start injection feature is enabled

Methods

No methods

Script blocks

No script blocks

Property details

String agentPath

Specifies the agentPath value from your AppMon web server agent

String applicationId

Specifies the application id value from your Dynatrace mobile application configuration page

String beaconUrl

Specifies the beaconUrl value from your Dynatrace mobile application configuration page

boolean enabled

Specifies if the auto start injection feature is enabled

The default value is true.