code: func (p *Plugin) publishAllData() {
  	p.access.Lock()
  	defer p.access.Unlock()
  
  	p.publishAgentData()
  	for name, s := range p.pluginStat {
  		p.publishPluginData(infra.PluginName(name), s)
  	}
  }
docs: // publishAllData publishes global agent + all plugins state data into ETCD.