Skip to content

Commit

Permalink
Program:
Browse files Browse the repository at this point in the history
- Changed naming of the output folder to be more compact
- Changed names of all report Excel files to be more compact
- Added TimeFrame time specifier fixing #107 and #96
- Simplified the configuration of EntityDashboardSelectionCriteria and SnapshotSelectionCriteria
- Added better support for sequential processing for debugging everywhere there is Parallel invocations
- Removed not-yet-implemented parameters fixing #108

APM Flowmaps Report:
- Moved from Entity Metrics report to produce its own file
- Added new filter column to identify cross-application calls

APM Snapshots:
- Removed line number from the FullName column to make Flame Graphs simpler

Entity Metric Graphs Report:
- Fixed #100
- Only showing last 8 hour time ranges
- Added pivot charts for each metric type for all entities
- Added Metric Upload metric to extraction
- Added Agent Metric Upload to list of default extracted metrics

Detected DB Entities Report:
- Updated to support Controller 20.4.x changes in the API that support the reports

Flame Graphs Report:
- Added more namespace mappings and colors
- Removed line numbers from the folded call stacks

APM Dashboard Screenshots Report:
- Added ChromeDriver Version 81
- Removed ChromeDriver Version 79

Tableau Reports:
- Added Snapshots fixing #30
  • Loading branch information
danielodievich committed May 9, 2020
1 parent 4fb2e72 commit 88bea34
Show file tree
Hide file tree
Showing 142 changed files with 21,362 additions and 6,578 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,6 @@ __pycache__/
/JobFiles/demo1ECommerceEvenLongerAgo.json
/JobFiles/demo1ECommerceAWhileAgo.json

packages/*
packages/*
/LicenseSign/LicenseFiles
/LicenseSign/Certificates
21 changes: 15 additions & 6 deletions AppDynamics.Dexter.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@

<ItemGroup>
<PackageReference Include="Aspose.Words" Version="20.3.0" />
<PackageReference Include="CommandLineParser" Version="2.6.0" />
<PackageReference Include="CommandLineParser" Version="2.7.82" />
<PackageReference Include="CsvHelper" Version="7.1.1" />
<PackageReference Include="EPPlus" Version="4.5.3" />
<PackageReference Include="EPPlus" Version="4.5.3.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NLog" Version="4.6.8" />
<PackageReference Include="NLog.Config" Version="4.6.8" />
<PackageReference Include="NLog.Schema" Version="4.6.8" />
<PackageReference Include="NLog" Version="4.7.0" />
<PackageReference Include="NLog.Config" Version="4.7.0" />
<PackageReference Include="NLog.Schema" Version="4.7.0" />
<PackageReference Include="runtime.osx.10.10-x64.CoreCompat.System.Drawing" Version="5.8.64" />
<PackageReference Include="Selenium.Support" Version="3.141.0" />
<PackageReference Include="Selenium.WebDriver" Version="3.141.0" />
Expand Down Expand Up @@ -96,6 +96,15 @@
<None Update="ChromeDriver\80\win32\chromedriver.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ChromeDriver\81\linux64\chromedriver">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ChromeDriver\81\mac64\chromedriver">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ChromeDriver\81\win32\chromedriver.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="EmptyConfig\reference.controller\EmptyAPM.0\CFG\seps.detection.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down Expand Up @@ -297,7 +306,7 @@
<None Update="ConfigCompare\reference.controller\EmptyWEB.0\ENT\webpages.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="CompareStates.json">
<None Update="DefaultCompare.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="EmptyConfig\reference.controller\CFG\controllerversion.xml">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
556 changes: 422 additions & 134 deletions ControllerApi/ControllerApi.cs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions DataObjects/CompareStatesConfiguration/CompareInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
{
public class CompareInput
{
public CompareTimeRange TimeRange { get; set; }
public bool DetectedEntities { get; set; }
public bool Flowmaps { get; set; }
public bool Metrics { get; set; }
public bool Snapshots { get; set; }
public bool Configuration { get; set; }
public bool UsersGroupsRolesPermissions { get; set; }
public bool Dashboards { get; set; }
public bool Licenses { get; set; }
}
}
3 changes: 3 additions & 0 deletions DataObjects/CompareStatesConfiguration/CompareOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ public class CompareOutput
public bool Flowmaps { get; set; }
public bool FlameGraphs { get; set; }
public bool Configuration { get; set; }
public bool UsersGroupsRolesPermissions { get; set; }
public bool Dashboards { get; set; }
public bool Licenses { get; set; }
}
}
40 changes: 24 additions & 16 deletions DataObjects/CompareStatesConfiguration/CompareStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,53 @@ public enum CompareStatus
// Compare Steps
CompareAPMConfiguration = 1,
//CompareDBConfiguration = 2,
//CompareWEBConfiguration = 3,
//CompareMOBILEConfiguration = 4,
CompareWEBConfiguration = 3,
CompareMOBILEConfiguration = 4,
//CompareBIQConfiguration = 5,

CompareAPMEntities = 10,
CompareUserGroupsRolesPermissions = 10,
CompareDashboards = 11,
CompareLicenses = 12,

CompareAPMEntities = 20,
//CompareSIMEntities = 21,
//CompareDBEntities = 22,
//CompareWEBEntities = 23,
//CompareMOBILEEntities = 24,
CompareWEBEntities = 23,
CompareMOBILEEntities = 24,
//CompareBIQEntities = 25,

CompareAPMMetrics = 20,
CompareAPMMetrics = 30,
//CompareSIMMetrics = 21,
//CompareDBMetrics = 22,
//CompareWEBMetrics = 23,
//CompareMOBILEMetrics = 24,
//CompareBIQMetrics = 25,

CompareAPMFlowmaps = 30,
CompareAPMFlowmaps = 40,

CompareAPMSnapshots = 40,
CompareAPMSnapshots = 50,

// Report steps
ReportConfigurationDifferences = 100,

ReportAPMEntitiesDifferences = 110,
ReportUserGroupsRolesPermissionsDifferences = 110,
ReportDashboardsDifferences = 111,
ReportLicensesDifferences = 112,

ReportAPMEntitiesDifferences = 120,
//ReportSIMEntities = 111,
//ReportDBEntities = 112,
//ReportWEBEntities = 113,
//ReportMOBILEEntities = 114,
ReportWEBEntitiesDifferences = 123,
ReportMOBILEEntities = 124,
//ReportBIQEntities = 115,

ReportAPMMetricsDifferences = 120,
ReportAPMMetricGraphsDifferences = 121,
ReportAPMMetricsDifferences = 130,
ReportAPMMetricGraphsDifferences = 131,

ReportAPMFlowmapsDifferences = 122,
ReportAPMFlowmapsDifferences = 133,

ReportAPMSnapshotsDifferences = 130,
ReportAPMFlameGraphsDifferences = 132,
ReportAPMSnapshotsDifferences = 140,
ReportAPMFlameGraphsDifferences = 141,

// The rest
Done = 500,
Expand Down
12 changes: 12 additions & 0 deletions DataObjects/CompareStatesConfiguration/CompareTimeRange.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace AppDynamics.Dexter
{
public class CompareTimeRange
{
public int ReferenceSkip { get; set; }
public int ReferenceCompareRanges { get; set; }
public int DifferenceSkipRanges { get; set; }
public int DifferenceConsiderRanges { get; set; }
}
}
54 changes: 0 additions & 54 deletions DataObjects/JobConfiguration/JobBackendType.cs

This file was deleted.

53 changes: 0 additions & 53 deletions DataObjects/JobConfiguration/JobBusinessTransactionType.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
public class JobEntityDashboardSelectionCriteria
{
public string[] Tiers { get; set; }
public JobTierType TierType { get; set; }
public string[] TierTypes { get; set; }
public string[] Nodes { get; set; }
public JobTierType NodeType { get; set; }
public string[] NodeTypes { get; set; }
public string[] BusinessTransactions { get; set; }
public JobBusinessTransactionType BusinessTransactionType { get; set; }
public string[] BusinessTransactionTypes { get; set; }
public string[] Backends { get; set; }
public JobBackendType BackendType { get; set; }
public string[] BackendTypes { get; set; }
}
}
1 change: 1 addition & 0 deletions DataObjects/JobConfiguration/JobInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace AppDynamics.Dexter
{
public class JobInput
{
public TimeFrame TimeFrame { get; set; }
public JobTimeRange TimeRange { get; set; }
public List<JobTimeRange> HourlyTimeRanges { get; set; }
public JobSnapshotSelectionCriteria SnapshotSelectionCriteria { get; set; }
Expand Down
1 change: 1 addition & 0 deletions DataObjects/JobConfiguration/JobOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public class JobOutput
public bool EntityDetails { get; set; }
public bool EntityDashboards { get; set; }
public bool Snapshots { get; set; }
public bool Flowmaps { get; set; }
public bool FlameGraphs { get; set; }
public bool Configuration { get; set; }
public bool Events { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions DataObjects/JobConfiguration/JobSnapshotSelectionCriteria.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
public class JobSnapshotSelectionCriteria
{
public string[] Tiers { get; set; }
public JobTierType TierType { get; set; }
public string[] TierTypes { get; set; }
public string[] BusinessTransactions { get; set; }
public JobBusinessTransactionType BusinessTransactionType { get; set; }
public string[] BusinessTransactionTypes { get; set; }
public JobUserExperience UserExperience { get; set; }
public JobSnapshotType SnapshotType { get; set; }
}
Expand Down
1 change: 1 addition & 0 deletions DataObjects/JobConfiguration/JobStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public enum JobStatus

ReportAPMMetrics = 120,
ReportAPMMetricGraphs = 121,
ReportAPMFlowmaps = 122,

ReportAPMSnapshots = 130,
ReportAPMSnapshotsMethodCallLines = 131,
Expand Down
17 changes: 0 additions & 17 deletions DataObjects/JobConfiguration/JobTierType.cs

This file was deleted.

20 changes: 20 additions & 0 deletions DataObjects/JobConfiguration/JobTimeFrame.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;

namespace AppDynamics.Dexter
{
public class TimeFrame
{
public string MarkDate { get; set; }
public string MarkTime { get; set; }
public string Duration { get; set; }

public override string ToString()
{
return String.Format(
"TimeFrame: {0} {1} {2}",
this.MarkDate,
this.MarkTime,
this.Duration);
}
}
}
2 changes: 1 addition & 1 deletion DataObjects/JobConfiguration/JobTimeRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class JobTimeRange
{
public DateTime From { get; set; }
public DateTime To { get; set; }
public override String ToString()
public override string ToString()
{
return String.Format(
"JobTimeRange: {0:o}-{1:o} {2:o}-{3:o}",
Expand Down
Loading

0 comments on commit 88bea34

Please sign in to comment.