code: func (p *Plugin) statusCheckProbe() (statuscheck.PluginState, error) {
  	if p.connection == nil {
  		p.connected = false
  		return statuscheck.Error, fmt.Errorf("no ETCD connection available")
  	}
  	if _, _, _, err := p.connection.GetValue(healthCheckProbeKey); err != nil {
  		p.lastConnErr = err
  		p.connected = false
  		return statuscheck.Error, err
  	}
  	if p.config.ReconnectResync && p.lastConnErr != nil {
  		if p.Resync != nil {
  			p.Resync.DoResync()
  			p.lastConnErr = nil
  		} else {
  			p.Log.Warn("Expected resync after ETCD reconnect could not start beacuse of missing Resync plugin")
  		}
  	}
  	p.connected = true
  	return statuscheck.OK, nil
  }
docs: // ETCD status check probe function