Skip to content

Commit

Permalink
Merge pull request #152 from isiryder/hotfix-application-id
Browse files Browse the repository at this point in the history
Hotfix - column order in APM analysis
  • Loading branch information
alexafshar authored Nov 12, 2024
2 parents b4d8c33 + 577135b commit bc0df6d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion backend/extractionSteps/JobStepBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def reportData(
headers = ["controller", "application", "applicationId"] + (["description"] if self.componentType == "apm" else []) + list(rawDataHeaders)

writeUncoloredRow(rawDataSheet, 1, headers)
rawDataSheet.column_dimensions["C"].hidden = True

# Write Data
rowIdx = 2
Expand Down
2 changes: 0 additions & 2 deletions backend/output/reports/AgentMatrixReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
logging.debug(f"Creating workbook sheet for App Agents")
appAgentsSheet = workbook.create_sheet(f"Overall - App Agents")
writeUncoloredRow(appAgentsSheet, 1, ["controller", "application", "applicationId", *allAppAgentVersions])
appAgentsSheet.column_dimensions["C"].hidden = True

# Write Data
rowIdx = 2
Expand Down Expand Up @@ -65,7 +64,6 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
1,
["controller", "application", "applicationId", *allMachineAgentVersions],
)
machineAgentsSheet.column_dimensions["C"].hidden = True

# Write Data
rowIdx = 2
Expand Down
2 changes: 0 additions & 2 deletions backend/output/reports/CustomMetricsReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
],
)

summarySheet.column_dimensions["D"].hidden = True

rowIdx = 2
for host, hostInfo in controllerData.items():
for component in hostInfo["apm"].values():
Expand Down
3 changes: 1 addition & 2 deletions backend/output/reports/MaturityAssessmentReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
1,
data_header
)
analysisSheet.column_dimensions["D"].hidden = True

rowIdx = 2
for host, hostInfo in controllerData.items():
Expand All @@ -58,7 +57,7 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
]

if reportType == "apm": # add desc after name
data_row.insert(3, (component["description"], None))
data_row.insert(4, (component["description"], None))

writeColoredRow(
analysisSheet,
Expand Down
2 changes: 0 additions & 2 deletions backend/output/reports/SyntheticsReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ def createWorkbook(self, jobs, controllerData, jobFileName):
)
rowIdx += 1

summarySheet.column_dimensions["D"].hidden = True

addFilterAndFreeze(summarySheet, freezePane="F2")
resizeColumnWidth(summarySheet)

Expand Down

0 comments on commit bc0df6d

Please sign in to comment.