Splunk AppDynamics

ADEUMInstrumentation.takeScreenShot()

CommunityUser
Splunk Employee
Splunk Employee

Scenario: iOS platform running Swift 3.1-written enterprise applications.

I'm an AppDynamics™ neophyte.
I can't find much detailed code information.

Where can I get a list of the available APIs of their ADEUMInstrumentation.framework?

Also, how does the ADEUMInstrumentation.takeScreenShot() work?
That is, could I capture the screen shot into a variable and pass it to server for analysis?

Any code samples or further references to study?

Labels (1)
Tags (3)
0 Karma

Gaurav_Soni
Contributor

Hi,

The documentation for IOS agent framework is here.

For more on snapshots see

https://docs.appdynamics.com/javadocs/ios-sdk/4.3/4.3.3/html/Classes/ADEumInstrumentation.html#//api...

I don't see a way to save it to a variable.

Regards,

Gaurav Soni

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the reply.

I've read thru the discussion that you had linked.

So the purpose of the screenshots is to display such shots in real time:

"These screenshots will show up in the Sessions screen for this user."

... now all I need to know is where is this 'Sessions screen'.

0 Karma

Gaurav_Soni
Contributor

Hi,

The documentation is talking about Mobile sessions. There are two ways to see mobile sessions. First, you go to your mobile application on the controller and you will see a Sessions link on the left navigation panel. Second, if you have mobile analytics license you can go to 'Analytics' tab from the top bar and then click on the "+" icon and choose mobile sessions from the drop down.

For more on mobile sessions and screenshots please go to the following link.

https://docs.appdynamics.com/display/PRO43/Mobile+Sessions

https://docs.appdynamics.com/display/PRO43/Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/Configure+Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/Take+Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/View+Mobile+Screenshots

Regards,

Gaurav Soni

CommunityUser
Splunk Employee
Splunk Employee

I had followed one of the links to the Mobile App Configuration URL in the attempt to access the Screenshot panel.  However I'm unable to 'Enable Mobile Screenshot'.  As you can see, the SAVE button is faded and I'm unable to check the check boxes.

Question: What do I need to do to activate the screen?

image.pngInactive Screen

0 Karma

Gaurav_Soni
Contributor

Did you check the EUM configuration permission for your user?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

1) I attempted to regester my app with a configuration to capture all:

image.pngRegister AppDynamics

2) Then I took a screen shot & left a bread crumb:

image.pngAttempt to take a screenshot & make a breadcrumb

3) Then I made a forced crash-on-demand:

image.pngForce a Crash

4) But I didn't get any screen shots:

image.pngNo Screenshots

... nor breadcrumbs:image.pngNo Breadcrumbs

Question: What am I missing?  

Why don't I get any screenshots??

...thanks for helping.

0 Karma

Gaurav_Soni
Contributor

Hi,

By default breadcrumbs are available only in crash reports to make it visible in Sessions you need to turn on the 'ADEumBreadcrumbVisibilityCrashesAndSessions'mode

Using this method lets you fine tune where the breadcrumbs are reported, either only in crash reports or in crash reports and sessions.

 
Where mode is either:
- ADEumBreadcrumbVisibilityCrashesOnly
- ADEumBreadcrumbVisibilityCrashesAndSessions
 
 
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...