(self, metric, scraper_config)
Number of bytes that are consumed by the container on this filesystem.
Number of bytes that are consumed by the container on this filesystem.
Number of bytes that are consumed by the container on this filesystem .
def container_fs_usage_bytes(self, metric, scraper_config):
        """
        Number of bytes that are consumed by the container on this filesystem.
        """
        metric_name = scraper_config['namespace'] + '.filesystem.usage'
        if metric.type not in METRIC_TYPES:
            self.log.error("Metric type %s unsupported for metric %s", metric.type, metric.name)
            return
        labels = ['device']
        self._process_usage_metric(metric_name, metric, self.fs_usage_bytes, scraper_config, labels=labels)
def container_fs_usage_bytes ( self , metric , scraper_config ) : metric_name = scraper_config [ 'namespace' ] + '.filesystem.usage' if metric . type not in METRIC_TYPES : self . log . error ( "Metric type %s unsupported for metric %s" , metric . type , metric . name ) return labels = [ 'device' ] self . _process_usage_metric ( metric_name , metric , self . fs_usage_bytes , scraper_config , labels = labels )