.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
error_recorder.py File Reference

Go to the source code of this file.

Classes

class  searx.metrics.error_recorder.ErrorContext
 

Namespaces

namespace  searx
 
namespace  searx.metrics
 
namespace  searx.metrics.error_recorder
 

Functions

None searx.metrics.error_recorder.add_error_context (str engine_name, ErrorContext error_context)
 
 searx.metrics.error_recorder.get_trace (traces)
 
typing.Optional[None] searx.metrics.error_recorder.get_hostname (HTTPError exc)
 
typing.Tuple[typing.Optional[str], typing.Optional[str], typing.Optional[str]] searx.metrics.error_recorder.get_request_exception_messages (HTTPError exc)
 
typing.Tuple searx.metrics.error_recorder.get_messages (exc, filename)
 
str searx.metrics.error_recorder.get_exception_classname (Exception exc)
 
ErrorContext searx.metrics.error_recorder.get_error_context (framerecords, exception_classname, log_message, log_parameters, secondary)
 
None searx.metrics.error_recorder.count_exception (str engine_name, Exception exc, bool secondary=False)
 
None searx.metrics.error_recorder.count_error (str engine_name, str log_message, typing.Optional[typing.Tuple] log_parameters=None, bool secondary=False)
 

Variables

dict searx.metrics.error_recorder.errors_per_engines = {}