ca Opscenter
Hands-On Lab: Smart Instrumentation
Marc Chéné
OCX20L #CAWorld
CA TechnologiesApplication Performance Management
2 © 2014 CA. ALL RIGHTS RESERVED.
Abstract
In this hands-on lab, you will learn about the new Smart Instrumentation capability , delivered as part of CA Application Performance Management (CA APM) 9.7, which delivers deep diagnostics capabilities.
Marc Chéné
CA Technologies
APM Product Manager
3 © 2014 CA. ALL RIGHTS RESERVED.
Agenda
SMART INSTRUMENTATION OVERVIEW
LAB 1: AUTOMATIC TRANSACTION TRACING (TT) WITH ERRORS
Q&A
LAB 2: DEEP COMPONENT VISIBILITY IN STALL EVENT
LAB 3: UPDATE THE INSTRUMENTATION LEVEL
SMART INSTRUMENTATION FEATURES UNDER CONSIDERATION
1
2
3
4
5
6
4 © 2014 CA. ALL RIGHTS RESERVED.
Smart Instrumentation Overview
Goal: Identify critical components to be monitored, and isolate problem components without requiring comprehensive knowledge of an application environment or manual instrumentation.
6 © 2014 CA. ALL RIGHTS RESERVED.
The Visibility Gap
Call Graph
G
A
B
C
D
E
F
A
G
H
I
J
K
2300ms Method Call “I”
H
Transaction trace/Inverted wedding cake
1500ms Method Call “J”
1300ms Method Call “K”
1000ms Method Call “F”
50ms Method Call “B”
30ms Method Call “C”
25ms Method Call “D”
25ms Method Call “E”
50ms G
7 © 2014 CA. ALL RIGHTS RESERVED.
CA APM 9.6 Introduces Deep Transaction Traces
Deep traces collected for transaction trace sessions: Manual Trace Session, CLW, Sample Traces, CEM
Available both in trace view and historical event viewer
Deep Component Visibility in Error Snapshots
Use Byte Code Analysis to determine the complexity of the Method
Score: used to determine if a component will be collected in a Deep Trace
Deep Trace contains class name, method name and timing information only
8 © 2014 CA. ALL RIGHTS RESERVED.
CA APM 9.7 Smart InstrumentationAutomatically provide deep call stack visibility into the performance of applications to rapidly triage the root cause and diagnose their application performance issues.
Feature– Automatic Transaction Traces with deep call path visibility based on application
errors and component response times – Deep component visibility in Stall Snapshots– (Hot configuration) Instrumentation level change doesn’t require
Agent/Application restart Benefits
– Automatically collect transaction traces when a problem occurs.– Rapid application triage doesn’t require in-depth knowledge of the application
or the need to modify instrumentation.
9 © 2014 CA. ALL RIGHTS RESERVED.
Automatic Evidence Collection
Automatic Transaction Trace when a problem occurs– When there is an error
– Component Response Time Threshold
– Extension API to create custom triggers
Automatic Traces created from highly optimized light weight tracers– Don’t display all the component properties as in a regular trace
– For frontends and backends (for example, servlets, Web services, SQL calls), the name is formatted based on the PBD configuration
– Clamps in IntrioscopeAgent.profile to limit number of traces
Deep component visibility in Stall Snapshots
10 © 2014 CA. ALL RIGHTS RESERVED.
Stall Snapshots With Deep Call Stack Visibility
Stall Snapshot with Deep Trace Components
11 © 2014 CA. ALL RIGHTS RESERVED.
Hands-On Lab Information
Environment Overview– Demo Application: TIXCHANGE
– Application Server: Tomcat 7
CA APM 9.7 Wiki Documentation: https://wiki.ca.com/display/APMDEVOPSCV/CA+Application+Performance+Management– User ID: [email protected]
– Password: CAworld14
12 © 2014 CA. ALL RIGHTS RESERVED.
Lab 1: Automatic Transaction Tracing (TT) With Errors
Documentation: CAW-OCX20L-Lab1-
AutomaticTransactionTracing(TT)withErrors.pdf
13 © 2014 CA. ALL RIGHTS RESERVED.
Lab 2: Update the Instrumentation Level: low to high
Documentation: CAW-OCX20L-Lab2-UpdateInstrumentationLevel.pdf
Step-by-step Overview
– Open the IntroscopeAgent.profile, located in: C:\apps\wily\core\config
– Find the following property: introscope.agent.deep.instrumentation.level
– Change instrumentation level to: high
14 © 2014 CA. ALL RIGHTS RESERVED.
Lab 3: Deep Component Visibility in Stall Event
Documentation: CAW-OCX20L-Lab2-DeepComponentVisibilityInStallEvent.pdf
15 © 2014 CA. ALL RIGHTS RESERVED.
Lab 4: Transaction Component Response Time Threshold—OPTIONAL
Goal: Automatically trigger Transaction Traces (TTs) that are above the configured response time duration.
Documentation: CAW-OCX20L-Lab4-TransactionComponentResponseTimeThreshold.pdf
Defining a tracer
with a threshold
Apply the tracer
to a class and
method
16 © 2014 CA. ALL RIGHTS RESERVED.
Roadmap: Application Performance ManagementTimeline as of November, 2014STRATEGIC INTENT: Strategy statement/vision
UNDER CONSIDERATION
MARQUEE FEATURES/BUSINESS
VALUE
Adaptive Smart Instrumentation based on Runtime Analysis
Automatic Front End detection
Quick and Easy Instrumentation
Converting a deep visibility component to a monitored component
Automatic tracing integrated with APM Transaction Time thresholds
Boundary only Monitoring with deep dive diagnostics for Root cause Analysis
17 © 2014 CA. ALL RIGHTS RESERVED.
Smart Instrumentation: Summary
CA APM 9.6
Faster Root Cause and Diagnosis
• Deep Transaction Tracing Visibility
• Deep Visibility in Error Snapshots
• Foundation: Scoring
CA APM 9.7
Automatic Evidence collection
• Automatic Tracing
• Deep Component Visibility in Stall Snapshots
• Instrumentation Level “Hot”
• Foundation: Automatic Tracing
Under Consideration*
• Automatic Tracing Based on APM Thresholds
• Automatic Frontend Detection
• Smart Instrumentation Based on Runtime Gap Analysis
18 © 2014 CA. ALL RIGHTS RESERVED.
ca Opscenter Demo Stations
19 © 2014 CA. ALL RIGHTS RESERVED.
For More Information
To learn more about DevOps, please visit:
http://bit.ly/1wbjjqX
Insert appropriate screenshot and text overlayfrom following “More Info Graphics” slide here;
ensure it links to correct pageDevOps
20 © 2014 CA. ALL RIGHTS RESERVED.
For Informational Purposes Only
This presentation was based on current information and resource allocations as of August 2014 and is subject to change or withdrawal by CA at any time without notice. Not withstanding anything in this presentation to the contrary, this presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future written license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. The development, release and timing of any features or functionality described in this presentation remain at CA’s sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, CA will make such release available (i) for sale to new licensees of such product; and (ii) to existing licensees of such product on a when and if-available basis as part of CA maintenance and support, and in the form of a regularly scheduled major product release. Such releases may be made available to current licensees of such product who are current subscribers to CA maintenance and support on a when and if-available basis. In the event of a conflict between the terms of this paragraph and any other information contained in this presentation, the terms of this paragraph shall govern.
Certain information in this presentation may outline CA’s general product direction. All information in this presentation is for your informational purposes only and may not be incorporated into any contract. CA assumes no responsibility for the accuracy or completeness of the information. To the extent permitted by applicable law, CA provides this presentation “as is” without warranty of any kind, including without limitation, any implied warranties or merchantability, fitness for a particular purpose, or non-infringement. In no event will CA be liable for any loss or damage, direct or indirect, from the use of this document, including, without limitation, lost profits, lost investment, business interruption, goodwill, or lost data, even if CA is expressly advised in advance of the possibility of such damages. CA confidential and proprietary. No unauthorized copying or distribution permitted.
Terms of this Presentation
21 © 2014 CA. ALL RIGHTS RESERVED.
For Informational Purposes Only
© 2014 CA. All rights reserved. All trademarks referenced herein belong to their respective companies.
This presentation provided at CA World 2014 is intended for information purposes only and does not form any type of warranty. Some of the specific slides with customer references relate to customer's specific use and experience of CA products and solutions so actual results may vary.
Terms of this Presentation