CloudWeaver can create infrastructure performance Snapshots in response to Health Alerts in AppDynamics.
AppDynamics instruments your application and helps you find the inefficiencies within your code.
CloudWeaver instruments your infrastructure and helps you find the inefficiencies within your infrastructure.
Using CloudWeaver and AppDynamics together enables you to cover your entire stack (application code + infrastructure). If you are experiencing a performance issue, you can quickly isolate the cause to the application or to the infrastructure.
For example, if AppDynamics generates a health alert notifying you that a particular transaction is slow, you can quickly consult the CloudWeaver Snapshot to determine whether the latency is in the infrastructure. If in the infrastructure, then you can continue your investigation in CloudWeaver. If in the application, then you can continue your investigation in AppDynamics. Performance problems have nowhere to hide!
To setup the integration:
You simply copy the custom script from CloudWeaver and place it on your instances that are running the AppDynamics Machine Agents
This is a one-line script that simply calls out to the CloudWeaver API to create a Snapshot
Step by Step Instructions
1. Get your Automatically Created AppDynamics Snapshot Creation Script from CloudWeaver
Copy the script to a file named, e.g., “cw_snapshot.sh”. You will copy this file to every Instance that is running the AppDynamics Machine Agent. Place the file in the directory “<MACHINE_AGENT_DIRECTORY>/local-scripts”.
A copy of the script file "cw_snapshot.sh" is also available at the bottom of this post. You can refer to that as an example.
You will replace the arguments "<YOUR_CLOUDWEAVER_TENANT_ID>" and "<YOUR_CLOUDWEAVER_API_ACCESS_TOKEN>" with your Tenant ID and API Access Token that can be retrieved from the Settings page in CloudWeaver.
2. Configure your Health Rule in AppDynamics
3. Configure your Remediation Action in AppDynamics
4. Configure your Policy in AppDynamics
The Policy is triggered when the Health Rule is violated and it executes the Remediation Action which creates the Infrastructure Snapshot in CloudWeaver.
1. AppDynamics Reports a Slow Transaction
2. The CloudWeaver Infrastructure Snapshot instantly identifies Network Latency as the Root Cause
Please email your questions, suggestions, and comments, to us, at firstname.lastname@example.org
AppDynamics 3.7 and CloudWeaver
|October 17, 2013|
What is a CloudWeaver Infrastructure Performance Snapshot?
An Infrastructure Snapshot is a view of your cloud infrastructure as of a moment in time. A snapshot includes the resources in your infrastructure, their interactions, and their configuration and performance information.
Using an Infrastructure Snapshot you can immediately answer key questions of the state of your infrastructure as of the particular moment in time.
Simply select the Infrastructure Snapshot of interest, and the CloudWeaver UI resets itself to the time of the alarm. For example, the Flow Map shows you every resource and every alarm that was raised at that time. You can drill down to the metric charts which all display the metrics as of that time.
What is an AppDynamics Browser Snapshot?
Browser snapshots capture metrics from an instance of an actual user experience. They also give you the ability to drill into errors and server-side transaction snapshots associated with the experience when the app servers are instrumented with AppDynamics app agents.
A browser snapshot presents diagnostic data, taken at a certain point in time, for an individual base page, Iframe or Ajax request.
What is an AppDynamics Transaction Snapshot?
AppDynamics generates a transaction snapshot to capture the code paths executed on instrumented application servers involved in a distributed transaction.
Transaction snapshots contain considerable amounts of data and are processed and sent from the app server on which the application is running.
(Last Updated: November 9, 2013)