question

Sjoerd B. avatar image
Sjoerd B. asked ·

Cordova instumentation fails with: Agent path not configured, auto-instrumentation not enabled until startupWithApplicationName is called

Hi,

We configured the Cordova plugin as described in https://www.dynatrace.com/news/blog/monitor-hybrid..., but during startup of the app on the iPad, we get the following message on the xcode-console:

"INFO Session [Dynatrace.m:133-771-1] Agent path not configured, auto-instrumentation not enabled until startupWithApplicationName is called"

No data is coming in into Dynatrace...

Is it something obvious that we overlooked?

Thanks!

dynatrace saasextensionsmobile monitoringmobileappios
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Matthias H. avatar image
Matthias H. answered ·

I would say that "Agent path not configured" means that there is no valid configuration. After cordova build ios, how does the your plist file look like? Does it contain some DTX.. properties?

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Matthias H. avatar image
Matthias H. answered ·

Sorry for the late answer, there was a holiday here in Austria. I am glad that you fixed the issue with the configuration.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sjoerd B. avatar image
Sjoerd B. answered ·

OK, this now works, after setting allow-navigation to "uem:*" and updating the dynatrace endpoint to https instead of http.

Now we got another issue left, that the web-application doesn't show actions, although the mobile-app now works :)

Stopping this thread now.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sjoerd B. avatar image
Sjoerd B. answered ·

Renaming dynatrace.config.xml to dynatrace.config, fixed this issue.

Now we are working to get around the "ERROR Internal navigation rejected - <allow-navigation> not set for url='uem:%23%23DTXiOSAgent%23%23'"

But, looks hopeful...

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sjoerd B. avatar image
Sjoerd B. answered ·

Hi @Matthias H., there are no DTX entries in the plist, although the dynatrace.config.xml is indeed in the root directory.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android