(self)
| 87 | return [self._get_metric()] |
| 88 | |
| 89 | def collect(self) -> Iterable[Metric]: |
| 90 | metric = self._get_metric() |
| 91 | for suffix, labels, value, timestamp, exemplar, native_histogram_value in self._samples(): |
| 92 | metric.add_sample(self._name + suffix, labels, value, timestamp, exemplar, native_histogram_value) |
| 93 | return [metric] |
| 94 | |
| 95 | def __str__(self) -> str: |
| 96 | return f"{self._type}:{self._name}" |
nothing calls this directly
no test coverage detected