Skip to content

Commit

Permalink
Merge pull request #119 from alexafshar/master
Browse files Browse the repository at this point in the history
fix parsing error on synthetics data
  • Loading branch information
alexafshar authored Apr 28, 2023
2 parents a6a162c + 751fdcf commit 0c2b4a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.5.9.5
v1.5.9.6
4 changes: 2 additions & 2 deletions backend/extractionSteps/general/Synthetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ async def extract(self, controllerData):
job["privateAgentUtilization"] = None
try:
job["averageDuration"] = syntheticSessionData[idx].data["AVG_DURATION"][job["config"]["id"]]
except (KeyError, IndexError):
logging.debug(f"{host} - {applicationName} - {job['config']['description']} - No average duration")
except (KeyError, IndexError, TypeError):
logging.warning(f"{host} - {applicationName} - {job['config']['description']} - No average duration")
job["averageDuration"] = 0

def analyze(self, controllerData, thresholds):
Expand Down
2 changes: 1 addition & 1 deletion input/thresholds/DefaultThresholds.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v1.5.9.5",
"version": "v1.5.9.6",
"apm": {
"AppAgentsAPM": {
"platinum": {
Expand Down

0 comments on commit 0c2b4a0

Please sign in to comment.