(self)
Collect Summary Status Resource Metrics.

        Only necessary for forest resource metrics. Other resources metrics are already collected via
        `collect_summary_status_base_metrics`.
Collect Summary Status Resource Metrics.
Collect Summary Status Resource Metrics .
def collect_summary_status_resource_metrics(self):
        # type: () -> None
        """
        Collect Summary Status Resource Metrics.

        Only necessary for forest resource metrics. Other resources metrics are already collected via
        `collect_summary_status_base_metrics`.
        """
        for resource_type in ['forest']:
            res_meta = RESOURCE_TYPES[resource_type]
            data = self.api.get_status_data(res_meta['plural'])
            metrics = parse_summary_status_resource_metrics(resource_type, data, self._config.tags)
            self.submit_metrics(metrics)
def collect_summary_status_resource_metrics ( self ) : # type: () -> None for resource_type in [ 'forest' ] : res_meta = RESOURCE_TYPES [ resource_type ] data = self . api . get_status_data ( res_meta [ 'plural' ] ) metrics = parse_summary_status_resource_metrics ( resource_type , data , self . _config . tags ) self . submit_metrics ( metrics )