• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Savas T. · Jun 02, 2015 at 07:52 AM · web performance monitoring

Mobile ADK is not capture buttonname for IOS

Hi All,

I have auto-instrument a application wtih Mobile ADK for IOS. But the I have 2 different problem:

-Button name is not captured.

Button is not listed cpwrUEM_instr.excludeControls paramter in info.plist file ( insturmantation proporties file )

-Some useractions/webrequest missing for a visit.

Any possible known resosons for this behaviour ?

regards,

Savas Tanrıverdi

 

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Neal L. · Jun 23, 2015 at 09:27 PM

As of right now, only titleForState is supported. If you would like to have support for attributedTitleForState, please enter a support ticket and we will get a fix pack for your version (6.0, 6.1) out to you. We have plans for adding attributedTitleForState and accessibilityLabel to 6.3. This should cover most cases especial image buttons. The developer will be able to add an accessibilityLabel which we will use if the other 2 methods don't return anything.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Scott C. · Jun 23, 2015 at 07:17 PM

Neal, thank you for the response, I will forward this to our developer.

You mention that attributedTitleForState:UIControlStateNormal should be used.. is it possible to get a build of the ADK with that support?  Also, can you clarify if titleLabel.text is currently supported or that is something in development?

I will also have them try the other settings for capturing the web requests.  We have to manually tag our webrequests, and they are showing up in Dynatrace purepath correctly with the proper tag, but are not being shown inside the user action purepath dashlet.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Neal L. · Jun 19, 2015 at 01:10 PM

Savas and Scott,

For the button issue you are having, we use titleForState:UIControlStateNormal to get the title of the button. If it comes back nil we then set the lifecycle action to Touch on Button. One thing we don't handle, but should is attributedTitleForState:UIControlStateNormal because it is support through the interface builder. We will look at also calling titleLabel.text if the titleForState returns nothing. I will have the documentation updated with this information.

For your question about missing user actions/web requests, here is an explanation on how we capture the user actions (lifecycle actions) and web requests. If a lifecycle action does not have a web request happening with in 500 ms from the action, it will be discarded by the agent. There is a setting called cpwrUEM_action.sendEmptyAutoAction that can be set to YES. This setting will prevent lifecycle actions from being discarded. Also, as you already mentioned, the 500 ms timeout can be changed by setting cpwrUEM_action.autoActionTimeoutMs to a value between 100 to 5000.

Depending on the version of the code you are running, the first lifecycle action may never get closed out sent to the server. The agent will send the web request to the server, but the server will eventually discard them because the parent lifecycle action was never sent. This bug have be resolved in the current public fix pack for 6.1.

Neal Leverenz

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Scott C. · Jun 17, 2015 at 07:21 AM

I am having the same issue and have opened a support ticket.  Were you able to resolve your issue?

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image Savas T. · Jun 17, 2015 at 07:29 AM 0
Share

Hi Scott,

Yes, Indeed.

Using costum button on aplication caused this behavior. Dt could not capture the buttonname has no title label.

When developer set title label on buttons. Mobile ADK captured the buttonname and Problem is fixed

I think This behaviour should be added as a limitatiton in documantation

https://community.compuwareapm.com/community/display/DOCDT61/Auto-Instrumentation+for+iOS#Auto-InstrumentationforiOS-Limitations

Regards,

Savas Tanrıverdi

 

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Identify long time calls on apache balancer

Not able to see purepath for visits

UEM and Vaadin framework.

Long PurePath Action

Is it possible to get Navigation timings by Browser

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A