Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 08-29-2018 03:27 PM - edited on 10-12-2018 02:04 PM by Nina.Wolinsky
If you are using one of our SAAS EUM Clouds in North America, Europe, and APAC region, below are the instrumentation customizations required to set the collector and config endpoint.
Android
Instrumentation.start(AgentConfiguration.builder() .withAppKey("<EUM_APP_KEY>") .withCollectorURL("https://mobile.eum-appdynamics.com:443") // The URL of the EUM Server(on-prem) .build());
iOS
[Objective C]
ADEumAgentConfiguration *adeumAgentConfig = [[ADEumAgentConfiguration alloc] initWithAppKey:<#EUM_APP_KEY#>]; // Set the Collector URL and Screenshot Service URL to the EUM Server URL. adeumAgentConfig.collectorURL = "https://mobile.eum-appdynamics.com:443"; adeumAgentConfig.screenshotURL = adeumAgentConfig.collectorURL; [ADEumInstrumentation initWithConfiguration:adeumAgentConfig];
[Swift]
let configuration = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>) // Set the Collector URL and Screenshot Service URL to the EUM Server URL. configuration.collectorURL = "https://mobile.eum-appdynamics.com:443" configuration.screenshotUrl = configuration.collectorURL ADEumInstrumentation.initWith(configuration)
Note: The default endpoint for iOS and the Android agent is still https://mobile.eum-appdynamics.com:443, so even if this is not explicitly set, the agent will send data to the North America EUM Cloud.
Android
Instrumentation.start(AgentConfiguration.builder() .withAppKey("<EUM_APP_KEY>") .withCollectorURL("https://fra-col.eum-appdynamics.com:443") // The URL of the EUM Server(on-prem) .build());
iOS
[Objective C]
ADEumAgentConfiguration *adeumAgentConfig = [[ADEumAgentConfiguration alloc] initWithAppKey:<#EUM_APP_KEY#>]; // Set the Collector URL and Screenshot Service URL to the EUM Server URL. adeumAgentConfig.collectorURL = "https://fra-col.eum-appdynamics.com:443"; adeumAgentConfig.screenshotURL = adeumAgentConfig.collectorURL; [ADEumInstrumentation initWithConfiguration:adeumAgentConfig];
[Swift]
let configuration = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>) // Set the Collector URL and Screenshot Service URL to the EUM Server URL. configuration.collectorURL = "https://fra-col.eum-appdynamics.com:443" configuration.screenshotUrl = configuration.collectorURL ADEumInstrumentation.initWith(configuration)
Android
Instrumentation.start(AgentConfiguration.builder() .withAppKey("<EUM_APP_KEY>") .withCollectorURL("https://syd-col.eum-appdynamics.com:443") // The URL of the EUM Server(on-prem) .build());
iOS
[Objective C]
ADEumAgentConfiguration *adeumAgentConfig = [[ADEumAgentConfiguration alloc] initWithAppKey:<#EUM_APP_KEY#>]; // Set the Collector URL and Screenshot Service URL to the EUM Server URL. adeumAgentConfig.collectorURL = "https://syd-col.eum-appdynamics.com:443"; adeumAgentConfig.screenshotURL = adeumAgentConfig.collectorURL; [ADEumInstrumentation initWithConfiguration:adeumAgentConfig];
[Swift]
let configuration = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>) // Set the Collector URL and Screenshot Service URL to the EUM Server URL. configuration.collectorURL = "https://syd-col.eum-appdynamics.com:443" configuration.screenshotUrl = configuration.collectorURL ADEumInstrumentation.initWith(configuration)
Just wondering there are still few hiccups while showing details for custom data, custom timers, info points, and bread crumbs on AppD console after applying the above coding standards to mobile IOS application. Please advise if it's still needed any further custom instrumentation.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form