(self, instance)
Gather metrics about connections states and interfaces counters
        using psutil facilities
Gather metrics about connections states and interfaces counters
        using psutil facilities
Gather metrics about connections states and interfaces counters using psutil facilities
def _check_psutil(self, instance):
        """
        Gather metrics about connections states and interfaces counters
        using psutil facilities
        """
        custom_tags = instance.get('tags', [])
        if self._collect_cx_state:
            self._cx_state_psutil(tags=custom_tags)

        self._cx_counters_psutil(tags=custom_tags)
def _check_psutil ( self , instance ) : custom_tags = instance . get ( 'tags' , [ ] ) if self . _collect_cx_state : self . _cx_state_psutil ( tags = custom_tags ) self . _cx_counters_psutil ( tags = custom_tags )