code: func (d *AutopilotDelegate) NotifyHealth(health autopilot.OperatorHealthReply) {
  	if d.server.raft.State() == raft.Leader {
  		metrics.SetGauge([]string{"autopilot", "failure_tolerance"}, float32(health.FailureTolerance))
  		if health.Healthy {
  			metrics.SetGauge([]string{"autopilot", "healthy"}, 1)
  		} else {
  			metrics.SetGauge([]string{"autopilot", "healthy"}, 0)
  		}
  	}
  }
docs: // Heartbeat a metric for monitoring if we're the leader