Represents the value of a HIST_RATE (a.k.a.
Histogram) metric.
Usage example:
Normally obtained from MetricsSnapshot
Definition at line 35 of file metrics.py.
Public Member Functions | |
int | count (self) |
float | percentile (self, float percent) |
Static Public Attributes | |
typing | bounds .List[float] |
typing | buckets .List[int] |
int pytest_userver.metrics.Histogram.count | ( | self | ) |
Definition at line 49 of file metrics.py.
float pytest_userver.metrics.Histogram.percentile | ( | self, | |
float | percent ) |
Definition at line 52 of file metrics.py.
|
static |
Definition at line 45 of file metrics.py.
|
static |
Definition at line 46 of file metrics.py.