(self, name)
return [
            MetricStub(
                ensure_unicode(stub.name),
                stub.type,
                stub.value,
                normalize_tags(stub.tags),
                ensure_unicode(stub.hostname),
                stub.device,
                stub.flush_first_value,
            )
            for stub in self._metrics.get(to_native_string(name), [])
        ]
Return the metrics received under the given name
Return the metrics received under the given name
Return the metrics received under the given name
def metrics(self, name):
        """
        Return the metrics received under the given name
        """
        return [
            MetricStub(
                ensure_unicode(stub.name),
                stub.type,
                stub.value,
                normalize_tags(stub.tags),
                ensure_unicode(stub.hostname),
                stub.device,
                stub.flush_first_value,
            )
            for stub in self._metrics.get(to_native_string(name), [])
        ]
def metrics ( self , name ) : return [ MetricStub ( ensure_unicode ( stub . name ) , stub . type , stub . value , normalize_tags ( stub . tags ) , ensure_unicode ( stub . hostname ) , stub . device , stub . flush_first_value , ) for stub in self . _metrics . get ( to_native_string ( name ) , [ ] ) ]