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
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...