(self)
| 78 | raise ValueError('%s metric is missing label values' % str(self._type)) |
| 79 | |
| 80 | def _is_parent(self): |
| 81 | return self._labelnames and not self._labelvalues |
| 82 | |
| 83 | def _get_metric(self): |
| 84 | return Metric(self._name, self._documentation, self._type, self._unit) |