code: def _report_state(self):
          
          LOG.debug("Report state task started")
          self.keepalive_iteration += 1
          if self.keepalive_iteration == self.report_iteration:
              self._prepare_full_report_data()
              self.keepalive_iteration = 0
              LOG.debug("State report: %s", pprint.pformat(self.agent_state))
          else:
              self.agent_state.pop('configurations', None)
              self.agent_state['local_time'] = datetime.now().strftime(
                  ISO8601_TIME_FORMAT)
              LOG.debug("State report: %s", self.agent_state)
          self.send_agent_report(self.agent_state, self.context)
docs: Report state to the plugin.
  
          This task run every `keepalive_interval` period.
          Collects, creates and sends a summary of the services currently
          managed by this agent. Data is collected from the service helper(s).
          Refer the `configurations` dict for the parameters reported.
          :return: None