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) |
Public Attributes | |
buckets | |
Static Public Attributes | |
typing | bounds .List[float] |
typing | buckets .List[int] |
int | inf |
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.
pytest_userver.metrics.Histogram.buckets |
Definition at line 50 of file metrics.py.
|
static |
Definition at line 47 of file metrics.py.