Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AppDynamics Essentials
Lab Guide for JAVA | .NET
AppDynamics University
This document and all information and content contained herein are protected by
U.S. copyright and other intellectual property laws, and are the confidential
information of AppDynamics, LLC. No part of this document may be reproduced,
distributed or displayed in any form or by any means, or used to make any derivative
work (such as a translation or adaptation), without prior written permission from
AppDynamics, LLC.
Copyright © 2018 AppDynamics, LLC. All rights reserved.
The term APPDYNAMICS and any logos of AppDynamics are trademarked or
registered trademarks of AppDynamics, LLC.
APM200-45 – AppDynamics Essentials JAVA
3
APM200-45 – AppDynamics Essentials JAVA
4
APM200-45 – AppDynamics Essentials JAVA
There is also a Custom option that allows you to set a specific time range, and a
Manage Custom Time Ranges (gear icon) item that allows you to create named time
ranges that will always be available to you and can be shared with other
AppDynamics users.
You can also set a custom time range by dragging the mouse across the part of a
graph that you’d like to see as a custom time range, and releasing the mouse. This
provides you with a context menu that shows you the exact custom time range
selected, and gives you the following three options:
● View Transaction Snapshots in Selected Time Range
● Set Time Range
● Zoom
1. Drag your mouse over approximately 30 minutes of the data in the Load graph
at the bottom left of the MovieZtream dashboard, and select Set Time Range.
2. Now instead of the Time Range drop-down, the Custom Time Range toolbar
appears with the dashboard data for the exact time range you selected. Notice
the top toolbar indicates beginning and ending dates and times. Similar to this:
3. Click on the at the end of the time range field and reset the global time
range on your Controller to last 2 hours.
5
APM200-45 – AppDynamics Essentials JAVA
Instructions
Use the Top Business Transactions dashboard to quickly see a sorted list of
Business Transactions by several criteria.
1. From the left navigation pane, navigate to the Application Dashboard page,
then select the Top Business Transactions tab (fourth from the left, on top).
2. You can now see a sorted list of Business Transactions by six important criteria:
● Load
● Response Time
● Errors
● Slow Transactions
● Stalls
● Health Rule Violations
3. Which Business Transaction has the highest load? _______ The highest
response time? ________ The highest error rate? ________
Please let your instructor know that you have completed the exercise(s).
6
APM200-45 – AppDynamics Essentials JAVA
Instructions
Use the application dashboard to view periodic snapshots and drill down to see the
path that individual requests take through your application components.
7
APM200-45 – AppDynamics Essentials JAVA
Instructions
Troubleshoot for the root cause of the slow response times using two common
workflows:
● Using Slow and Error Transactions
● Using the Troubleshooting Dashboard
Before you begin, make sure that your time range is set to show data for the last 2
hours.
NOTE: A full call graph is represented by a blue icon while partial call graphs
use a gray icon .
4. Double click on the call graph icon. This will open a new window with the
snapshot flow map.
5. Look at the flow map to get an idea of the relative percentage of time spent in
each tier. Find the tier where the most time is spent, and click on the Drill
Down link. This will open the call graph for the snapshot.
8
APM200-45 – AppDynamics Essentials JAVA
6. View the Percentage details of the elements in the call graph and determine
the method that is taking the most time and highlight it. Click the Details
button, and note the class and method name.
7. You will pass these to a specialist who will figure out why this particular
method is being called here. When you are done, close the snapshot window.
9
APM200-45 – AppDynamics Essentials JAVA
200-3: Metrics
Scenario: Troubleshoot Node Infrastructure Issues
AppDynamics can also tell you a lot about the performance and state of your
hardware. Let’s look at how to troubleshoot hardware issues by looking at the CPU
utilization for MovieZtream.
10
APM200-45 – AppDynamics Essentials JAVA
Please let your instructor know that you have completed the exercise(s).
11
APM200-44 – AppDynamics Essentials .NET
12
APM200-45 – AppDynamics Essentials .NET
13
APM200-45 – AppDynamics Essentials .NET
Under the Time Range drop down, there is also a Custom option that allows you
to set a specific time range, and a Manage Custom Time Ranges (gear icon)
item that allows you to create named time ranges that will always be available to
you and can be shared with other AppDynamics users.
You can also set a custom time range by dragging the mouse across the part of
a graph that you’d like to see as a custom time range, and releasing the mouse.
This provides you with a context menu that shows you the exact custom time
range selected, and gives you the following three options:
● View Transaction Snapshots in Selected Time Range
● Set Time Range
● Zoom
1. Drag your mouse over approximately 30 minutes of the data in the Load
graph at the bottom, left of the MovieZtream dashboard, and select Set Time
Range.
2. Now instead of the Time Range drop-down, the Custom Time Range toolbar
appears with the dashboard data for the exact time range you selected.
Notice the top tool bar indicates beginning and ending dates and times.
Similar to this:
3. Click on the at the end of the time range field and reset the global time
range on your Controller to last 2 hours.
14
APM200-45 – AppDynamics Essentials .NET
Instructions
Use the Top Business Transactions dashboard to quickly see a sorted list of
Business Transactions by several criteria.
1. From the left navigation pane, navigate to the Application Dashboard page
(if not already viewing it), then select the Top Business Transactions tab
(fourth from the left, on top).
2. You can now see a sorted list of Business Transactions by six important
criteria:
• Load
• Response Time
• Errors
• Slow Transactions
• Stalls
• Health Rule Violations
3. Which Business Transaction has:
The highest load? _______
The highest response time? ________
The highest error rate? ________
Please let your instructor know that you have completed the exercise(s).
15
APM200-45 – AppDynamics Essentials .NET
Instructions
Use the application dashboard to view periodic snapshots and drill down to see the
path that individual requests take through your application components.
16
APM200-45 – AppDynamics Essentials .NET
6. Single click to select the component where this request spent the most time
and click the Details button. You can now see the details of this invocation.
7. Finish by closing the Snapshot window.
Instructions
Troubleshoot for the root cause of the slow response times using two common
workflows:
● Using Slow and Error Transactions
● Using the Troubleshooting Dashboard
Before you begin, make sure that your time range is set to show data for the last 2
hours.
NOTE: A full call graph is represented by a blue icon while partial call graphs
use a gray icon
4. Double click on the call graph icon. This will open a new window with the
snapshot flow map.
5. Look at the flow map to get an idea of the relative percentage of time spent in
each tier. Find the tier where the most time is spent, and click on the Drill
Down link. This will open the call graph for the snapshot.
17
APM200-45 – AppDynamics Essentials .NET
6. Look to the right of the call graph and find the method that is taking the most
time and highlight it. Click the Details button, and note the class and method
name.
7. You will pass these to a specialist who will figure out why this particular
method is being called here. When you are done, close the snapshot window.
Please let your instructor know that you have completed the exercise(s).
18
APM200-45 – AppDynamics Essentials .NET
200-3: Metrics
Scenario: Troubleshoot node infrastructure issues
AppDynamics can also tell you a lot about the performance and state of your
hardware. Let’s look at how to troubleshoot hardware issues by looking at the CPU
utilization for MovieZtream.
19
APPENDIX
Appendix
1. Logging in to your University Lab Environment
20