yandextank/plugins/Telegraf/collector.py
def send_collected_data(self):
        """sends pending data set to listeners"""
        data = self.__collected_data
        self.__collected_data = []
        for listener in self.listeners:
            # deep copy to ensure each listener gets it's own copy
            listener.monitoring_data(copy.deepcopy(data))
def send_collected_data(self):
        """sends pending data set to listeners"""
        data = self.__collected_data
        self.__collected_data = []
        for listener in self.listeners:
            # deep copy to ensure each listener gets it's own copy
            listener.monitoring_data(copy.deepcopy(data))
sends pending data set to listeners