Raybeam/zartan

Add error type tracking

Opened this issue · 0 comments

Allow users to submit an error string when reporting proxy failures.

Zartan should treat these strings as opaque identifiers and present for each site, proxy, and (site, proxy) the number of each error type reported.

Clients may choose any string to represent an error. The string should identify the type of error encountered, not the specific details. For example, if the client is a scraper reporting an HTTP 500 response, any of "http500", "500", or "InternalServerError" would be appropriate error strings, whereas the entire backtrace of the exception thrown would not be appropriate.