Represents the value of a HIST_RATE (a.k.a.
Histogram) metric.
Usage example:
Normally obtained from MetricsSnapshot
Definition at line 40 of file metrics.py.
Public Member Functions | |
| int | count (self) |
| float | percentile (self, float percent) |
Static Public Attributes | |
| list | bounds [float] |
| list | buckets [int] |
| TypeAlias | MetricValue = float | Histogram |
| int pytest_userver.metrics.Histogram.count | ( | self | ) |
Definition at line 54 of file metrics.py.
| float pytest_userver.metrics.Histogram.percentile | ( | self, | |
| float | percent ) |
Definition at line 57 of file metrics.py.
|
static |
Definition at line 50 of file metrics.py.
|
static |
Definition at line 51 of file metrics.py.
|
static |
Definition at line 71 of file metrics.py.