pre-con ed: simplify administration and reporting in ca application performance management 10
TRANSCRIPT
![Page 1: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/1.jpg)
World®’16
Pre-ConEd:SimplifyAdministrationandReportinginCAAPM10
GuenterGrossberger,Sr.EngineeringServicesArchitect,CATechnologiesAndreasReiss,Sr.PrincipalEngineeringServicesArchitect,CATechnologies
DO4X152L
DEVOPS– AGILEOPERATIONS
![Page 2: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/2.jpg)
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
![Page 3: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/3.jpg)
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
CAAPMCommandCentermanagesyouragentconfigurationstosimplifytheadministrationofCAAPMinstallationsinevenlargescaleenvironments.YouwilllearnhowtocreateandupdateagentconfigurationsintheCommandCenterUIandpushthemtoagents.Wewillalsodiscusshowtomonitorcontainerizedapplications,howtousecreatereportsusingSQLwithCAAPMandhowtouseRESTbasedAPIstocorrelatereporting.
GuenterGrossberger
AndreasReissCATechnologies,EngineeringServicesArchitect
CATechnologies,Sr.EngineeringServicesArchitect
![Page 4: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/4.jpg)
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
APMCOMMANDCENTER:AGENTPACKAGES ANDBUNDLES
PACKAGEUPGRADESANDDYNAMICEXTENSIONS
MONITORINGMODERNAPPLICATIONS
REPORTINGWITHCAAPMSQL
REPORTINGWITHCAAPMRESTAPIS
1
2
3
4
5
Q&A6
![Page 5: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/5.jpg)
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMCommandCenter:AgentPackagesandBundles
![Page 6: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/6.jpg)
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Recap:CommandCenterFocusAreas
§ CommandCentercanbedistilledinto4distinctareas
Diagnostics Health
ViewInformationaboutJavaagentsrunningwithintheenvironment
Remotelyfetchagentlogfilesandotherdiagnosticinformation
Packagediagnosticsforuploadtosupportticket
RemotelychangetheLogLevelonasingleJavaAgent
Deployment
Abilitytocreatetailoredpackages fordeploymenttoproductionsystems
PackagesexposedviaAPIforconsumptionby3rd Partydeploymenttools
Cloudbasedstoreforagentrelatedpackages:CAAPMMarketplace
Configuration
Abilitytocreateconfigurationgroups
Create&enforceconfigurationpolicies
Supportfor‘hot’and‘cold’configuration
Audittrailofconfigurationchanges
Suggestadditionalmonitoringopportunities
Reviewthemonitoringoverheadoftheagents
Reportissues/errorswiththemonitoring
Suggestchangestothemonitoringtoreduceoverhead
![Page 7: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/7.jpg)
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Recap:Architecture
![Page 8: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/8.jpg)
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatisaPackage?
Apackageisanarchive (ziportar)thatcontainsallofthematerialsrequiredtodeployanAPMJavaAgent;thisincludes:
§ AgentJAR
§ Agentrofile andPBDs
§ OthersupportJARsandbinaries
§ Installinstructions
![Page 9: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/9.jpg)
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatisaPackage?
Apackageistailoredtotheenvironment beingmonitored
§ Applicationserver
§ Requiredmonitoringfunctionality
§ Specificmonitoringcapabilities
§ Specificinstallationrequirements
Apackageismadeupofoneormorebundles,eachofwhichrepresentsapieceoffunctionalityofferedbytheagent
![Page 10: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/10.jpg)
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowIsaPackageBuilt?
Creatingapackageinvolvesusinga4stepwizardto:
1. Definetheenvironment
2. Tailorthebundles
3. Tailortheconfiguration
4. Tailortheinstallationinstructions
Skippingsteps2-4willcreateadefaultpackagefortheselectedenvironment
![Page 11: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/11.jpg)
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatDoesaBuiltPackageLookLike?
Apackageisaziportarfilethatexactlyresemblesanagentinstalldirectory,withtheusual‘wily’rootfolder
Additionalfilescreated:
§ installInstructions.md – providestailoredinstructionsonhowthispackageshouldbedeployed
§ manifest.txt – provideslistofbundlesused,togetherwithanypropertyoverrides
§ acc-master.pbl – usedtoprovideanexactlistofpbdfilesincludedintheconfiguration
wily
core
config
tools
acc-master.pbl
IntroscopeAgent.profile
pbdfiles
hotdeploy
ext
manifest.txt
installInstructions.md
Agent.jar
common
connectors
logs
![Page 12: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/12.jpg)
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMCommandCenter:CreateanAgentPackage
![Page 13: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/13.jpg)
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateNewAgentPackage
2.ClickNew
1.ClickPackages
![Page 14: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/14.jpg)
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateNewAgentPackage
2.SelectOS
1.Enternameandcomment
3.Selectagentversion
4.EnterMOM/EM(optionalorlist)
5.ClickDONE
![Page 15: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/15.jpg)
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateNewAgentPackage
Downloadlink
OOTBrequiredandrecommendedbundlesper
applicationserver
Version
![Page 16: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/16.jpg)
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateNewAgentPackage
Downloadlink
Installandconfigurationinstructions
![Page 17: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/17.jpg)
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:CreateAgentPackage
![Page 18: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/18.jpg)
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMCommandCenter:CustomizeAgentPackage
![Page 19: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/19.jpg)
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CustomizeAgentPackage
1.Selectagentbundle
2.Click“DONE”
Or“COPY”
![Page 20: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/20.jpg)
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CustomizeAgentPackage
Bundledescriptionanddependencyinformation
Bundlesareorganizedintofourcategories:
1. Core2. Environment3. Feature4. Custom
1.Selectbundle
3.Click“ConfigureBundles”
2.Click“Add”
![Page 21: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/21.jpg)
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CustomizeAgentPackage
§ IntroscopeAgent.profile isbrokendownintobundles– EnterpriseManagerconnection– Javaagent– CommandCenter– Browseragent– JMX– EJB
§ CommandCenterconstructspackageIntroscopeAgent.profile frombundles
![Page 22: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/22.jpg)
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CustomizeAgentPackage
Changedpropertiesareshowninboldfont
Youcanadd,revertanddeleteyourownpropertieshere.
Descriptionandpropertiesareshown
perbundle
E.g.use“MathClient”asagentname
Enteracustomproperty
Custompropertiesaremarkedwiththestar
![Page 23: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/23.jpg)
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CustomizeAgentPackage
Youcanedittheinstallinstructionsaswell.
2.Click“DONE:whenyou’refinished
1.Click“InstallInstructions”
Textismarkdownsyntax(helpexplains
markdown!)
![Page 24: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/24.jpg)
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:CustomizeAgentPackage
![Page 25: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/25.jpg)
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMMarketplace
![Page 26: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/26.jpg)
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Motivation
§ CAAPMisextensible
§ Therearemanyfieldextensionsoutthere– where?
§ CAAPMCommunity,github.com/CA-APM,colleagueslaptop,etc.
§ WehavestartedtomakeextensionsfullysupportedviaCASupport
§ CAAPMMarketplaceistheplacetofindallCAAPMextensions
§ http://marketplace.ca.com/apm
![Page 27: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/27.jpg)
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMMarketplacehttp://marketplace.ca.com/apm
CASupportedextension
Searchorselectcategory
Searchorselectcategory
• Agentextensions• EPAagentplugins/scripts• Examples
SSO:ca.com,Support,Communitieslogin
AllCAAPMextensionsarefree!
![Page 28: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/28.jpg)
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMMarketplace
§ Afterorderingyouwillgettwoemails– Orderconfirmation
– DownloadLink
§ Downloadedfile(ifagentextension)– <extension>-<version>-dist.tar.gz
e.g.spring-3.3.0-dist.tar.gz§ post-10.5/spring-3.3.0.tar.gz(agentbundle!)
§ pre-10.5/spring-3.3.0-pre-10.5.tar.gz(agentbundle!)
– ImportintoCommandCenter:Importbuttonin10.5,copytoimportfolderin10.2,10.3
http://marketplace.ca.com/apm
![Page 29: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/29.jpg)
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ImportExtensions
2.ClickImportandselectfile
1.ClickBundles
![Page 30: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/30.jpg)
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ImportExtensions
Restartnecessary
Bundlewillappearinlist
![Page 31: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/31.jpg)
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:CAAPMMarketplace
![Page 32: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/32.jpg)
32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Lab1:Create&CustomizeAgentPackage
![Page 33: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/33.jpg)
33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DynamicExtensions
![Page 34: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/34.jpg)
34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Motivation
§ Agentchangesoftenrequireapplicationserverrestarts
§ Applicationservermanagedbydifferentteam
§ Requireschangeboardapproval
§ PBD changesareautomatically reloaded
§ IntroscopeAgent.profile changedareautomatically reloaded
§ Whynotextensions?
![Page 35: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/35.jpg)
35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DynamicExtensions
Newagentsub-directories
Todeployandagentextension:1. UseCommandCenteror2. Copyextensioninto$WILYHOME/deploy
Extensionwillbeextractedintoextensionsdirectory– Iftheextensionisdynamic(propertyinbundle.json)
§ Loadedversionofextensionisunloaded§ Newversionofextensionisloaded§ Noapplicationserverrestartrequired
– Otherwiseonlyloadedonapplicationserverrestart
Oldagentextensions:core/config,core/ext
DropnewextensionsintodeployoruseACC
Newextensionsdirectory
![Page 36: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/36.jpg)
36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DynamicExtensions
Norestartnecessary
Bundlerequiresrestart
Dynamicextension
Old(pre-10.5)extension,not
dynamic
![Page 37: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/37.jpg)
37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DynamicExtensions
Dynamicextensions
Bundlerequiresrestart
Dynamicextension
![Page 38: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/38.jpg)
38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Youcanpushachangedconfigurationtoagroupofagents(“NamedFilter”)directlyfromtheCommandCenterUI
Agentstatuswillshowifanagentneedstoberestarted
DynamicExtensions
![Page 39: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/39.jpg)
39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PackageVersioning
§ Eachpackagehasaversionassociatedwithit
§ Thisversionincrementsafter adownloadedpackageisedited
§ Thislimitsthenumberofversionsthatarecreated
§ Packageusagebyversionisalsoreported– Indicationthatagentisusingoutofdatepackage
Version=1
Version=1
Version=1
Zipv=1
Version= 2
Version=1
Download
![Page 40: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/40.jpg)
40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TrackingPackageUsage
CommandCenterreportspackageusage
§ PackagedetailsareincludedinprofileandexposedasJavasystemproperties###################################
# PACKAGE DETAILS###################################
acc.package.id=1acc.package.name=tomcatLinux
acc.package.version=1
§ CommandCentercontrollerpicksupthesepropertiesandpassesontoconfigurationserver
§ Configurationserverreconcileswithpackageinordertoreportpackageusage
![Page 41: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/41.jpg)
41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:DynamicExtensionsandPackageUpgrades
![Page 42: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/42.jpg)
42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MonitoringModernApplications
![Page 43: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/43.jpg)
43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ApplicationsareArchitectedDifferentlyMicroservices
(Agile,loosely-coupled,independent,continuousdelivery)Monolithic
(Tightly-coupleddependent,waterfall,changeintolerant)
![Page 44: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/44.jpg)
44 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Microservices:MonitoringScale&ComplexityMicroservices architectureisanemergingtechniquewhichpromisestodeliverflexibilityandscalabilitytothedevelopmentanddeploymentofservicebasedapplications
http://www.pwc.com/us/en/technology-forecast/2014/cloud-computing/features/assets/feature02-figure02.jpg
![Page 45: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/45.jpg)
45 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MonitoringMustScale withNewArchitecture
MicroservicesArchitecturewitheachelementoffunctionalityinaseparateservice….
Scalesbydistributingservicesacrossservers,replicatingasneeded
MICROSERVICE CONSIDERATIONS
§ Testingacrossmultipleservices§ Releaseco-ordination§ Manymovingparts/multipleinstances§ Manynewdatastores– SQL,NoSQL§ Networklatency,messaging,emergent
behaviors§ Complexity!
![Page 46: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/46.jpg)
46 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Containers– MonitoringComplexity&ScaleContainersincludetheapplicationandallofitsdependencies,butsharethekernelwithothercontainers;Dockercontainersarelightweight,runonanycomputer,onanyinfrastructure,inanycloudandaregreatformicroservices
![Page 47: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/47.jpg)
47 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Cloud– MonitoringScaleCloudcomputingisaboutaccesstoapoolofcomputingresources(servers,storage,networks,servicesetc)thatcanberapidlyprovisionedandmadeavailablewithminimaloverhead–NIST
![Page 48: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/48.jpg)
48 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Browser
Mobile
Network WebServer
SyntheticTransactions
SQLDatabase
APIGatewayAppServer
PassiveEUE(Agentless)
Mainframe
TransactionPerformance
=MonitoringAgent
Microservice
DockerContainer
SSO UserDataStore
Abilitytotracecomplextransactionsthattraversetheentireinfrastructurefromcustomer-facingsystemsofengagementtoback-endsystemsofrecord
SYSTEMSOFENGAGEMENT
SYSTEMSOFRECORD
![Page 49: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/49.jpg)
49 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
E.P.I.C.A
PM
Smartagent• Collectwhatyouneedwhenyouneedit
Monitoringatscale• Monitor@scaleandclustering
Easeofadministration• GetcontrolwithCAAPMACC
Simplyvisualizelargecomplexdata• CAAPMHomePageandAssistedTriagehelpquickly
identifyanddiagnoseproblemsthatmatter
Elegance@Scale
![Page 50: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/50.jpg)
50 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
APMSupportforModernTechnologies§ MonitorappsdeployedtoDockercontainerswithAPMagent§ Collectsbasiccontainerhealthmetrics(fieldpack)§ VisualizeappperformanceandDockerhealthinoneview§ https://github.com/CA-APM/DockerMonitoring
§ EasilymonitorappsdeployedusingCloudFoundryjavabuildpack§ CollectsbasichealthmetricsfromPivotalCloudFoundryloudFoundry(fieldpack)§ VisibilityintoapplicationperformanceandCFPivotalhealth§ MembersoftheCloudFoundryFoundation
§ CAAPMagentsarefullysupportedandprovidetransactioncorrelation,deepdiverootcauseanalysis;browseragentforenduseranalytics
§ FieldpacktoreportCloudwatch dataintoCAAPM
§ CAAPMpluginintegratesforbuildperformancecomparisons&attributeupdates§ https://wiki.jenkins-ci.org/display/JENKINS/CA+APM+Plugin
§ Node.jsagentsarefullysupportedandprovidetransactioncorrelation,deepdiverootcauseanalysis;browseragentforenduseranalytics
§ https://www.npmjs.com/package/ca-apm-probe
![Page 51: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/51.jpg)
51 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ContinuousIntegration/Deployment:MonitoringforResiliencyandChangeContinuousintegrationisaprocessinwhichalldevelopmentworkisintegratedasearlyaspossibleandtheresultingartifactsareautomaticallycreatedandtested;thisprocessshouldidentifyerrorsasveryearlyintheprocess
Source:http://cdn.rancher.com/wp-content/uploads/2015/11/18175501/ci_flow.png
![Page 52: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/52.jpg)
52 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MonitoringModernApplications
§ JavaandNode.jsagentinDockerisfullysupported
§ JavaagentincludedinCloudFoundry JavaBuildpack
§ ExtensionsontheCAAPMMarketplace(http://marketplace.ca.com/apm):– Docker– AWS– MongoDB– Jenkins– CloudFoundry
![Page 53: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/53.jpg)
53 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ReportingwithCAAPMSQL
![Page 54: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/54.jpg)
54 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
E M
Commandlineworkstation
IntroscopeJDBCdriver
Webservices
CAAPMdatafeedTheProblem
![Page 55: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/55.jpg)
55 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ASolution!
![Page 56: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/56.jpg)
56 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MapMetricDatatoaSingleSQLTableColumn_Name Column_Type
attribute_type Long
source_name String
domain_name String
agent_host String
agent_process String
agent_name String
metric_path String
metric_attribute String
frequency Long
ts timestamp
agg_value Long
max_value Long
min_value Long
value_count Long
agent
metric
values
![Page 57: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/57.jpg)
57 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MapMetricDatatoaSingleSQLTableColumn_Name Column_Type
attribute_type Long
source_name String
domain_name String
agent_host String
agent_process String
agent_name String
metric_path String
metric_attribute String
frequency Long
ts timestamp
agg_value Long
max_value Long
min_value Long
value_count Long
agent
metric
values
§ Onetable:numerical_metric_data
§ Attribute_type:determineshowagg_value,max_value… areused
§ Metric_attribute:“ResponsesPerInterval”,“AverageResponseTime(ms)”…
§ ts andfrequencymustbepresentineveryquery
![Page 58: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/58.jpg)
58 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ExampleUseCase:GetSlowestApplications
DianawantstoaskCAAPMSQL
whichapplicationsareherworstperformersduringthelastweek
sothatshecanknowwhichneedthemostattentionandwhichareimproving
![Page 59: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/59.jpg)
59 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ExampleUseCase:GetSlowestApplications
SELECT agent_host,agent_name, metric_path,
Sum ( value_count ) AS total_count, Avg ( agg_value ) ASmean_agg
FROM numerical_metric_data
WHERE metric_path LIKE ’Frontends|Apps|%'
ANDmetric_attribute LIKE 'Average Response Time (ms)'
AND ts BETWEEN {ts '2016-11-0612:00:00.0'} AND {ts '2016-11-1412:00:00.0'}
AND frequency = 3600
GROUP BY agent_host, agent_name, metric_path
ORDER BYmean_agg DESC,total_count DESC, agent_host, agent_name, metric_path
![Page 60: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/60.jpg)
60 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:CAAPMSQLColumn_Name Column_Type
attribute_type Long
source_name String
domain_name String
agent_host String
agent_process String
agent_name String
metric_path String
metric_attribute String
frequency Long
ts timestamp
agg_value Long
max_value Long
min_value Long
value_count Long
![Page 61: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/61.jpg)
61 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ReportingwithCAAPMRESTAPIs
![Page 62: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/62.jpg)
62 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RelationshipView
Alertstatus
Spikegraphs
Basicandcustomattributes
Filters
TimelinechangeeEvents
Perspectives
DA
Alert
![Page 63: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/63.jpg)
63 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
APMTeamCenterVocabulary
Vertex
Edge
VertexGroup
![Page 64: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/64.jpg)
64 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMTeamCenterVocabulary– Attributes
§ Whatisanattribute:ametadatathatisassociatedwithavertexanddescribesavertex
§ EachvertexcomeswithOOTBattributes– agent– applicationName– hostname– name– type
![Page 65: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/65.jpg)
65 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMTeamCenterAttributes,Continued
§ TeamCenterhaspredefinedspecialattributes:– Location– Owner– Region– Tier
§ Candefineandassociatecustomattributeswitheachvertex
![Page 66: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/66.jpg)
66 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AttributeBenefits
§ Createmultiplelayersbygrouping
§ EndUserfriendlynames
§ Groupelementswithidenticalcontextintocommongroups
§ Assignaccess/permissions
§ How?By:– Groupingvertexes– Renamingcomponents(throughgrouping)– Annotatingvertexes– Highlightingvertexes
![Page 67: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/67.jpg)
67 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMTeamCenterAPI
§ CAAPMRESTAPIallowsyoutocreate/update/deletevertexattributes– Listsexistingvertices– Listsexistingattributesandtheirvalues– CreatesnewCUSTOMattributeforexistingvertex– Updatesexistingattributeforexistingvertex
§ Canbeusedinscriptsforautomation
https://docops.ca.com/ca-apm/10-3/en/integrating/api-reference-guide/apm-rest-api
![Page 68: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/68.jpg)
68 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPMTeamCenterAPI inAction– GetVertices
![Page 69: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/69.jpg)
69 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
GetVertexIDAttributesList
![Page 70: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/70.jpg)
70 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
UpdateVertexwithNewAttributeValue
![Page 71: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/71.jpg)
71 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ChecktoSeeifOwneris“Andrew”
![Page 72: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/72.jpg)
72 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Demo:CAAPMTeamCenterRESTAPI
![Page 73: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/73.jpg)
73 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
APMTeamCenterRESTAPI• Queryverticesand
attributes• Createorupdateattributes• Useinscripts
CAAPMCommandCenter• Createagentpackages• Selectandcustomize
bundles• CAAPMMarketplace• dynamicextensions
CAAPMSQL
• CAAPMfromanyUI• Onesingletable• Fast,powerfulreports
SummaryAFewWordstoReview
![Page 74: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/74.jpg)
74 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Thankyou.
Stayconnectedatcommunities.ca.com
![Page 75: Pre-Con Ed: Simplify Administration and Reporting in CA Application Performance Management 10](https://reader031.vdocument.in/reader031/viewer/2022030305/5870643c1a28ab48378b496d/html5/thumbnails/75.jpg)
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.75 @CAWORLD#CAWORLD
DevOps– AgileOps
FormoreinformationonDevOps– AgileOps,pleasevisit:http://cainc.to/wYXSg6