(self, resource_type, uri, tags)
Collect status metrics of a specific resource
Collect status metrics of a specific resource
Collect status metrics of a specific resource
def _collect_resource_status_metrics(self, resource_type, uri, tags):
        # type: (str, str, List[str]) -> None
        """Collect status metrics of a specific resource"""
        data = self.api.http_get(uri, {'view': 'status'})
        metrics = parse_per_resource_status_metrics(resource_type, data, tags)
        self.submit_metrics(metrics)
def _collect_resource_status_metrics ( self , resource_type , uri , tags ) : # type: (str, str, List[str]) -> None data = self . api . http_get ( uri , { 'view' : 'status' } ) metrics = parse_per_resource_status_metrics ( resource_type , data , tags ) self . submit_metrics ( metrics )