Skip to content

Commit

Permalink
Snapshot report:
Browse files Browse the repository at this point in the history
- Added Method Call analysis
- Added Execution Time Range bucketing to Snapshots, Segments and Exits
- Added Exit Call to Segment correlation
- Minor column renames in Segment table

Other fixes:
- Corrected spelling of Occurrences in Metric Value data
- Information point check for null used wrong SEP variable
- Adjusted constants for all the reports to be properly respected, cleaning up several layers of improper cut&paste
  • Loading branch information
danielodievich committed Jan 1, 2018
1 parent 24716b0 commit 2d4b6d8
Show file tree
Hide file tree
Showing 27 changed files with 6,564 additions and 4,455 deletions.
3 changes: 3 additions & 0 deletions AppDynamics.Dexter.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
<None Update="DefaultJob.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="MethodNamespaceTypeMapping.csv">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down
10 changes: 10 additions & 0 deletions AppDynamics.Dexter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,19 @@
<Compile Include="ReportObjects\Entity\Maps\InformationPointEntityReportMap.cs" />
<Compile Include="ReportObjects\Event\Maps\ApplicationEventReportMap.cs" />
<Compile Include="ReportObjects\Metric\Maps\InformationPointMetricReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\MethodCallLineClassTypeMappingReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\MethodCallLineClassTypeMapping.cs" />
<Compile Include="ReportObjects\Snapshot\CallChainContainer.cs" />
<Compile Include="ReportObjects\Snapshot\ExecTimeRange.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\MethodCallLineOccurrenceReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\MethodCallLineElementType.cs" />
<Compile Include="ReportObjects\Snapshot\MethodCallLine.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\ApplicationSnapshotReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\BusinessDataReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\BusinessData.cs" />
<Compile Include="ReportObjects\Snapshot\ExitCall.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\DetectedErrorReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\MethodCallLineReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\ServiceEndpointCallReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Maps\ExitCallReportMap.cs" />
<Compile Include="ReportObjects\Snapshot\Segment.cs" />
Expand Down Expand Up @@ -226,6 +233,9 @@
<None Include="DefaultJob.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="MethodNamespaceTypeMapping.csv">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="NLog.xsd">
<SubType>Designer</SubType>
</None>
Expand Down
5 changes: 3 additions & 2 deletions DataObjects/JobConfiguration/JobStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public enum JobStatus
ReportApplicationAndEntityMetricGraphs = 24,
ReportEventsAndHealthRuleViolations = 25,
ReportSnapshots = 26,
ReportIndividualApplicationAndEntityDetails = 27,
ReportFlameGraphs = 28,
ReportSnapshotsMethodCallLines = 27,
ReportIndividualApplicationAndEntityDetails = 28,
ReportFlameGraphs = 29,

Done = 30,

Expand Down
4 changes: 3 additions & 1 deletion DataObjects/ProgramOptions/ProgramOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class ProgramOptions

public string OutputJobFilePath { get; set; }

public string ProgramLocationFolderPath { get; set; }

public string JobName { get; set; }

[ParserState]
Expand All @@ -36,7 +38,7 @@ public string GetUsage()

public override string ToString()
{
return String.Format("ProgramOptions:\r\nInputJobFilePath='{0}'\r\nRestartJobFromBeginning='{1}'\r\nOutputFolderPath='{2}'\r\nOutputJobFolderPath='{3}'\r\nOutputJobFilePath='{4}'\r\nProcessSequentially='{5}'", this.InputJobFilePath, this.RestartJobFromBeginning, this.OutputFolderPath, this.OutputJobFolderPath, this.OutputJobFilePath, this.ProcessSequentially);
return String.Format("ProgramOptions:\r\nInputJobFilePath='{0}'\r\nRestartJobFromBeginning='{1}'\r\nOutputFolderPath='{2}'\r\nOutputJobFolderPath='{3}'\r\nOutputJobFilePath='{4}'\r\nProcessSequentially='{5}'\r\nProgramLocationFolderPath='{6}'", this.InputJobFilePath, this.RestartJobFromBeginning, this.OutputFolderPath, this.OutputJobFolderPath, this.OutputJobFilePath, this.ProcessSequentially, this.ProgramLocationFolderPath);
}
}
}
137 changes: 137 additions & 0 deletions MethodNamespaceTypeMapping.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
ClassPrefix,FrameworkType
ActivityFeeds,Microsoft Dynamics CRM
antrl,ANTLR Parser
ASP,.NET ASP.NET
Asynchronous,.NET ASP.NET
ch.qos.logback,Logback
com.amazonaws,Amazon Core
com.amazonaws.AmazonWebServiceClient,Amazon Web Service Client
com.amazonaws.auth,Amazon Auth
com.amazonaws.http,Amazon Http
com.amazonaws.services.sns,Amazon SNS
com.amazonaws.services.sqs,Amazon SQS
com.appdynamics,AppDynamics
com.appdynamicspilot,AppDynamics
com.arjuna.ats,JBoss Arjuna
com.aspose,Aspose Components
com.atomikos,Atomicos Transactions
com.bea,BEA Core
com.blazesoft,FICO BlazeAdvisor
com.blazesoft.engines,FICO BlazeAdvisor Rules Engine
com.crossview.commerce,IBM WebSphere Commerce
com.ctc.wstx,Sun Woodstox
com.cybersource,CyberSource ECommerce
com.entrust,Entrust ECommerce
com.fasterxml.jackson,Jackson Core
com.fasterxml.jackson.annotation,Jackson Annotation
com.fasterxml.jackson.core,Jackson Core
com.fasterxml.jackson.databind,Jackson DataBind
com.google,Google Core
com.ibm,IBM Core
com.informix,Informix
com.mchange.v2.c3p0,c3p0 JDBC Connection Pooling
com.microsoft,Microsoft
com.microsoft.sqlserver,Microsoft SQL Server Driver
com.mysql,MySQL Driver
com.nimbusds,NimbusDS
com.opensymphony,OpenSymphony J2EE
com.oracle,Oracle Core
com.paypal,PayPal
com.pointbase,Pointbase Driver
com.rsa,RSA Security
com.singularity,AppDynamics
com.softwareag,Software AG
com.sun,JDK Core
com.sun.jersey,Jersey REST Framework
com.sun.xml.ws,Sun Web Services
com.sybase.jdbc2,Sybase JDBC2
com.sybase.jdbc3,Sybase JDBC3
com.sybase.jdbc4,Sybase JDBC3
com.terracotta,Terracota DB
com.terracottatech,Terracota DB
com.thoughtworks,ThoughWorks
com.weblogic,WebLogic Core
com.webmethods,Software AG webMethods
Corillian,Corillian/Voyager Banking
Fiserv,FiServ Financial
freemarker,Apache FreeMarker
io.undertow,JBoss Undertow
java,Java Core
java.io,Java IO
java.lang.reflect,Java Reflection
javax,Java Extension
jersey,Jersey REST Framework
jrockit,JRockit JVM
log4net,Log4Net Logging
Microsoft,Microsoft
Microsoft.Azure.KeyVault,Microsoft Azure KeyVault
Microsoft.Crm,Microsoft Dynamics CRM
Microsoft.CSharp,.NET C#
Microsoft.Dynamics,Microsoft Dynamics CRM
Microsoft.OData,Microsoft OData
Microsoft.Owin,Microsoft Owin
Microsoft.Practices,Microsoft Patterns and Practices
Microsoft.ServiceBus,Microsoft Service Bus
Microsoft.ServiceFabric,Microsoft Service Fabric
Microsoft.SharePoint,Microsoft SharePoint
Microsoft.SqlServer,Microsoft SQL Server
Microsoft.VisualBasic,.NET VB.NET
Microsoft.WindowsAzure.Storage,Microsoft Azure Storage
Microsoft.Xrm,Microsoft Dynamics CRM
MobileMoney.Voyager,Corillian/Voyager Banking
MS.Internal.Xaml,.NET XAML
MS.Internal.Xml,.NET XML
MySQL,MySQL Driver
net.sf,SourceForge
netscape,Netscape
Newtonsoft.Json,Newtonsoft JSON
Novell,Novell
NLog,NLog Framework
ognl,Apache OGNL
oracle,Oracle Core
org.acegisecurity,Acegi Security
org.apache,Apache
org.apache.camel.components.seda,Apache Camel Seda
org.apache.camel.example,Apache Camel Example
org.apache.cassandra,Apache Cassandra
org.apache.kafka,Apache Kafka
org.apache.openejb,Apache OpenEJB
org.apache.ws,Apache Web Services
org.apache.xmlbeans,Apache XML Beans
Org.BouncyCastle,Bouncy Castle Encryption
org.eclipse.jetty,Eclipse Jetty
org.glassfish,GlassFish
org.jboss,JBoss
org.jboss.soa.esb.client,JBoss ESB
org.mule.processor,Mule ESB
org.springframework,Spring
org.springframework.integration,Spring Integration
org.springframework.jms,Spring JMS
persistence.antlr,TopLink JPA
redis,Redis Cache
redis.clients,Redis Cache Client
SNINativeMethodWrapper,.NET ADO.NET
StackExchange.Redis,Redis StackExchange
StructureMap,StructureMap IoC/DI
sun,JDK Core
sun.reflect,Java Reflection
System,.NET System
System.Activities,.NET WF
System.Collections,.NET Collections
System.Data,.NET Data
System.Data.Linq,.NET Data Linq
System.Diagnostics,.NET Diagnostics
System.IO,.NET IO
System.Linq,.NET Linq
System.Net,.NET Network
System.Reflection,.NET Reflection
System.Runtime,.NET Runtime
System.Security,.NET Security
System.ServiceModel,.NET WCF
System.Text,.NET Text
System.Threading,.NET Threading
System.Web,.NET ASP.NET
System.Web.Mvc,.NET ASP.NET MVC
System.Xaml,.NET XAML
System.Xml,.NET XML
weblogic,WebLogic Core
Loading

0 comments on commit 2d4b6d8

Please sign in to comment.