Metric type that contains the labels: typing.Dict[str, str]
and value: int
.
The type is hashable and comparable:
Definition at line 70 of file metrics.py.
Public Member Functions | |
bool | __eq__ (self, typing.Any other) |
int | __hash__ (self) |
Public Attributes | |
labels | |
value | |
Static Public Attributes | |
typing | labels .Dict[str, str] |
MetricValue | value |
Protected Attributes | |
_type | |
bool pytest_userver.metrics.Metric.__eq__ | ( | self, | |
typing.Any | other ) |
Definition at line 89 of file metrics.py.
int pytest_userver.metrics.Metric.__hash__ | ( | self | ) |
Definition at line 98 of file metrics.py.
|
protected |
Definition at line 95 of file metrics.py.
|
static |
Definition at line 81 of file metrics.py.
pytest_userver.metrics.Metric.labels |
Definition at line 93 of file metrics.py.
|
static |
Definition at line 82 of file metrics.py.
pytest_userver.metrics.Metric.value |
Definition at line 94 of file metrics.py.