Represents the value of a HIST_RATE (a.k.a.
Histogram) metric.
Usage example:
Normally obtained from MetricsSnapshot
Definition at line 42 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 56 of file metrics.py.
| float pytest_userver.metrics.Histogram.percentile | ( | self, | |
| float | percent ) |
Definition at line 59 of file metrics.py.
|
static |
Definition at line 52 of file metrics.py.
|
static |
Definition at line 53 of file metrics.py.
|
static |
Definition at line 73 of file metrics.py.