bbc / swf-metrics

Introspective metrics and breakdowns of pending and finished AWS Simple Workflow executions.
https://npmjs.com/swf-metrics
Apache License 2.0
1 stars 0 forks source link

URLs in error traces cause the same error to be displayed as separate errors #2

Open manishlad opened 8 years ago

manishlad commented 8 years ago
screen shot 2016-10-26 at 20 46 15

These are all the same error: Expected worker output to be a well-formed JSON Hash757: unexpected token at 'Corrupt JPEG data: 214 extraneous bytes before marker 0x68Corrupt JPEG data: 214 extraneous bytes before marker 0x68{...

...but the URL of the individual feeds causes each occurrence of this error to be listed separately in the results table.

thom4parisot commented 8 years ago

Yeah I realised that as well but did not have a strong opinion on how to determine the similarity of the error messages.

Maybe by diffing them or using levenshtein distance to evaluate the similarity…