.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
observe (self, value) | |
Public Member Functions inherited from searx.metrics.models.Histogram | |
__init__ (self, width=10, size=200) | |
quartiles (self) | |
count (self) | |
sum (self) | |
average (self) | |
quartile_percentage (self) | |
quartile_percentage_map (self) | |
percentage (self, percentage) | |
__repr__ (self) | |
Additional Inherited Members | |
Public Attributes inherited from searx.metrics.models.Histogram | |
int | _lock = 1 |
average | |
Protected Attributes inherited from searx.metrics.models.Histogram | |
_lock = threading.Lock() | |
_width = width | |
_size = size | |
list | _quartiles = [0] * size |
int | _count = 0 |
int | _sum = 0 |
Static Protected Attributes inherited from searx.metrics.models.Histogram | |
str | _slots__ = '_lock', '_size', '_sum', '_quartiles', '_count', '_width' |
searx.metrics.models.VoidHistogram.observe | ( | self, | |
value ) |
Reimplemented from searx.metrics.models.Histogram.
Definition at line 160 of file models.py.